cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
BeatrizM
Regular Visitor

Error: Office365Users.UserPhotoV2 failed with "message": "BadGateway"

Hello,

 

In the last 2 days I have been getting an error using Office365Users.UserPhotoV2 function. 

 

I'm using this function in a gallery, to show the image of each person.

 

Error bellow:

BeatrizM_0-1653649967076.png

 

Gallery Image formula:

 

 

If(IfError(Office365Users.UserPhotoV2(ThisItem.Email),"") = "",blank_user,Office365Users.UserPhotoV2(ThisItem.Email)

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
BCBuizer
Super User
Super User

Hi @BeatrizM ,

 

In this topic, where similar behaviour was described, a solution was found. Can you please try those?

 

https://powerusers.microsoft.com/t5/Building-Power-Apps/Disable-the-red-error-message/m-p/328084/hig...

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.

View solution in original post

2 REPLIES 2
BCBuizer
Super User
Super User

Hi @BeatrizM ,

 

In this topic, where similar behaviour was described, a solution was found. Can you please try those?

 

https://powerusers.microsoft.com/t5/Building-Power-Apps/Disable-the-red-error-message/m-p/328084/hig...

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.

Thank you for the answer. I didn't enable the formula-level error management on the App Setting. Now the error doesn't appear.

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,920)