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

Power Apps News & Announcements

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

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

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 (6,183)