Forum Discussion

HaroldvandeKamp's avatar
HaroldvandeKamp
Bronze Contributor
Feb 28, 2018
Solved

Office 365 Profile picture not displayed inside SharePoint People Web Part on Modern Site Page

I'm having an issue regarding Office 365 profile pictures not displaying on the Modern SharePoint People Web Part inside Office 365. We have this issue seen in two separate Office 365 tenants, both located in Europe. One tenant is Cloud only, so it's not connected via Azure AD Connect. The other tenant is using federated accounts and has both Azure AD Connect and ADFS implemented.

 

Behavior summary:

  • 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: No, although we would expect the picture also to be displayed there.

  

Detailed behavior

When the profile picture is set in Office 365, it is shown in all Office 365 Apps, except inside the SharePoint People Web Part on a Modern SharePoint Site Page. When I remove the picture using the Change Picture link inside the Office 365 Suite Bar, or remove it via Microsoft Teams and later change it to a different picture, we run into the same scenario: The picture is shown everywhere in Office 365, except inside the SharePoint People Web Part located on a Modern SharePoint Site Page.

 

See the attached pictures displaying the issue. 

More people of you seen this issue? Do you know a workaround or do you know how to fix this?

 

Office 365 profile picture not displayed on all services-1-SharePoint and Office 365 Suite Bar after changeOffice 365 profile picture not displayed on all services-1-SharePoint and Office 365 Suite BarOffice 365 profile picture not displayed on all services-2-Microsoft TeamsOffice 365 profile picture not displayed on all services-3-Office Delve

  • This issue is fixed now for the customer. Using Microsoft Support, they were able to make required changes serverside which caused the issue for some Office 365 users. For some users specific users attributes were not set, for others they were according to Microsoft, although were not able to change these from our side. Microsoft changed things serverside to handle this. After a serverside sync update, the Office 365 profile pictures also started to display for each user inside the SharePoint People web part on Modern Site Pages.

71 Replies

  • I am also seeing the exact same isseu that you have described above. It is occurring for only some users. Is there any fix identified for it ?

    • Moreno Fernandes's avatar
      Moreno Fernandes
      Brass Contributor

      Update: I ended up opening a ticket with Microsoft. Ticket is still open

      Few things to note

      1) If the image is synched to exchange online (EXO), and if it still does not showup in people web part, then microsoft would "Run a sync on the tenant" as per their support engineer which fixed it for one user

      2) For a different user I found that the picture was not synced to EXO. In this case, MS support asked me to ask the user to upload the photo again via outlook web access. User uploaded the photo but it still dosen't show up in the People web part and its more than 96 hours. Surprising thing is that the picture was showing up in delve. I asked MS support if its not present in EXO, from where does it display in Delve ?. They are yet to answer the question

       

    • JHerschel's avatar
      JHerschel
      Iron Contributor

      I currently have support ticket in for this issue and last I heard is that the ticket will go to back-end MS support group to run tenant wide-script to sync images as explained in this thread, I was hoping for a Powershell script to run...

      • Tim Curwick's avatar
        Tim Curwick
        Copper Contributor

        Is the "fix" implemented by Microsoft support a permanent fix or a one-time sync that would need to be repeated frequently to keep the pictures in sync? Or is it one time for the current users, but will need to be repeated for new users?

  • JHerschel's avatar
    JHerschel
    Iron Contributor

    Is this still an issue for anybody?  We have one user, their picture shows up in SharePoint admin center user profiles, but does not for people web part, not sure why...everyone else is ok....

    • Susan McClements's avatar
      Susan McClements
      Iron Contributor
      Our pictures still do not display in the people web part. I know that we have sync issues which are affecting our profiles but our tenant admin doesn't have the time to troubleshoot or create a Microsoft ticket.
  • HaroldvandeKamp's avatar
    HaroldvandeKamp
    Bronze Contributor

    This issue is fixed now for the customer. Using Microsoft Support, they were able to make required changes serverside which caused the issue for some Office 365 users. For some users specific users attributes were not set, for others they were according to Microsoft, although were not able to change these from our side. Microsoft changed things serverside to handle this. After a serverside sync update, the Office 365 profile pictures also started to display for each user inside the SharePoint People web part on Modern Site Pages.

  • Jeremy Thake's avatar
    Jeremy Thake
    Iron Contributor

    I'd put money on the SharePoint Web Part using a different API to fetch the photo than everywhere else. There are many ways to fetch photo, some are SharePoint Server and SharePoint Online friendly, some are not.

     

    Try accessing this url (replacing with a real email address in your tenant and tenant in host url):

     

    https://tenantname.sharepoint.com/_vti_bin/DelveApi.ashx/people/profileimage?size=S&userId=username@teanntname.onmicrosoft.com

     

    and then try this one (Server and Online friendly)

     

    https://tenantname.sharepoint.com/_layouts/15/userphoto.aspx?size=S&accountname=username@teanntname.onmicrosoft.com

     

    Do you get a different result?

     

    UPDATE: In looking at the People Web Part and how it renders. Its actually render a base64 image in the actual HTML code. It is referencing an img file like I had suggested above. The above two urls will prove that your photo is not the same in two repositories. I'm intrigued by where the base64 image is sourced.

     

  • I have just tested the People WebPart on one of my modern SPO Sites and no problems seeing profile picture
    • HaroldvandeKamp's avatar
      HaroldvandeKamp
      Bronze Contributor

      Thank you for the reaction and testing the situation jcgonzalezmartin.

       

      I've just checked out the two Office 365 tenant where we are having this issue, but after one full night, the pictures still do not show up in the SharePoint people web part.

       

      How about other Office 365 / SharePoint users?

      • Susan McClements's avatar
        Susan McClements
        Iron Contributor
        I am experiencing the same behavior that you are. No pictures in the SharePoint people web part.

Resources