3

I recently had an incident where the email details of a SharePoint user were changed in Active Directory. These changes were not transferred into SharePoint and I had a problem in one of my web parts which uses the SPUser object to get the users email address.

Is there a way to configure SharePoint 2013 to synchronize such data automatically?

1 Answer 1

3

You can check job definitions.

Central Administration --> Monitoring --> Review Job Definitions

enter image description here

Also you can start synchronization manually

Central Administration --> Application Management --> Manage Service Application --> User Profile Service Application

enter image description here

If still not succeeded, you can use following PowerShell script for this specific user. I use these script usually when users did not synchronized.

#Get web
$web=Get-SPWeb "http://www.mspportaladdress.com" 
#Synch
$web|Set-SPUser -identity "i:0#.w|mydomain\user.name" -SyncFromAD
#Check user
$web | Get-SPUser -Limit All | Where-Object {$_.UserLogin -like '*user.name*'} | select UserLogin,DisplayName
#If still no success, create new user with same username and then synch
$web | New-SPUser -UserAlias "i:0#.w|mydomain\user.name"
$web|Set-SPUser -identity "i:0#.w|mydomain\user.name" -SyncFromAD
0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.