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 / How to pull full offic...
Power Apps
Answered

How to pull full office365 user ID into a gallery.

(0) ShareShare
ReportReport
Posted on by 440

Hi, I have a simple gallery which is pulling info from a sharepoint list. In the list I have the user ID from Office 365, when I add the person to the gallery I am adding merely the display name by using the formula  ThisItem.ManagerinCharge.DisplayName 

I am just not sure how to show the Name and theimage.

Categories:
I have the same question (0)
  • vkondreddygari Profile Picture
    88 on at

    if you are looking to show profile pic of user, add Image control into gallery and set Image property to ThisItem.<ColumnName>.Picture

     

    vkondreddygari_0-1714066425973.png

     

  • nshaw75 Profile Picture
    440 on at

    Hi @vkondreddygari  thanks for the reply.

     

    What I was hoping for was to put the Office365 ID in as this little screenshot. One thing I never thought of was to just add another field in the gallery for an image and add one in. I will have a go at doing that and see if it is going to be ok for what we are after.

     

    nshaw75_0-1714108872277.png

     

     

    Thanks again

  • VishalJhaveri Profile Picture
    1,167 Moderator on at

    "Display Name: " & ThisItem.ManagerinCharge.DisplayName & ", User ID: " & ThisItem.ManagerinCharge.UPN

  • nshaw75 Profile Picture
    440 on at

    Hi @VishalJhaveri  

    Apologies as I am a bit of a noob, do I need to copy the whole text? I have tried to copy this in and it hasn't worked

  • VishalJhaveri Profile Picture
    1,167 Moderator on at

    Yes.

  • nshaw75 Profile Picture
    440 on at

    Thanks, and would this go into a Text Input field , or image field?

  • Verified answer
    nshaw75 Profile Picture
    440 on at

    I have managed to find the solution by asking the Co-Pilot chat in Teams.

     

    Office365Users.UserPhoto(ThisItem.ManagerinCharge.Email)

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 531 Most Valuable Professional

#2
Haque Profile Picture

Haque 261

#3
Kalathiya Profile Picture

Kalathiya 221 Super User 2026 Season 1

Last 30 days Overall leaderboard