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

Update Emailaddress of an AD group inside SharePoint - Set-SPUser : Cannot get the full name or e-mail address of user

$
0
0

Hi,

I have a SharePoint 2013 environment and I use AD security groups to assign tasks to groups of persons. This AD group has an email address in order to receive task notifications. 

This email address has been changed in AD. Now I want to update the internal userlist which can be found here:

http://<SiteCollectionUrl>/_catalogs/users/detail.aspx

In this list there is still the old emailaddress assigned to the AD group. I read that the Set-SPUser cmd can update information from AD. That is why I tried this:

$users = Get-SPUser -Web http://<SiteCollectionUrl>
foreach ($user in $users)
{
write-host $user
Set-SPUser -identity $user -SyncFromAD

}

It seems to work fine for users, but not for groups. The groups are those objects with the wrong email address.

I get this error message for groups:

Set-SPUser : Cannot get the full name or e-mail address of user
"c:0+.w|s-1-5-21-2600590685-3204133502-3760992323-11503".

The group has an email address in AD. 

What to do next?

Thanks

Sven


Copy a list from sharepoint 2010 farm to sharepoint 2013 farm

$
0
0

HI

How to copy a list or document library from  sharepoint 2010 farm  to sharepoint 2013 farm

in sharepoint 2010 farm it has one web application  and in sharepoint 2013 web application i want to restore this list.


adil

Videos won't play on SharePoint Server.

$
0
0

Hi, 

Even though Silverlight was downloaded and installed videos won't play on SharePoint Feeds. The screenshot shows the options given when a video is being posted. 



Any suggestions to get this feature up and running. It also doesn't work on the Office 365 SharePoint. 

Third party youtube players work but the built in one would not work. 

Thanks in advance, 

Migrating Data From SharePoint 2013 to SharePoint Online Libraries

$
0
0

Hello All,

We would like to transfer about 2TB worth of data from SharePoint 2013 library to SharePoint Online. What is the best practice of doing this? When transferring data previously from network drive to SharePoint 2013, we mapped the specific SharePoint area to Windows Explorer, and used this location as destination and used a tool like Beyond Compare.

Our main use for SharePoint is a company portal which stores all users/groups files and folders (shared folders) for retrieval based on AD permission.

Our final goal is to remove SharePoint 2013 from our infrastructure and solely rely on SharePoint Online.

Thank You All!

Errors during update : The URL ‘[url]’ is invalid. It may refer to a nonexistent file or folder, or refer to a valid file or folder that is not in the current Web

$
0
0

When I'm attaching databases of SharePoint 2010 for update, I'm getting a lot of this errors (I think for all of the files):

7:06:46.36           powershell (0x54D4)     0x15AC SharePoint Foundation Upgrade             SPSiteWssSequence2   ajy6m   INFO                SPSite Url=https://pagaadress/comm...             4b9d42d4-33ad-45ae-b080-ce147205853e

12/08/2015 17:06:46.36 powershell (0x54D4)     0x15AC SharePoint Foundation Upgrade             SPSiteWssSequence2   ajy6m                ERROR  Feature upgrade incomplete for Feature 'BasicWebParts' (Id: 15/'00bfea71-1c5e-4a24-b310-ba51c3eb7a57') in Site 'https://pagaadress/communities/geneve-bper'.Exception: L'URL « _catalogs/wp/MSScriptEditor.webpart » n'est pas valide. Elle fait peut-être référence à un fichier ou dossier inexistant. Elle se réfère peut-être également à un fichier ou dossier valide qui ne figure pas dans le site web actuel.  (Inner Exception: <nativehr>0x81020030</nativehr><nativestack></nativestack>L'URL « _catalogs/wp/MSScriptEditor.webpart » n'est pas valide. Elle fait peut-être référence à un fichier ou dossier inexistant. Elle se réfère peut-être également à un fichier ou dossier valide qui ne figure pas dans le site web actuel.)            4b9d42d4-33ad-45ae-b080-ce147205853e

In english it would be this: The URL ‘[url]’ is invalid. It may refer to a nonexistent file or folder, or refer to a valid file or folder that is not in the current Web

After this mounting, and site update (which complains also), the site looks working, but I cannot checkin nothig (I can chack out). Also I cannot create new page, or upload new document to any document library.

Any one know what could be the problem?


Can You Overwrite TermSet?

$
0
0

Hello SharePoint Fam,

I have a csv file that I was able to import 100% with 1,000 records fine with no issues and is working fine.  Once a month I will be sent a new csv file with updates that could be deletions/additions and just trying to avoid having to create a new termset each time which will break the link to lists that are pulling from this termset.  Is there a way via powershell to simply overwrite the current termset with new csv each month?

Thanks N Advance

SharePoint 2007 theme in SharePoint 2013

