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 Africa Challenge 2022

Power Apps Africa Challenge

Your chance to join an engaging competition of Power Platform enthusiasts.

Super User 2 - 2022 Congratulations

Welcome Super Users

The Super User program for 2022 - Season 2 has kicked off!

September Events 2022

Check out all of these events

Attend in person or online, there are incredible conferences and events happening all throughout the month of September.

Government Carousel

New forum: GCC, GCCH, DoD - Federal App Makers (FAM)

In response to the unique and evolving requirements of the United States public sector, Microsoft has created Power Apps US Government.

Users online (4,587)