Office 365 Profile Picture Not Displayed Inside SharePoint Online Webparts

From time to time you may notice that SharePoint Online does not display updated user photos in webparts.

You may see or experience something like this:

  • Profile picture displayed in Office 365 Suite Bar: Yes
  • Profile picture displayed in Office Delve: Yes
  • Profile picture displayed in Outlook on the Web: Yes
  • Profile picture displayed in Microsoft Teams: Yes
  • Profile picture displayed in SharePoint People Web Part on a Modern SharePoint Page or trying to load user profile through custom web part on a classic SharePoint Page: No

There is a simple solution to this. Navigate to this URL in your SharePoint tenant:

  • https://[tenant name here]-my.sharepoint.com/User%20Photos/Forms/Thumbnails.aspx?RootFolder=%2FUser%20Photos%2FProfile%20Pictures

This list stores three photos for each user in your Office 365 tenant.

How to browse your profile picture location in SharePoint

The photos have the following naming convention and dimension requirements:

  • username_tenantname_tld_SThumb.jpg: 42px x 42px
  • username_tenantname_tld_MThumb.jpg: 78px x 78px
  • username_tenantname_tld_LThumb.jpg: 300px x 300px

If my username was ryanclark, my tenant name was mrsp1, my TLD (top-level domain) was .com (could be .net, .org, .co, etc.), then we’d have the following:

  • ryan.clark_mrsp1_com_SThumb.jpg
  • ryan.clark_mrsp1_com_MThumb.jpg
  • ryan.clark_mrsp1_com_LThumb.jpg

Save (and possibly overwrite) the three images in the user photos library and you should be good to go. You will have to do a hard refresh and/or clear your cache to see the results on the front-end.

If you have any questions, reach out to me at anytime.

About Ryan

As the Principal Solutions Architect at Mr. SharePoint, I help companies of all sizes better leverage the Modern Workplace and Digital Process Automation investments.

4 thoughts on “Office 365 Profile Picture Not Displayed Inside SharePoint Online Webparts”

  1. Hey, Ryan. We’re dealing with this exact situation right now but the files for the affected users are not present in the URL you shared. They are there, however, for other users. As you described symptomatically, the following is true for impacted users:

    Profile picture displayed in Office 365 Suite Bar: Yes
    Profile picture displayed in Office Delve: Yes
    Profile picture displayed in Outlook on the Web: Yes
    Profile picture displayed in Microsoft Teams: Yes
    Profile picture displayed in SharePoint People Web Part on a Modern SharePoint Page or trying to load user profile through custom web part on a classic SharePoint Page: No

    Any thoughts/recommendations?

    1. Hey Paul,

      For the users that don’t have pictures in the SharePoint User Profile library (the one I mentioned above), are you saying that their pictures are in fact showing in other places, like Delve? If so, you could take their photo from Delve and make the three photo sizes with the specific naming conventions I mentioned and upload them into the directory? CodeTwo has a tool that can help you to do this in bulk for free. After making sure the images are correctly in the User Profile library you will need to clear your cache.

      Let me know if you need any more details. Happy to help.

  2. I am seeing the pictures all around O365, but for some not in the people web part. The profile pictures library has a mix of ‘real’ photo’s as you described, plus the problematic ones are just a placeholder silhouette file. I wonder if I delete these silhouette files if the user profile service (I have SharePoint server background, I don’t know if that is the term!) will populate them correctly?

    1. Hi Mark,

      You can delete the placeholders. Maybe try doing that with a single account at first. For the users with the silhouette images, do they have non-silhouette pictures (their actual real photo) in Delve?

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top
Tweet
Share
Share
Pin