Tuesday, 7 August 2012

Importing Thumbnail Photo from Active Directory into Sharepoint 2010

We had been trying to figure out why the thumbnail photos we have in Active Directory are not imported to our Sharepoint 2010. Now I want to show the steps we took to solve the issue.

1. Make sure that the Picture property is mapped to Thumbnail 
   Photo.

  • Click on Manage Service Application on Sharepoint Central Administration
  • Click on User Profile Service then choose Manage User Properties


2. Do an incremental update.
  • Under User Profile Service choose Configure Synchronization Timer Job
  • Click on Run Now
3. Check if the photo has been synchronized. If it hasn't,  
   continue the next steps.

4. When the photos has not been populated, the next step is to  
   check if the import was successful using MIISCLIENT.EXE. This  
   tool is located on C:\Program Files\Microsoft Office Servers  
   \14.0\Synchronization Service\UIShell. 


    As we can see, the photo was imported successfully.

5. The next step is to do is to run this following command in 
   Sharepoint Management Shell
   
   Update-SPProfilePhotoStore -CreateThumbnailsForImportedPhotos  
   1 -MySiteHostLocation http://mysite

   Remember to run this with an authorized account. We ran this  
   with the farm account. If you run the command with 
   unauthorized account, you will get an error like below.



No comments:

Post a Comment