Exchange Online: User Picture Download
Exchange Online: User Picture Download
Requirement
Need to check the user Picture in Exchange Online
Question
Where is your Active Directory accounts are?
On Premises
Why don't you do it using Get-ADUser command?
Issue
We can see the picture in Active Directory but not in Outlook.
Catch
How frequent your FIM sync runs?
We do every Week FULL SYNC for new attributes.
But we need to test for 1 user to confirm the new pictures are SYNC'd in CLOUD exchange which appears in OWA (Outlook Web Access)
Solution
help Get-UserPhoto -Detailed
Code
$data = Get-UserPhoto -Identity UserID
$data.PictureData | Set-Content C:\Temp\UserID.jpg -Encoding Byte
Enjoy PowerShell :)