If user profile photos are missing in the PnP People Web Part, here are a few things you can check.
- User Profile Service: Ensure that the User Profile Service Application is configured correctly and that user photos are uploaded in SharePoint.
- 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.
- Permissions: Check if the web part has the necessary permissions to access user profile data.
- 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.
- Caching Issues: Sometimes, caching can cause issues. Try clearing your browser cache or checking in an incognito window.
- 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.
- 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”.
- Navigate to User Profiles
- In the left-hand navigation pane, select “More features”.
- Under “User profiles”, click on “Open”.
- Manage User Properties: In the User Profiles section, click on “Manage User Properties”.
- Locate PictureExchangeSyncState: In the list of user properties, find PictureExchangeSyncState. You can use the search function to locate it quickly.
- Edit the Property
- Click on PictureExchangeSyncState to edit its settings.
- Change the value from 0 to 1 to enable the photo sync process.
- Save Changes: Save the changes to ensure the new configuration is applied.