Friday, April 24, 2015

USER PHOTOS ARE NOT IMPORTED FROM ACTIVE DIRECTORY

I have configured the User Profile Service Application to import user photographs from Active Directory (we already have these displayed in Outlook and Lync).  However, even though I have configured the Picture property to map to the thumbnailPhoto attribute and run a full synchronization the pictures still do not appear.
The answer to this problem is the Update-SPProfilePhotoStore cmdlet:
Update-SPProfilePhotoStore -CreateThumbnailsForImportedPhotos 1 -MySiteHostLocation http://mysite.mydomain.local
Update-SPProfilePhotoStore
Also, if you are importing pictures from a different domain then you will likely need to set the CrossDomainPhotosEnabled property of the web application to true:
$wa = Get-SPWebApplication http://intranet.mydomain.local
$wa
.CrossDomainPhotosEnabled = $true$wa.Update()

No comments:

Post a Comment