$
0
0

Hi,

Is there is a way to bring SharePoint 2007 theme in SharePoint 2013?

This is one of the client requirement during SharePoint migration.


Anandhan.S Remember to 'mark or propose as answer' or 'vote as helpful' as appropriate.

AutoSPInstaller stuck at creating config database - Logs attached - any help will be appreciated

$
0
0

If someone can please help me find the cause of slow performance of SP 2013 site - I attach ULS Logs + Server details + Netmon Capture + Fiddler Capture + Developer Dashboard

Script to copy documents from document libraries

$
0
0

I have a script for copying documents and their metadate from a source document library over to a destination document library. Whilst this is working correctly and the documents as well the majority of the metadata get correctly copied to the destination the problem I have is that:

  1. The modified by column shows up the SharePoint security group instead of the actual user.
  2. The checked out to column does not copy anything.

Is there anything I need to update on my script below to achieve this correctly? script snippet is shown below:

Add-PSSnapin Microsoft.SharePoint.Powershell -ea SilentlyContinue

$urlWebSrc = "https://testsite.info/sites/IT"

$listNameSrc = "Documents"

$urlWebTgt = "https://vine.info/dept/IT"

$listNameTgt = "Shared Documents"

$webSrc = Get-SPWeb $urlWebSrc
$webTgt = Get-SPWeb $urlWebTgt
$src = $webSrc.Lists[$listNameSrc]
$tgt = $webTgt.Lists[$listNameTgt]

$listItems = $src.Items

$listFolders = $src.Folders

$srcRootFolderUrl = ("{0}/{1}" -f $src.ParentWebUrl, $src)
$tgtRootFolderUrl = ("{0}/{1}" -f $tgt.ParentWebUrl, $tgt)

$spQuery = New-Object Microsoft.SharePoint.SPQuery
$spQuery.Query = "<Where><BeginsWith><FieldRef Name='ContentTypeId' /><Value Type='ContentTypeId'>0x0101</Value></BeginsWith></Where>"

$rootItems = $src.GetItems($spQuery)

foreach ($rootItem in $rootItems)
{
$relative = $rootItem.Url
$targetItem = $listItems | where { $_.Url -eq $relative }
$sBytes = $targetItem.File.OpenBinary()
$dFile = $tgt.RootFolder.Files.Add($targetItem.Name, $sBytes, $true)
$dFile.Update()
$dItem = $tgt.GetItems($spQuery) | where { $_.Name -eq $targetItem.Name }
$dItem["Modified"] = $rootItem["Modified"].ToLocalTime()
$dItem["Created"] = $rootItem["Created"].ToLocalTime()
$dItem["Author"] = $rootItem["Author"]
$dItem["Editor"] = $rootItem["Editor"]

$dItem["Committee"] = $rootItem["Committee"]
$dItem["Dept"] = $rootItem["Dept"]
$dItem["Organisation"] = $rootItem["Organisation"]
$dItem["Checked Out To"] = $rootItem["Cheked Out To"]
$dItem["Content Type"] = $rootItem["Content Type"]

$ditem.Update()
write-host "...... File Mirroring:" $dfile.Name "- Complete"
}

foreach ($folder in $listFolders)
{
$srcFolderUrl = $folder.Url
$tgtFolderUrl = $srcFolderUrl
$tgtFolderUrl = $tgtFolderUrl -replace $src, $tgt

if (!($tgt.Folders | where { $_.Url -eq $tgtFolderURL }))
{
$srcParentFolderUrl = $folder.Folder.ParentFolder.ServerRelativeUrl
$tgtParentFolderUrl = $srcParentFolderURL -replace $srcRootFolderUrl,
$tgtRootFolderUrl

$newFolder = $tgt.Additem($tgtparentFolderURL,
[Microsoft.SharePoint.SPFileSystemObjectType]::Folder, $folder.Name)
$newFolder.SystemUpdate()
write-host "Folder Creation:" $tgtFolderURL "- Complete"
}

$tgtFolder = $tgt.Folders | where { $_.Url -eq $tgtFolderURL }

if ($folder.Folder.Files.Count -gt 0)
{
$spQuery.Folder = $folder.Folder

$srcItems = $src.GetItems($spQuery)

foreach ($item in $srcItems)
{
$relative = $item.Url
$targetItem = $listItems | where { $_.Url -eq $relative }
$sBytes = $targetItem.File.OpenBinary()
$dFile = $tgtFolder.Folder.Files.Add($targetItem.Name, $sBytes, $true)
$dFile.Update()
$spQuery.Folder = $tgtFolder.Folder
$dItem = $tgt.GetItems($spQuery) | where { $_.Name -eq $targetItem.Name }
$dItem["Modified"] = $item["Modified"].ToLocalTime()
$dItem["Created"] = $item["Created"].ToLocalTime()
$dItem["Author"] = $item["Author"]
$dItem["Editor"] = $item["Editor"]

$dItem["Committee"] = $rootItem["Committee"]
$dItem["Dept"] = $rootItem["Dept"]
$dItem["Organisation"] = $rootItem["Organisation"]
$dItem["Checked Out To"] = $rootItem["Cheked Out To"]
$dItem["Content Type"] = $rootItem["Content Type"]

$dItem.Update()
write-host "...... File Mirroring:" $dfile.Name "- Complete"
}
}
}

