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 Apps
Answered

Employee AD Photo

(0) ShareShare
ReportReport
Posted on by 5,331 Moderator

How do I pull in employee photos to an Image control of a Gallery?

I have a SharePoint list that I am using to store employee information, including a 'Person' column from the Active Directory.

The Gallery has the list name in its 'Item' property.

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

    Hi,
    you can get the AAD info directly using the Office365Users-connection.
    Then you can for example use the UserPhotoV2-function to get the image directly by passing the UPN of the user and put it as the Image property

    Devvj_0-1692741693205.png

     

    -------------------------------------------------------------------------
    If this is the answer for your question, please mark the post as Solved.
    If this answer helps you in any way, please give it a like.

  • Phineas Profile Picture
    5,331 Moderator on at

    Where do I find the UPN of the user?

  • Verified answer
    Devvj Profile Picture
    1,132 Super User 2024 Season 1 on at

    @Phineas 
    That is usually the primary Email of your users.
    If you getting it from SharePoint you could just refer to the Picture there to, to skip the other connector.
    Heres an example

    ThisItem.Person.Picture

     

    Devvj_0-1692742794210.png

    To get the name or the email you can just use this:

    ThisItem.Person.DisplayName
    ThisItem.Person.Email

    Hope that helps

    -------------------------------------------------------------------------
    If this is the answer for your question, please mark the post as Solved.
    If this answer helps you in any way, please give it a like.

     

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 345 Most Valuable Professional

#2
11manish Profile Picture

11manish 207 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 177

Last 30 days Overall leaderboard