User Profile Photos are Missing in the PnP People Webpart

If user profile photos are missing in the PnP People Web Part, here are a few things you can check.

  1. User Profile Service: Ensure that the User Profile Service Application is configured correctly and that user photos are uploaded in SharePoint.
  2. Photo URLs: Verify that the photo URLs are correctly set in the user profiles. You can do this by going to the User Profile Service and checking the users' properties.
  3. Permissions: Check if the web part has the necessary permissions to access user profile data.
  4. Web Part Configuration: Ensure that the PnP People Web Part is configured correctly to display photos. You may need to adjust the settings to enable photo display.
  5. Caching Issues: Sometimes, caching can cause issues. Try clearing your browser cache or checking in an incognito window.
  6. Check for Errors: Look at the console logs in your browser's developer tools for any errors that might indicate what's going wrong.

If you've checked all these and still have issues, then try the below steps.

After these steps, the user photo. The aspx process should initiate the photo sync.

  1. Access SharePoint Admin Center: Open your browser and go to the SharePoint Admin Center. You can usually find this in the Microsoft 365 admin center under “Admin centers” > “SharePoint”.
  2. Navigate to User Profiles
    • In the left-hand navigation pane, select “More features”.
    • Under “User profiles”, click on “Open”.
  3. Manage User Properties: In the User Profiles section, click on “Manage User Properties”.
  4. Locate PictureExchangeSyncState: In the list of user properties, find PictureExchangeSyncState. You can use the search function to locate it quickly.
  5. Edit the Property
    • Click on PictureExchangeSyncState to edit its settings.
    • Change the value from 0 to 1 to enable the photo sync process.
  6. Save Changes: Save the changes to ensure the new configuration is applied.