Allow thumbnailPhoto to be synced more than once.
Currently, thumbnailPhoto attribute only syncs and stamps the 365 portal once. Every future time the image is changed on prem and synced, it does not display anywhere other than in Exchange online.
This attribute needs to sync properly/fully in the same way almost every other attribute does. This is the whole point of syncing, and is to ensure a singular identity across cloud and prem, and prevent the admin from managing these functions in two separate systems!
Anyone else having this issues.... For now run Powershell as per my last discussion with Microsoft.
I have written the following:
#O365 Service Account
$SecurePassword=Convertto-SecureString ’XXXXXXXXX’ -AsPlainText -Force
$MyCredentials=New-object management.automation.pscredential ('XXXXXXXX@yourdomainname.com',$SecurePassword)
#$cred = Get-Credential $MyCredentials
#Logon to O365
$365Logon = get-credential -Credential $MyCredentials
Connect-MsolService -Credential $365Logon
#Logon to Exchange Online
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $365Logon -Authentication Basic -AllowRedirection -ErrorAction SilentlyContinue
Import-PSSession $Session -AllowClobber:$true -ErrorAction SilentlyContinue
$list=GET-ADuser –filter * -properties thumbnailphoto
Foreach ($User in $list)
Write-Host 'Running Update:' + $User.UserPrincipalName
Set-UserPhoto -Identity $User.UserPrincipalName -PictureData $User.Thumbnailphoto -Confirm:$false