web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / User profile picture i...
Power Apps
Answered

User profile picture is not displayed

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hey Guys,

 

we have the problem that the profile pictures are displayed correctly for the administrator but not for other employees. He gets the data from a sharepoint list. We were able to find out that he has problems retrieving the sharepoint list. If the user opens the sharepoint list before opening the app, the data is cached and the images load in the app. What do I need to revise in the query?

 

JanHohnroth_0-1628675868351.pngJanHohnroth_1-1628676256959.png

 

Categories:
I have the same question (0)
  • Nogueira1306 Profile Picture
    7,390 Super User 2024 Season 1 on at

    Hey!
     You can try to load the list into a collection and then use tat collection

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hey @Anonymous ,

    I have had issues with this before also, I believe its because SharePoint gets this data from the hidden SharePoint Users Table and in my experience, the picture has some trouble. In my experience, I have found using the Office365Users connector to be much more reliable, if a little slower.

    If you find and load the Office 365 Users Connector, you should be able to change the Image field to this:

    If(IsBlank(ThisItem.Employee.Picture); Office365Users.UserPhotoV2(ThisItem.Employee.Email); ThisItem.Employee.Picture)

    (I'm in the UK, and I think in some countries / tenants the connector is called Microsoft365Users...)

     

    It can be a little slower to get the images, but they should work a lot more reliably (sort of!)

     

    If that doesn't work for you, you can also try loading the data into a Collection first, you will need an actionable item, like a button, but it sort of "loads" the data directly into the app, making it locally available, then just set the gallery data source to be the collection...

     

    Robhcc_0-1628677587153.png

    This may or may not make it do the behind the scenes sync!

     

    Good Luck!

     

    Rob

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hey Rob,

     

    thank you for your quick reply!
    I have already thought of something like that just did not get the right commands for together (amateur with power apps 😉 )

    Unfortunately I get the following error message:

    JanHohnroth_0-1628680800409.png

    First message : The function "If" has invalid arguments.

    Second message: Call of an unknown or unsupported function

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Im not 100% but I think that means it hasn't loaded the connector, if you click on the data connector icon on the left:
    you should have a connector like this, if not, click on add and add it in:

    Robhcc_1-1628681533681.png

    Otherwise, apart from the language differences, it looks OK to me!

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    "Unfortunately" the connector is already there 😕

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Just looking on the docs, I think it should still work with the English version, can you try changing from

    Office356-Benutzer()

    to

    Office365Users()

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Still the same error message after the change 😕

  • Nogueira1306 Profile Picture
    7,390 Super User 2024 Season 1 on at

    Try this.

     

    LookUp(List; Email = User().Email).Image

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi,
    if i use this:
    LookUp(TestList; EmployeeEmail = User().Email).Image

     

    he say for image "The name is invalid. This identifier is not recognized"

  • Nogueira1306 Profile Picture
    7,390 Super User 2024 Season 1 on at

    Oh... I messed up...

     

    LookUp(TestList; EmployeeEmail = ThisItem.Email).Image

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 401 Most Valuable Professional

#2
11manish Profile Picture

11manish 201 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 128 Super User 2026 Season 2

Last 30 days Overall leaderboard