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
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (4,068)