Fix Missing On-Premises Profile Photos for Microsoft 365 Users
Question details
Microsoft 365 users need to see profile photos for on-premises users in a hybrid Exchange environment.

- Product
- Microsoft 365 and hybrid Exchange
- Device & OS
- not provided
- Scenario
- Some users have migrated to Microsoft 365, while other users and their profile photos remain on premises.
- Observed behavior
- Microsoft 365 users cannot see some on-premises users' profile photos, although other photo visibility works.
Identify an affected on-premises user and confirm which directory attribute or service stores their photo. You will need appropriate Active Directory, synchronization, and Exchange Online permissions to perform the checks.
Check the Directory Photo Size and Synchronization
Use this method when the affected photo is stored in the on-premises Active Directory thumbnailPhoto attribute.
A photo no larger than 10 KB is a conservative troubleshooting target for the synchronized directory thumbnail. This is not a general size limit for every Microsoft 365 profile photo.
In PowerShell with the Active Directory module, run `(Get-ADUser -Identity <User> -Properties thumbnailPhoto).thumbnailPhoto.Length` to check the thumbnail size in bytes. Replace <User> with the affected user's identity.
If the thumbnail exceeds 10,240 bytes, resize it to 10 KB or less and upload it to the user's thumbnailPhoto attribute using your organization's approved directory management tool. If no thumbnail is returned, check where the existing photo is stored before replacing it.
On the Microsoft Entra Connect server, check the synchronization status. If appropriate and you have permission, open PowerShell and run `Start-ADSyncSyncCycle -PolicyType Delta` to request a delta sync.
After synchronization completes, ask an affected Microsoft 365 user to look up the on-premises user again. Allow time for directory and application caches to update.

Inspect the Synchronized Mail User in Exchange Online
Use Exchange Online PowerShell to check the affected recipient if the photo remains missing after synchronization.
Use WPS Office for Everyday Document Work
WPS Office is a free, lightweight alternative for everyday document, spreadsheet, and presentation work. Its familiar interface and Microsoft Office format compatibility help you move existing files with less disruption. It does not repair Exchange hybrid photo synchronization.

Frequently Asked Questions
Is 10 KB the maximum size for every Microsoft 365 profile photo?
No. Ten kilobytes is a conservative troubleshooting target for the synchronized directory thumbnail in this scenario, not a universal limit for all Microsoft 365 profile photos.
How can I check the on-premises thumbnail size?
In PowerShell with the Active Directory module, run `(Get-ADUser -Identity <User> -Properties thumbnailPhoto).thumbnailPhoto.Length`. The result is the thumbnail size in bytes.
Does Get-MailUser show whether the photo synchronized?
Not by itself. Run `Get-MailUser -Identity <User> | Format-List` in Exchange Online PowerShell to inspect the recipient, then check the photo source and synchronization separately.
What should I check if the photo is already under 10 KB?
Confirm that the expected photo is stored in the synchronized attribute, verify the synchronization status, and investigate how the affected Microsoft 365 client retrieves photos in the hybrid environment.




