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://yourmysiteappweb

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://yourappweb
$wa.CrossDomainPhotosEnabled = $true
$wa.Update()

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s