So the bit that is not working correctly is the copying of the Modified By column where instead of copying the actual user it copies the sharepoint group where the user is in.

Also the Checked out to values are not being copied at all.

Any suggestions would be greatly welcomed.

If I upgraded without $db.Repair($true) - Does this matter? Should I fix this? How?

$
0
0

Hi Experts

I upgraded from SP 2010 to SP 2013 (two weeks ago) - but did not use this command while upgrading:

$db = Get-SPDatabase | ?{$_.Name -eq "WSS_Content_DB"}
$db.Repair($true)
$db.Update()

Does this matter?
How to fix this?

Thanks.

User has Excel installed - still cannot click open Excel file in SharePoint Document library? Download or View in browser both work fine.

$
0
0

Hi there

User has Excel installed - still cannot click open Excel file in SharePoint Document library? Download or View in browser both work fine.

Any thoughts how to fix?

Thanks a lot.

Standard CAL license enforcement not allowing creation of personal My Sites

$
0
0

We use on-premises SharePoint 2013 in our environment, and we are experiencing a problem where all users who aren't members of the "Enterprise CAL" AD group are unable to get a My Site provisioned. Our Farm license is set to "SharePoint Server with Enterprise Client Access License" in Central Administration. We are operating with user license enforcement enabled, and there are mappings to AD groups for all of the available license types (Ent, Std, Project, WAC). We have a mixed CAL environment.

Whenever a user in the Standard CAL group tries to setup their My Site, it just goes to a basic page with "About $username", an option to edit the profile, a photo in the top left, and two links on the quick launch for "About me" and "People". On this page, the Newsfeed, OneDrive, and Sites links at the very top only redirect to the same page. We are trying to force the provisioning by clicking on the "Follow" link on any site; this produces the following message: "Wait a minute - To follow documents or sites, we need to get a couple of things set up. This can take a few minutes to complete, and once it's done, you'll need to come back to this site and try following again." Clicking the "Get Started" button in response takes us to the previously described page; we never see the "We're almost ready" screen to indicate that the site is being created. The ULS log shows the the personal site instantiation fails for the affected users because these two conditions are not met:

Can Create Personal Site == False Is user licensed == False

When we change the AD membership to the Enterprise CAL group instead of the Standard CAL group, and then wait for the cached security token to expire the site does provision as expected. I know that this seems to make it obvious that it's a matter of needing to assign Enterprise CALs to the appropriate users, but after reviewing the feature/license information on Technet, it seems clear that "Personal Sites" are available to Standard CAL users for an on-premises farm. Please tell me if I'm wrong. On a side-note, does anyone know of a better resource that goes into clearer detail regarding licensed features for SharePoint CAL types? Here is the Technet site that we're currently referencing: https://technet.microsoft.com/en-us/library/jj819267.aspx?f=255&MSPPError=-2147217396#bkmk_FeaturesOnPremise

Should Standard CAL users be able to have a My Site provisioned like we are expecting? If so, does anyone have any thoughts about where the problem could be in our environment? I really appreciate any and all feedback and comments. Thank you in advance!

Sharepint 2013 Workflow is Cancelling

$
0
0

SP 2013 Workflow is Canceled State with the following error:

RequestorId: d08295d5-75f5-547a-f676-7217f1489791. Details: System.ApplicationException: HTTP 401 {"error_description":"The server was unable to process the request due to an internal error. For more information about the error, either turn on IncludeExceptionDetailInFaults (either from ServiceBehaviorAttribute or from the <serviceDebug> configuration behavior) on the server in order to send the exception information back to the client, or turn on tracing as per the Microsoft .NET Framework SDK documentation and inspect the server trace logs."} {"x-ms-diagnostics":["3001000;reason=\"There has been an error authenticating the request.\";category=\"invalid_client\""],"SPRequestGuid":["01276eb2-0161-4ec0-8754-fb70c8d54ecb"],"request-id":["01276eb2-0161-4ec0-8754-fb70c8d54ecb"],"X-FRAME-OPTIONS":["SAMEORIGIN"],"SPRequestDuration":["24"],"SPIisLatency":["0"],"Server":["Microsoft-IIS\/8.0"],"WWW-Authenticate":["Bearer realm=\"684555f0-cd9f-427f-b401-71f61c14a85a\",client_id=\"00000003-0000-0ff1-ce00-000000000000\",trusted_issuers=\"00000005-0000-0000-c000-000000000000@*,00000003-0000-0ff1-ce00-000000000000@684555f0-cd9f-427f-b401-71f61c14a85a\"","NTLM"],"X-Powered-By":["ASP.NET"],"MicrosoftSharePointTeamServices":["15.0.0.4505"],"X-Content-Type-Options":["nosniff"],"X-MS-InvokeApp":["1; RequireReadOnly"],"Date":["Thu, 02 Jan 2014 06:17:46 GMT"]} at Microsoft.Activities.Hosting.Runtime.Subroutine.SubroutineChild.Execute(CodeActivityContext context) at System.Activities.CodeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager) at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)

