cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Mark_Stewart
Helper I
Helper 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
Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on August 17, 2022 at 8am PDT.

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Users online (1,733)