Quantcast
Channel: SharePoint 2013 - Setup, Upgrade, Administration and Operations forum
Viewing all 21070 articles
Browse latest View live

Excel Services in SharePoint By Default collapse the slicer pane and pivot field pane

$
0
0

On Load of the Excel Services in SharePoint, Collapse both side panes by default. Ie the slicer pane on the left and pivotfields on the right so that it gives more room for the graph.

Is there a way to achieve it?

On loading the excel services, it should look like below.

Please guide. Thanks in advance



Adding AD Group users to SharePoint groups Using PowerShell

$
0
0

Hi All,

We have a requirement to add Active Directory users from a security group to an SP group

Eg. AD Security Group 'ABC' to SP group called 'SP ABC' using powershell

To achieve this, I'm importing the AD module to the SP Management Shell and executing the below mentioned script. 

function main()
{

    Write-host "Adding SharePoint Snapin"
    $Host.Runspace.ThreadOptions = "ReuseThread"
    Add-PSSnapin microsoft.sharepoint.powershell -ErrorAction SilentlyContinue
    Write-host "Importing AD module"
    import-module activedirectory

    write-host "Starting work..."
    #Hard coded variables for testing,
    # we need the name of the AD Group, the name of the corresponding group in Sharepoint to sync with, and the URL of the SPWeb where the SP group resides.
    $ADgroupname = "The AD Group"
    $SPGroupName = "The SP Group"
    $spweburl = "http://sharepoint2013/sites/sitecollectionname/subsitename"
    #note that it's reasonably easy to turn this hardcoded list into a CSV import and then loop through multiple groups

    #get a list of the AD Users in the AD Group
    #$ADGroupMembers = get-adgroupmember -Identity $ADgroupname | select @{name="LoginName";expression={$_.samaccountname}}
    $ADGroupMembers = get-adgroupmember -Identity $ADgroupname | select @{name="LoginName";expression={$(getDomain($_.distinguishedName)) + "\" +  $_.samaccountname.toupper()}}
    if ($ADGroupMembers -eq $null)
    {
        write-host "The AD Group we're syncing with is empty - this is usually a problem or typo - the SP group will be left alone" -foregroundcolor red
        exit
    }


    #get the list of users in the SharePoint Group
    $web = get-spweb $spweburl
    $group = $web.groups[$SPGroupName]
    if ($group -eq $null) {write-host "SPGroup Not found" ; exit }
    $spusers = $group.users | select @{name="LoginName";expression={$_.LoginName.toupper()}}

    write-host "Debug: at this point we should have a list of user ID's from SharePoint in domain\user format, uppercase"
    foreach($x in $spusers)
    {
        write-host $x.LoginName -foregroundcolor green
    }

    if($spusers -eq $null)
    {
      write-host "The SPgroup is empty" -foregroundcolor cyan
      write-host "Adding all AD group members to the SP group"
      foreach ($ADGroupMember in $ADGroupMembers)
      {
            #add the AD group member to the SP group
            write-host "Adding $($ADGroupMember.LoginName)"
            write-host "new-spuser -useralias $($ADGroupMember.LoginName) -web $($web.url) -group $SPGroupName" -foregroundcolor green
            new-spuser -useralias $ADGroupMember.LoginName -web $web.url -group $SPGroupName
           # $web.site.rooteweb.ensureUser($ADGroupMember.loginname)
            set-SPuser -identity $ADGroupMember.LoginName -web $web.url -group $spgroupname

      }
      write-host "Done adding users - script will now exit" -foregroundcolor magenta
      exit
I get an error when I execute the script (refer to the attached image)

We are on SharePoint 2013 using claim based authentication. I tried Set-SPUser -Identity "i:0#.w|domain\username" -Web http://example.com with no success

Can anyone tell me why new-spuser cmdlet is unable to find the user

Same with the Set-SPUser command aswell. 

Please Help

Cheers,

D



Migrate custom code from SharePoint 2010 to SharePoint 2013

$
0
0
Hello All,

I want to migrate custom code from SharePoint 2010  for SharePoint 2013 .

I have updated/rebuild the code to make it point to the new 15 hive folder and SharePoint 2013 assemblies. 

The web application has been successfully migrated to 2013 using attach-detach method.

Once the updated WSP is added and deployed in the 2013 environment using PowerShell, do I need to explicitly activate/deactivate all features so that they refer to 15 hive instead on 14?

Any pointer or suggestions would be really appreciated.

Many thanks,

Ameya

How to specify SharePoint services

$
0
0

Hi, there.

Does anyone know how to specify what SharePoint services are used in the farm by using Power Shell or something?

For example, these SharePoint services are used in the farm below.

  • SPAdminV4
  • SPTimerV4
  • SPTraceV4
  • SPUserCodeV4
  • SPWriterV4
  • W3SVC
  • OSearch15

How do I specify whether they are used in the farm by using Power Shell or something?

I really appreciate your help.

Thank you.

Why has Microsoft removed 'Sign in as Different User ' from SahrePoint 2013

$
0
0

I would like to build a case for not relying exclusively on this feature (which can still be enabled and used in 2013) to test SharePoint 2013 solutions.

There is next to no information on the web as to why this feature was removed other than an unsubstantiated reference to 'security issues' and one blogger saying that opening a Word document might be problematic. All this is fine but I would like to know if there are any other reasons to avoid doing this. If I am logged into my computer with one set of credentials and opening my browser as another user and running tests it seems like that alone could be problematic. Are there areas in SharePoint that don't act as expected when testing in this way?


Love them all...regardless. - Buddha

SharePoint 2013 January 2016 Cumulative Update vs MS16-004 Security update

$
0
0

Hello all,

Our patching team recently installed security update MS-16-004 for SharePoint Foundation 2013 on a couple of our SharePoint farms. https://support.microsoft.com/en-us/kb/3114503

I checked SharePoint Central Administration and the configuration database version shows 15.0.4787.1000.

When I look up this version number on the Internet, for example https://support.microsoft.com/en-us/kb/3114497 or http://www.toddklindt.com/blog/Regressions/sp2013Jan2016cu.aspx, it is described as the January 2016 Cumulative Update for SharePoint 2013. However, we have not installed the CU, just the security update MS-16-004.

I understand the security update is included in the CU. However, this is confusing because I don't know how to confirm if a SharePoint 2013 farm has been updated with the January 2016 CU, or just the security patch.

What is the best way to tell the difference? We need to be able to tell if a farm already has the January CU installed for future patching schedules.

Thank you for your help!

Regards,

Kevin Worthington


Hide or eliminate the Table of Contents that shows at the top of every RSS feed in SP2013

$
0
0

For every library and list, when we open the RSS feeds we see a Table of Contents above the list of articles. For a long list, this means a long Table of Contents. 

How can we hide or eliminate this extra, unwanted distraction? Preferably globally.

IE9

Ramifications of modifying the Item content type

$
0
0

I am looking for feedback or ramifications about modifying the Item content type with 1 or more columns that would be applied to every library and list via a content type syndication hub.

Are there any gotchas or issues that people have found when trying this?

I normally don't like modifying even the Document CT, but in this case modifying the parent Item CT would seem to be the easiest way to make a global change that applies to all libraries and lists.

Thanks. David


PowerShell - Is there a PowerShell script/command - that can bring back Browse button in Person Field in SharePoint 2013? Lists created via SPD have this.

$
0
0

Hi there

For SP 2013 - Is there a PowerShell script/command - that can bring back Browse button in Person Field in SharePoint 2013?
Lists created via SharePoint Designer have Browse button (book icon) next to the person field.

Thanks.

Chrome downloads library document instead of activating Checkin/out

$
0
0

I'm working on building a SH2013 site where it is crucial that documents get checked in/out when a user clicks on the document link. The documents in question are in a document set.

In Chrome, only, clicking on the word document link initiates a download to the computer instead of the edit/ check in/out popup box. The library documents work fine in IE and Firefox but the client heavily uses Chrome. Any suggestions on how to fix Chrome or force it to checkin/out? Is there a Chrome browser setting that can manage this?

Integration of TFS 2015.Update 1 and Sharepoint 2013 - Receiving TF244069 - Status 503: Service Unavailable

$
0
0

Good afternoon,

When attempting to register my PWA instance, using the following command:

.\tfsadmin projectserver /RegisterPWA /pwa:http://testpwa/PWA /tfs:http://testtfs:8080/tfs

I receive the following error:

Registering PWA http://testconnectxo/PWA

..........................................
TF244069: An error occurred while checking the provisioning status of the reporting database schema for a PWA instance.
Project Server returned the following error: "Server was unable to process request. ---> The request failed with HTTP st
atus 503: Service Unavailable.".

Unfortunately, I'm not the SP admin, but I need a direction to point him in.

Thanks in advance for your help

Application server role web server (iis) role configuration error

$
0
0

Hello friends.

I ask your help in this error:

Application server role Web Server (iis) role configuration error

I'm trying to make the SharePoint 2013 installation more get in the installation of prerequisites.

Follow the procedure outlined by Microsoft at this location:

https://support.microsoft.com/en-us/kb/2765260

Online option is right

Offline option is right.

Screen error remains displayed

Any help is welcome.

Thank you.


Obrigado por contactar o fórum Microsoft Technet!

Sharepoint Credential Query

$
0
0

Hi,

We've recently setup Sharepoint 2013 Foundations for a client of ours, and the Sharepoint side of things is running great.

What I do have is an issue where when we map drives from Sharepoint to the User instances (users log on to one of three remote servers) that they get constantly prompted for a username and password when accessing the drive.

No error comes up, and the credentials are managed from the same Active Directory that the rest of their access comes from

The closest thing to being a cause I can locate, is that the credential manger only ever stores their credentials with Persistence: Logon Session

Is there a setting I can change to make this go to Enterprise that anyone has encountered? Google has thus far come up short for me

Many thanks

SharePoint Visitor permissions do not allow search results population

$
0
0

Good Morning,

I've run into a peculiar issue with a SharePoint Web Application I am putting together for our organization.  In this web application, there is a subsite for each department, and each subsite possesses unique permissions.  This allows me to permit members of that department contribution rights to their site, while the rest of the organization has read-only access. 

For example:

Technology Subsite    Technology Owners – Domain\Admin    Technology Members – IT Department Group    Technology Visitors – Domain\Domain Users

What is interesting is that visitors are unable to search the web parts – when they attempt to do so, they get a 0 results message. So if a document titled “Test” is put into a Document web part, and keywords: Ninja, Panda, Sanitizer are added to it, whether a visitor searches by title or keyword it yields zero results even when they can see the file under the web part without searching.

Unless…

I figured this might be a permissions issue, so I added a user account to Technology Members and to see if they could search, and they could. What I found peculiar is that even after I removed that account from the Members group, defaulting them back to the ‘visitor’ group, they could still pull up results in the search. But if I took an account that hadn’t been added to Technology Members and ran a search, they’d pull up 0 results. Weird, right?   Alas, it is SharePoint. 

So it seems that giving someone contribution rights to the site, then having them log into the subsite, before removing their contribution rights, allows them to continue to search without being able to modify anything. Obviously, I don’t want every user in the organization to have contribution access to every subsite. People around here can be rather trigger happy when it comes to modifying or deleting stuff they shouldn’t. But I do need the entire organization to be able to search each other’s subsites. 

Any ideas or suggestions?  Thanks!

 

 

Upgrade fom Sharepoint 2013 Trial on Azure IaaS for production farm

$
0
0
Hello,

I am about to deploy a production SharePoint 2013 farm in Azure in IaaS model. I would like to evaluate the possibility of using the SharePoint 2013 trial template from Azure Gallery and confirm that I can start with the trial and then apply a definitive SharePoint license.

My questions:
 1. Can I upgrade the SharePoint 2013 trial license to a definitive during the 180 day trial period? Some articles that make my believe this is possible: 
 - https://social.technet.microsoft.com/Forums/office/en-US/5332df25-72e9-4dab-9e5f-c12eb4e8f8cf/sharepoint-2013-trial-on-azure?forum=sharepointadmin
 - http://blogs.technet.com/b/wbaer/archive/2013/09/18/sharepoint-server-2013-enterprise-edition-trial-windows-azure-image-updated.aspx
 2. If yes:
 a) Can the upgrade be made to any SharePoint Server license (Standard or Enterprise)? From what I read in the Internet, this distinction doesn't exist any more since SharePoint 2013 and the only distiction that exists is between SharePoint Foundation and SharePoint Server. What makes the distinction in what users are able to see is the CALs that can be Standard or Enterprise. So my question is, can I upgrade my trial SharePoint deployment to any valid definitive SharePoint Server license?
 b) Despite not being an Azure scenario, what makes me a little bit confusing is an article I read at http://blog.christian-heindel.de/2013/03/28/sharepoint-2013-180-day-trial-is-only-available-as-enterprise-edition-and-cannot-be-converted-to-standard-license/ that says that SharePoint 2013 Trial virtual machine image in the Azure gallery is an Entprise license with a 180 days expiration date and that if a customer has a Standard license, the trial license cannot be applied since it would mean a downgrade which is not possible.
 3. If no, I believe the only way is to use a Windows 2012 R2 based VM from Azure gallery and install SharePoint my self. Can you confirm?
 4. Is there a distiction between Standard and Entprise licenses at the server level in a SharePoint 2013 installation? If yes, what license is in the SharePoint 2013 Trial virtual machine image in the Azure gallery?
 As I said, I believe this distinction doesn't exist and what you have is SharePoint Foundation or Server license and Standard and Enterprise CALs

I have a few questions but my main goal is to be absolutely certain that I can start with a SharePoint 2013 Trial virtual machine image from the Azure gallery and then apply a definitive SharePoint license.

Thanks,
Miguel Isidoro

SharePoint Alerts and SMTP

$
0
0
Hello,
We have noticed that we are able to subscribe to alerts and receive the confirmation email, however when something changes on the list/library no additional email is sent.  I am looking into making sure both my front end servers can send SMTP and this is where I get fuzzy.  My FE01 server has SMTP installed and emails are sending just fine (alert signup and workflow).  However, FE02 does not have SMTP enabled and part of me is thinking, it does not need to be enabled because it should just be using FE01 SMTP server.  Is this correct or am I missing something?  Thank you in advance!

After upgrade OneNote folders cannot sync, show error code: 0xE402005F

$
0
0

I've found many threads discussing OneNote Sync errors, though none of them so far have addressed this error code or specific behavior related to a Sharepoint upgrade.  There also doesn't seem to be a fix discussed for this particular problem.

After upgrading from Sharepoint 2010 to 2013, all upgraded OneNote folders fail to sync with the following error message:

"We're sorry, something went wrong during sync. We'll try again later. (Error code: 0xE402005F)"

Very inspecific error, very little information on how to investigate the problem.  And no references to this error code can be found.

After the upgrade our URLs are the same, so the notebook path information should be intact.  These were mostly folders created by OneNote 2010.  I've used the suggestion to run "onenote.exe /safemode" and reset cache files and settings to no effect.  Right now my only solution is to access the folders from our old farm, export the contents and then import each page into a newly created notebook.  But, this is just a workaround and not a solution.

Does anyone have advice on what to try next?

Thanks

OneNote can't display some of your notebooks. Please try viewing them on OneDrive for Business.

$
0
0

I think this problem is due to a deleted notebook on Onedrive which is not being updated at the initial page for opening Onenote notebooks.

Since I can not locate the notebook in question on Onedrive, how do I remove it from this list?

Please see attached. The one highlighted in yellow is the one that gives error 404 not found when clicked on and has been deleted from Onedrive.

Content Type hub column change not reflecting to List/Library Level

$
0
0

Hi,

We are using Content type hub for provisioning of content types to sites. for that we already deployed one content type with one calculated column formula.

now we are just having minor change in formula(we are just changing sequence you can say). please note we are not changing any existing site columns.

After this change we are republishing content type and changes reflecting upto site collection level "Site Content Types". but when we check List/Library level that column is not getting update.

We checked below article and it seems it is kind of by design

https://social.technet.microsoft.com/Forums/en-US/7bfc6f89-84e0-4b6b-b0ac-710f6521f1aa/republished-content-type-updates-at-site-level-but-not-document-library?forum=sharepointgeneralprevious

https://social.msdn.microsoft.com/Forums/office/en-US/b865e6a0-39d8-4aae-9df6-f07ff9d1d96c/content-type-changes-are-not-reflected-in-subscribing-document-libraries?forum=sharepointgeneralprevious

@Microsoft support : can you please confirm is there any issue or it is by design?

Thanks in advance,

Br, KS

Workflow to count & send alert when criteria is met

$
0
0

Hello All,

I've had a request for a workflow to be set up that sends an alert when X hits a certain amount within the library (X coming from a separate lookup). e.g - If there are 4 or more apples, send me and any others an alert....If there are 4 or more oranges, send me and any others an alert. 

So, going back to my question - How can I tell the workflow "when 4 or more apples/oranges/etc are NOW within a list, send an alert/email to these users to make them aware"?! I'm struggling mainly on how to do the count...any suggestions or workarounds would be great 

Thanks in advance

Viewing all 21070 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>