The 648 × 648 HD standard
Exchange Online stores a user’s profile photo and serves it to Outlook, Teams, SharePoint, Delve and the Microsoft 365 profile card. The largest stored size is 648 × 648 px, so a square JPG at exactly that size is the cleanest upload: Microsoft does not have to upscale it, and downscaled copies stay sharp.
| Recommended upload | 648 × 648 px, 1:1, JPG (PNG accepted) |
|---|---|
| Display | Rendered as a circle in Teams, Outlook and the profile card |
| Microsoft Graph REST cap | 4 MB per request |
| Practical file size | < 240–500 KB |
| Colour | sRGB, no embedded CMYK profile |
Keep files small. Large images are accepted but slow down sync and client caches, and they are no sharper after Microsoft resamples them.
The nine sizes Microsoft Graph caches
Graph exposes each stored photo at fixed sizes; clients request whichever fits the UI.
The 48 and 64 px versions are what most people see in chat lists and mail headers. That is why head-room and centring matter more than resolution: a face cropped too tight at 648 becomes a forehead at 48. See the circle-crop safe zone.
Sync architecture and the 24–72 hour delay
A photo set in Exchange Online usually appears in Outlook on the web within minutes, but Teams and SharePoint pick it up on their own schedules. Plan for 24–72 hours before the whole tenant shows the new image. Teams desktop also keeps a local cache; users who still see an old photo after three days can sign out of Teams and clear its cache folder.
The hybrid Entra Connect 10 KB thumbnailPhoto trap
In hybrid tenants it is tempting to write photos to on-prem Active Directory’s thumbnailPhoto attribute and let Entra Connect sync them. That attribute is designed for 96 × 96 px images and is commonly held to 10 KB (100 KB schema maximum). Photos that start there arrive in Microsoft 365 as small, blurry thumbnails stretched across a 648 px circle.
UPN naming and a batch upload loop
Name each file with the user principal name, for example jane.smith@company.com.jpg. The UPN is already the key Graph uses, so a script can read the folder and set every photo without a lookup table.
# Outline: Microsoft Graph PowerShell batch upload
Connect-MgGraph -Scopes "User.ReadWrite.All"
Get-ChildItem .\entra-648\*.jpg | ForEach-Object {
$upn = $_.BaseName # jane.smith@company.com
Set-MgUserPhotoContent -UserId $upn -InFile $_.FullName
}
Run it on a small pilot group first, log failures (usually departed users or UPN typos), and keep the manifest as the source of truth. Exchange Online’s Set-UserPhoto cmdlet is the alternative for admins who already work in Exchange PowerShell.