When i check the uls log i found the following error:

General Event ID: ajji6 - Unable to write SPDistributedCache call usage entry.

User Profiles Event ID: ae0s1 - Identity claims mapped to '0' user profiles. Claims: [nameid: '', nii: 'windows', upn: '', smtp: '', sip: ''], User Profiles:

User Profiles Event ID: ae0sr - UserProfileException caught.. Exception Microsoft.Office.Server.Security.UserProfileNoUserFoundException: 3001002;reason=The incoming identity is not mapped to any user profile account in SharePoint. Possible cause is that no user profiles are created in user profile database. Contact your administrator.    
 at Microsoft.Office.Server.Security.UserProfileIdentityClaimMapper.GetSingleUserProfileFromClaimsList(UserProfileManager upManager, IEnumerable`1 identityClaims)    
 at Microsoft.Office.Server.Security.UserProfileIdentityClaimMapper.<>c__DisplayClass2.<GetMappedIdentityClaim>b__0() is thrown.

Can't access Popularity Trends when "Manage Permissions" is turned off.

$
0
0
When trying to access "Popularity Trends" under "Site Administration" it redirects to, 

Sorry, you don't have access to this page 

And they can request access although when trying to request it gives a 403 error. 

In our environment we have "Manage Permissions" turned off at the Web Application level. If we turn this on it works, but in our environment we do NOT want that to be turned on. 

Is this by design or is there a workaround to be able to use this feature? 

Thanks


Creating item in list based on content in email?

$
0
0

Hi all,

Basically, what I'm looking to set up is the following - it seems so simple but I'm yet to find the best way to achieve it.

>An alert from an external system is sent to an email mailbox (any email we choose - could be a sharepoint list email)

>The body of that email alert contains information in a table. I.e. a username, date etc.

>(Currently) We manually create an item in a SharePoint list and copy/paste the details from the table to fields in the list.

>SharePoint then auto sends an email to the relevant username's inbox (Active Directory)

What I'm trying to do is remove the manual creation of the item - i.e. have SharePoint read the information in the table and complete a new list item based on that.

Is this possible? I've tried to search without much success.

Appreciate any thoughts!

Cheers,

Matt

Trusted domain users (Two way) not appearing in UPA - Despite selecting right Container in Sync Connection?

$
0
0

Hi there

Local domain users come up fine but - Trusted domain users (Two way) not appearing in UPA - Despite selecting right Container in Sync Connection? (Several full sync completed).

Any thoughts?

Thanks so much.

Applying CUs

$
0
0

Hello Everyone,

I am on May 2015 CU.  Can I simply install the ​November 2015 CU or December 2015 CU to get up to date?  Or do I need to install other CUs in between?

After reading this article I am assuming CUs need to be installed in a certain order and I just can jump to the lastest CU from May 2015?

https://blogs.technet.microsoft.com/stefan_gossner/2014/08/18/sharepoint-patching-demystified/

Thanks for any info...

Ian...

Change the hostname of web application beta to www on port 443

$
0
0

HI

in a sharepoint 2013 farm i created a web application on port 443 with host header 

https://beta.xyz.com 

now we are trying to launch to www instead of beta,

https://www.xyz.com

for this in sharepoint 

1 .can i create the new web application on port 443 ? or

2. how to change the hostname beta.xy.com  to  www.xyz.com 


adil

Cannot find site lookup info for request Uri, Access Denied Error

$
0
0

We have a SharePoint deployment at our university that is akin to a multi-tenant deployment in that we are using several different domains for our SharePoint sites and the SharePoint servers themselves are in an entirely different domain space. The problem that we are encountering is that when we try to login to one of our newly-provisioned site collections we get an access denied message and the logs show the following error:

"Cannot find site lookup info for request Uri "

We cannot create AAMs for every site that is created, so I am at a loss as to how to get around this.

Viewing all 21070 articles
Browse latest View live


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