cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Mark_Stewart
Advocate I
Advocate I

in a Gallery Office365Users.UserPhoto not always showing

I have an app that shows our employee's birthdays and anniversaries with their picture.

It works great, but their picture does not always show. If I refresh the screen the picture comes. It's not the same employee, it's different from a refresh to refresh.

 

in a Image field I have this code:

If(ThisItem.Email <> "",
Office365Users.UserPhoto(ThisItem.Email))

2 REPLIES 2
BCBuizer
Super User
Super User

Hi @Mark_Stewart ,

 

UserPhoto has been deprecated. Please try replacing it with UserPhoto_V2

 

https://docs.microsoft.com/en-us/connectors/office365users/#get-user-photo-(v1)-[deprecated]



Did you like my post? Please give it a thumbs up! Did I resolve your issue? Please click Accept as Solution to close the topic and so other members of the community can find solutions more easily.

I already tried that, but it only got worse! Even more picture did not show.

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.

Top Solution Authors
Top Kudoed Authors
Users online (1,247)