logo
search
Others

Fix Set-MgUserPhotoContent Not Updating SharePoint Profile Photos

Khadija KhanKhadija Khan Oct 9, 2026 868 views

Question details

The user needs to resolve a synchronization issue where employee profile photos updated via PowerShell do not appear in SharePoint.

How to Fix Set-MgUserPhotoContent Not Updating SharePoint Photos
Product
Microsoft 365 / SharePoint
Device & OS
not provided
Scenario
An administrator is using the Set-MgUserPhotoContent cmdlet to bulk update or manage user profile pictures across the Microsoft 365 environment.
Observed behavior
The newly uploaded photos successfully appear in Teams, Microsoft Entra, and the M365 Admin Center, but fail to synchronize to SharePoint sites and the SharePoint Admin Center.
Before you start

Ensure you have Microsoft 365 Global Administrator or SharePoint Administrator privileges. Additionally, allow 24 to 72 hours for normal synchronization to complete, as SharePoint User Profile Service updates can be delayed.

Solution 1Recommended

Run SharePoint Online Quick Assist

Use Microsoft's built-in Quick Assist diagnostic tool to force a check and identify profile picture synchronization issues for specific users.

Microsoft provides an automated diagnostic tool within the M365 Admin Center designed specifically for troubleshooting profile photo synchronization delays or failures.

1
Open M365 Support

Log in to the Microsoft 365 Admin Center and navigate to the Help & Support section located at the bottom right of the screen.

2
Search for Quick Assist

Type 'SharePoint Online Profile Photo Quick Assist' into the search bar and select the corresponding diagnostic tool.

3
Run the Diagnostic

Enter the email address or UPN (User Principal Name) of the affected user whose photo is failing to sync, and click 'Run Tests'.

4
Review Results

Review the test results to see if a mismatch was detected and follow any automated remediation steps suggested by the tool.

Run SharePoint Online Quick Assist
Diagnostic Mismatches: The Quick Assist tool may report that the photos are loaded but mismatched. If the tool forces a sync trigger, you may still need to wait several hours for the image to finally appear in SharePoint.
Free Microsoft Office alternative

Looking for a Lightweight, Reliable Office Suite?

While Microsoft 365 offers powerful enterprise administration tools, individual users and teams often need a faster, lighter, and more cost-effective suite for everyday document tasks. WPS Office provides a comprehensive, easy-to-use alternative.

  1. 1. Download: Visit the official WPS Office website and download the free installer for your operating system.
  2. 2. Install: Run the downloaded installer and follow the simple on-screen instructions to complete the setup.
  3. 3. Start Creating: Open WPS Office to instantly start working on your documents, spreadsheets, and presentations with full Microsoft format compatibility.
Fully compatible with Microsoft Word, Excel, and PowerPoint formats (.docx, .xlsx, .pptx).Free to download and use with a familiar, ribbon-style interface that requires zero learning curve.Extremely lightweight installation that consumes minimal system resources compared to Microsoft 365.Built-in PDF editing and seamless cross-platform cloud sync for productivity on the go.
microsoft office alternative - wps office

Frequently Asked Questions

How long does it take for Microsoft 365 profile photos to sync to SharePoint?

In most standard environments, profile picture synchronization from Microsoft Entra to SharePoint takes between 24 and 72 hours. If it takes longer, there may be a backend synchronization error requiring administrator intervention.

Why does the user's profile photo show up in Teams but not in SharePoint?

Teams and Microsoft Entra often update almost immediately because they rely directly on Exchange or Entra data. SharePoint, however, relies on a separate User Profile Service and scheduled synchronization timer jobs, which can sometimes get stuck or experience propagation delays.

Does the Set-MgUserPhotoContent cmdlet support all image formats?

The cmdlet generally requires standard web image formats like JPEG or PNG. Additionally, the image size should ideally be under 4 MB and cropped to a square (e.g., 648x648 pixels) to ensure optimal display and synchronization success across all M365 services.

Can regular end-users force a SharePoint photo sync themselves?

No. Forcing a synchronization or running the SharePoint Online Quick Assist diagnostic tool requires Microsoft 365 Global Admin or SharePoint Admin credentials. Regular users experiencing photo sync issues should contact their IT department.