Announcements
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.
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
-------------------------------------------------------------------------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.
Where do I find the UPN of the user?
@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
To get the name or the email you can just use this:ThisItem.Person.DisplayNameThisItem.Person.EmailHope 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.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 345 Most Valuable Professional
11manish 207 Super User 2026 Season 2
Mohsin Ali 177