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 / Show office365 User Ph...
Power Apps
Answered

Show office365 User Photo base on a email

(0) ShareShare
ReportReport
Posted on by 43

Hello all, first time posting here, hoping to get some help.

 

I am creating a Gallary where the gallary contains information from a SQL table with a person's full name, score and e-mail. In that gallary, I am hoping to also show the person's photo image from Office 365. In this case, I believe the join will base on the e-mail since Office 365 has all users' email. 

 

I thought it should be a lookup function but I am not too sure how to use a lookup function with Office365 Users. 

 

Please advice, thank you!

Categories:
I have the same question (0)
  • Verified answer
    Pstork1 Profile Picture
    69,599 Most Valuable Professional on at

    This is assuming you have Office 365 Exchange and that all the users have pictures.  Otherwise it may not work as expected.

     

    To show the photos add an Office365Users connection to the PowerApps.  Then user the following in teh Image property of an Image control.

    Office365Users.UserPhotoV2(user's email)
  • mdevaney Profile Picture
    29,991 Moderator on at

     

    @lliu08 

    Place an Image control into your gallery and put this code in the Image property.  I assume the name of your SQL column is email.

     

    Office365Users.UserPhotoV2(ThisItem.email)

     

    ---
    Please click "Accept as Solution" if my response helped to solve your issue so that others may find it more quickly. If your thought the post was helpful please give it a "Thumbs Up."

     

     

  • lliu08 Profile Picture
    43 on at

    Thank you so mcuh! It worked!! I thought I will need a look up function! 

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 June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 325 Most Valuable Professional

#2
11manish Profile Picture

11manish 165

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 88 Super User 2026 Season 1

Last 30 days Overall leaderboard