Month: April 2013

Unable to Post Photo to Microsoft Online Office 365 Portal (MOP)

Posted on

As an Office 365 Online Administrator (2010 Services), you may have found that users who are being synchronized into your Online Tenant via Directory Synchronization, are not able to upload a photo of themselves.

Note that when useres are being synchronized, the majority of attributes and settings are “mastered” in the On-Premises Active Directory.  This photo attribute is called thumbNailPhoto within Active Directory and when synchronizing users into Office 365 would need to populate the user’s on-premises Active Directory, so this can then be synchronized into your Online Tenant.


Example PowerShell thumbNailPhoto Upload

$photo = [byte[]](Get-Content C:\temp\photo.jpg -Encoding byte)
Set-ADUser Alias -Replace @{thumbnailPhoto=$photo}