Forum Discussion
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?
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.
- HaroldvandeKampBronze 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.
- Gareth Newton-WilliamsBrass Contributor
Should this have been a global resolution? I still have this problem.
- Susan McClementsIron ContributorWe have not been able to resolve this issue.
- Dharmesh_NCopper Contributor
HaroldvandeKamp we are still facing the same issue in out tenant. People webpart not showing profile photo.
- CKWGAIron ContributorWe're looking for a solution for the issues with the People web part as well. We want all the photos in the People web part to be displaying before we go live with our SharePoint Online sites, and we have too many employees who's photos we want to display to ask them to log on beforehand.
- jacquelinepCopper ContributorHi Harold van de Kamp. Does this serverside fix still work users that added a profile pic after the synch?
- JHerschelIron 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 McClementsIron ContributorOur 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.
- Jeremy ThakeIron 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.
- Aim ZaabBrass Contributor
This thing is still a problem as today, even after 24 hours most pictures are not refreshed in SharePoint.
It seems to also depends on where the user did upload the picture.
"https://portal.office.com/userphoto" seems to trigger the sync to SharePoint... but changing in Delve or Outlook will not.
Also I found the quality of the pictures in "https://tenant-my.sharepoint.com/User Photos" to be really poor compared to other location.
- IanCaldwellIron Contributor
HaroldvandeKamp 18 months later and this "feature" is still causing problems for our company - users or admin add profile photos, which appear everywhere in Office 365 *EXCEPT* SharePoint. My current technical support provided this list of actions report back on - see below. Personally, I just want this to work - if the profile image is showing in Office 365, Outlook, Outlook Online, Teams and Delve - then it should just show up in SharePoint and not require any interventions by users or admin.
The current work-around solution I am trying is to manually add the photo in the SharePoint Admin classic edit user profiles - since this shows the photos in SharePoint almost right away... most of the time. The reason I need to push this now is that we are launching our new SharePoint Intranet, and it just looks bad when profile photos are missing.
• Check in Exchange Online to see if the user’s picture, click ‘shows up there. To do this Outlook’ on the navigation. Then, next to the user’s name click the drop-down arrow. Under the default configuration, the user’s picture should appear here.
• In SharePoint, have the user click ‘change your photo’ followed by cancel and refresh the browser. This forces a picture sync.
• Try in-private browsing or a different browser.
• Ensure users have permissions to edit the ‘PictureURL’ property in their profile. The property must be user editable. Browse to tenant administration > User Profiles > Manage User Properties > edit the ‘Picture’ property. Ensure ‘Edit Settings’ is set to ‘Allow users to edit values for this property’.
• Take a fiddler trace of an in-private browsing session browsing to ‘Newsfeed’ and clicking ‘change your photo’. *Fiddler steps are Mentioned in Email Attachment*
• Use the URL https://outlook.office365.com/EWS/Exchange.asmx/s/GetUserPhoto?email=user@domain.onmicrosoft.com&size=HR648x648 and just replace the email address to customer’s mail address and check if image is rendered or not. (access URL with affected user account login)
• User must be rendering his/her own large thumbnail picture either using userphoto.aspx?size=L or rendering the actual file user_tenant_onmicrosoft_com_Lthumb.jpg
o a. In case of the file user_domain_onmicrosoft_com_Lthumb.jpg, it must exist in the User Photos library in the correct Profile pictures folder according to the web's language, there is a URL prefix check to ensure that the picture is in the right location and exists.
• User's SMTP claim must have an EXO license associated and image uploaded or DirSynced.
• The Mysite host (https://domain-my.sharepoint.com/) must have enough storage to save the images (quota settings).
• Browse to https://domain-my.sharepoint.com/user%20Photos/Profile%20Pictures >> Look for affected user and take a screenshot. - I have just tested the People WebPart on one of my modern SPO Sites and no problems seeing profile picture
- HaroldvandeKampBronze 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?
- HaroldvandeKampBronze Contributor
Using the page at https://portal.office.com/userphoto (see the picture below) I've tried to change the profile picture:
- On the Cloud only Office 365 tenant: The profile picture is changed immediately on all Office 365 services including the SharePoint People Picture Web Part
- On the AD Connect synchronized + federated Office 365 tenant: The profile picture is changed immediately on all Office 365 services except the SharePoint People Picture Web Part. The picture is still not visible in this tenant inside the SharePoint People Picture Web Part on modern SharePoint Site Pages
- Moreno FernandesBrass Contributor
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 FernandesBrass 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
- JHerschelIron 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 CurwickCopper 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?
- Bryan PetersenMicrosoft
Hi Everyone - For the user who's photo is missing in the People Web Part, has that user attempted to browse to SharePoint or OneDrive? If they select the SharePoint or OneDrive tile from the Office 365 portal: https://www.office.com/?auth=2&home=1 this should kick off the photo sync. There will be a wait period of up to 24 hours (or something), but worth a shot. Also, if you start the process of opening a support request by typing 'sharePoint Online not showing images in people Web part' or similar you should see this same proposed workaround as an article and/or a diagnostic asking for the user email for the user who's image is missing.
Let me know if either of these help.
Thanks,
Bryan
- Daniel CarpBrass ContributorHi Bryan - thanks for the suggestion. I believe this was recommended earlier in the thread somewhere and for us did successfully force an individual's photo to appear on our site. As an overall resolution, though, this wouldn't suffice for our organization when we wanted to have our SharePoint site fully populated with user images PRIOR to setting the site live. Engaging Microsoft support was the only way I was able to accomplish this.
- JHerschelIron ContributorI second Daniel, We don't want to send emails out to CIO, VPs, Directors, Owners, (anybody really), to click on the following link so your picture will show up in Modern People Webpart
- Carol_IvenBrass Contributor
Bryan Petersen : we also have this issue for more than 1 year. I have asked a few users to open Delve and the SharePoint tile from 365 but I have my doubts this will work. Uploading a profile picture in the Admin Tenant works, I tested this today but this is not something I can do for a lot of users. In any case I know now that a Microsoft Ticket will do the trick in case this does not work. Many thanks for everybody's feedback. It helped me a lot!
- Tom AtkinsonBrass Contributor
@Bryan PetersenCarol_Iven We opened a ticket with Microsoft, but a month later users' O365 photos are not yet showing up in SharePoint. Is there a specific wording or specific guidance we should provide when making the request to Microsoft?
- Deleted
We have the same issue. Some apps display the current picture, some display the old, and sharepoint display new, old, and blank depending on hwat kind of page you are on. We have instructed employees to update their photos, only to discover nothing syncs and half the photos are blank when they uploaded them over a week ago. Any help is appreciated, we are totally confused how this is supposed to work. We dont have a User Photos directory on our tenant that we can locate.
- FranLFCopper Contributor
I've tried to upload pictures to the different Apps and then see which apps are changing the picture accordingly. My findings are that all Apps change the pic except Delve and SharePoint.
I changed my profile picture today (which I had there already for months) through Outlook OWA. This changed my picture in all Apps, including Delve and SharePoint.
But from that point on, wherever I tried to upload the picture, it would not change in Delve nor in SP.
When changed in Delve it works for like 10-20 sec. after that it changes back to the original one.
I also noticed that some apps have Delete options for the picture. this also worked for all Apps except again Delve and SP.
Delve itself doesn't have a delete option for the picture. Only upload a new one is possible. Could this be adding to the issue?
I find this strange that MS is not focusing on this issue at all.
PS: I also saw that when deleting the pic in MS Teams (desktop app) then it appears to be empty with showing your own initials with grey background, but its not really an empty profile picture, when looking to other apps. Its that same grey background with initials. When deleting the pic through other apps, then you really have an empty profile picture with a visual of an outlined person or your initials on a black background.
- Pooya ObbohatSteel Contributor
Experiencing this issue as well. Have created a ticket with Microsoft support and will ask them to sync all pictures, which will take some time. Not sure why this issue still exists, it was reported quite some time ago.