Share via


SharePoint 2010: Unable to export My Site profile picture in AD

 

SharePoint 2010 , Version :14.0.6117.5002 ,SQL 2008 R2

We were unable to export the SharePoint My Site profile picture to Active directory.

We were seeing "Completed export error" in the MIISclient.

This usually happens when we use the different path to upload picture like: https://mysite/my/customPicLIb not the default SharePoint location https://mysite/my/USER%PHOTOS.

Hence we were not seeing any picture in the https://mysite/my/USER%PHOTOS location.

We were seeing below error when we have executed the following command.

Update-SPProfilePhotoStore -MySiteHostLocation https://mysite/my

____________________________________________________

Update-SPProfilePhotoStore : Error processing the photo URL https://mysite/my/customPicLIb/userAlias.jpg for user Domain\user

6493: The file https://mysite/my/customPicLIb/userAlias.jpg does not exist.

At line:1 char:27

+ Update-SPProfilePhotoStore <<<< -MySiteHostLocation "https://mysite/my

+ CategoryInfo : WriteError: (:) [Update-SPProfilePhotoStore], Fi

leNotFoundException

+ FullyQualifiedErrorId : Microsoft.Office.Server.UserProfiles.PowerShell.

SPCmdletUserProfilePhotoStore

__________________________________________________

We have to remove the pictures from the user profiles for the users who have "X" mark in the MySite.

And After that we have to execute the "Update-SPProfilePhotoStore" command.

Update-SPProfilePhotoStore -MySiteHostLocation https://mysite/my/

all the users profile pictures should get imported in the https://mysite/my/USER%PHOTOS location.

We will see the user photo pictures in 3 different size.

Run the full profile import after that and pictures got export successfully in the AD.

Disclaimer

All posts are provided "AS IS" with no warranties, and confers no rights.

Comments

  • Anonymous
    January 01, 2003
    Can the My Site profile pictures be exported as CSV file or any other type of output?