cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

How to display other user image based on the email

I have an excel table with name and email and I want to display the user's image based on the email id, in the gallery control.  What should be the Image property value.


user().Email is displaying my image.

5 REPLIES 5
CarlosFigueira
Power Apps
Power Apps

You can use the Office365Users connector. With it you can use the following expression for the Image:

Office365Users.UserPhoto(ThisItem.Email)

This requires that the users for which you have the e-mail in your excel table have their photos registered in the O365 tenant.

Anonymous
Not applicable

I am getting this warning, Invocation of unknown or unsupported function

Anonymous
Not applicable

Any other solution for this issue ?
Anonymous
Not applicable

 

Did you add a connection to the "Office 365 Users" data source? You need to do to be able to use that function. If you go to the View tab, then select "Data Sources"", it should show you the list of connections that you have in your app.

ForumPost000.PNG

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Power Apps Ideas

Check out the New Ideas Site

We are excited to announce a new way to share your ideas for Power Apps!

Top Solution Authors
Top Kudoed Authors
Users online (5,112)