Saturday, 5 April 2014

SharePoint 2010: User Profiles properties not updated in People Editor and My Settings

SharePoint 2010: User Profiles properties not updated in People Editor and My Settings
Initially I have a set of users in the user profiles with only some set of Properties mapped. I have not set properties like Department, Email and Mobile number. My People Editor is showing empty values for Department, Email, Mobile Number and Title.

Now I set back the values in the user profiles as shown below
I have saved the above user profiles properties. Now when I check back in People Editor, this values are not reflected.
Resolution:
This user profiles properties are not reflected to the site collection. Each site collection has the user info list which will store the details locally in each site collection. To Sync the details two timer jobs need to be run.
1. Profile Synchronization – Default to run every hour
2. Quick Profile Synchronization- Default to run every minute
Using STSATM command we can initiate and force the timer job to run.
First run the Profile Synchronization timer job.
Ø Stsadm –o Sync –SyncTiming M:5
Now call the second timer
Ø Stsadm –o Sync -sweeptiming M:5
In some cases if the above does not update run the below stsadm command
Ø Stsadm –o sync –listdatabases <n> and
Ø Stsadm –o sync –deletedatabases<n>
-here n refers the days. While doing the Sync this database will be created. Delete databases command will delete old databases and recreate the full sync database. This delete would affect or delete your content database.

No comments:

Post a Comment