Search This Blog

Friday, 31 May 2013

Sync SP2010 User Profile Photos with Active Directory

Hi,

Steps to Sync User Profile Photo's in SharePoint 2010:

Download and install Exclaimer Outlook Photo's in your Domain Controller http://www.exclaimer.com/outlook-photos/

Log onto your Central admin -> Service Applications -> User Profile Service App -> Manage User Properties.


Edit the Picture Property:
You can set it so that users cant change the property but the important part here is at the bottom,.
Choose your connection, select the Thumbnaillogo in the Attribute and direction must be Import.(Not Blank as in screenshot)

After this run a full User Profile Sync under Start Profile Sync.
This might take a while to run after which you need to open SharePoint PowerShell in admin mode and run the following script.

Update-SPProfilePhotoStore -CreateThumbnailsForImportedPhotos 1 -MySiteHostLocation http://YourMySiteHost

If you get this error:
Update-SPProfilePhotoStore : Object reference not set to an instance of an object.
Go to Service Applications, Select the User Profile Service Application and click on permission. The user you are using needs full rights

This should be it!

No comments:

Post a Comment