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

Notifications

Announcements

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)
  • 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)

  • nshaw75 Profile Picture
    440 on at

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

  • VishalJhaveri Profile Picture
    1,167 Moderator on at

    Yes.

  • 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

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

  • 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

  • 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

     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
Kalathiya Profile Picture

Kalathiya 427

#2
WarrenBelz Profile Picture

WarrenBelz 360 Most Valuable Professional

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 336 Super User 2025 Season 2

Last 30 days Overall leaderboard