PowerShell script to sync user photos in Office 365 (Exchange to SharePoint)
TO USE:
- Extract Temp.zip to your c:\ drive
- Update the users.csv file with the email address of the photos you like to sync
- Update the script variables for you organizations URL prefix on line 5
- Run the Script
WHAT IT DOES:
- download the user's Exchange Online Photo
- create the 3 thumbnail sizes for SharePoint and upload them to the MySite Host site collection
- update the SharePoint user profile (PictureURL) with the medium thumbnail version.