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 / Create Search of List ...
Power Apps
Unanswered

Create Search of List or Collection of Users and Display Photos from O365

(0) ShareShare
ReportReport
Posted on by 2

Hi I'm trying to create a Directory of users linked to a List which contains all the users and their locations. I've created the List and the People column linked to the user in O365 and I can get it to show the user with the picture and all the fields or I can get it to show all users and user the search box.

 

The List is called People Locations, I've created a collection called colPeopleLocations so I can search against Name, Job Title or Location but I cannot get it to show the relevant users picture in the Gallery or in the search results.

 

AddColumns(
colPeopleLocations,
"UserPhoto",
If(
// check if the the user has an email and a profile picture
!IsBlank(FullName.Email)
And Office365Users.UserPhotoMetadata(FullName.Email).HasPhoto,
// get the profile picture
Office365Users.UserPhotoV2(FullName.Email)
))
Filter(
colPeopleLocations,
TextSearchBox1.Text in FullName_Text || TextSearchBox1.Text in JobTitle || TextSearchBox1.Text in Location,
)

Categories:

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 342 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 258

#3
Mohsin Ali Profile Picture

Mohsin Ali 231

Last 30 days Overall leaderboard