web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Flow Error 503 Bad gat...
Power Automate
Unanswered

Flow Error 503 Bad gateway solved but questions

(1) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi,

 

I had this error 

{
 "error": {
 "code": 502,
 "message": "{\r\n \"error\": {\r\n \"code\": 502,\r\n \"source\": \"flow-apim-europe-001-francecentral-01.azure-apim.net\",\r\n \"clientRequestId\": \"xxx\",\r\n \"message\": \"BadGateway\",\r\n \"innerError\": {\r\n \"error\": {\r\n \"code\": \"607\",\r\n \"message\": \"Failed to get all responses. Inner Message: AADSTS50076: Due to a configuration change made by your administrator, or because you moved to a new location, you must use multi-factor authentication to access 'yyy'.\\r\\nTrace ID: zzz\\r\\nCorrelation ID: www\\r\\nTimestamp: 2019-02-13 14:31:09Z\"\r\n }\r\n }\r\n }\r\n}"
 }
}

and solved it by reauthentification. But this could only be done by changing the flow and saving it again. Only in that case I got the window "choose account". 

 

The connections windows allways showed green checkmarks - even before the reauthentification. 

2019-02-20 17_46_52-Manage your flows _ Microsoft Flow – Opera.jpg

 

Is there a easier way to see that a connection needs reauthentification and why isn't there a button like 'reauthentification everything'?

 

These accounts are bound to me. Is there a way to swicht them to a kind of technical user like 'flowrunner@contoso.com'? And which, if any, license is needed here?

 

Categories:
  • v-bacao-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous ,

     

    First, since you can currently create a connection with MS Forms, your license is to allow you to use MS Forms related actions.

    Generally , If the connection is abnormal, you will be prompted to re-authenticate or fix connection when you open Flow or use the related action.

    And if the error code is displayed as 502, the failure is temporary or transient. Please try to reconfigure the connection or click Resubmit again to solve most problems.

    In addition, I noticed that the error message mentioned "Inner Message: AADSTS50076: Due to a configuration change made by your administrator, or because you moved to a new location, you must use multi-factor authentication to access 'yyy'", you can try contacting Admin to check if this is the case.

     

    Best Regards,

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

     


     

    Generally , If the connection is abnormal, you will be prompted to re-authenticate or fix connection when you open Flow or use the related action.

     

    That's what I was thinking. But unfortunately no prompt came. I only became aware of the problem through the error message.

     


    In addition, I noticed that the error message mentioned "Inner Message: AADSTS50076: Due to a configuration change made by your administrator, or because you moved to a new location, you must use multi-factor authentication to access 'yyy'", you can try contacting Admin to check if this is the case.

    Coincidentally I belong to the admin team. None of us had made any changes in that time.

  • 2Shoes Profile Picture
    4 on at

    Hello,

     

    I am getting the same error (502), with the same error message. The Flow will always run successfully on resubmit. There is no warning that a re-authentication is required and no easy way (that I have found) to re-authenticate and the connections indicator on the dashboard shows as 'Connected'. The Flow runs on my account (which has admin priviledge) and requires multifactor authentication. 

     

    Is there a way to assign  to flow to a 'system account' that does not require MFA? We are trying to automate a process, but I seem to spend more time keeping it running smoothly without constant supervision and intervention. 

     

    Thanks, 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 289

#2
11manish Profile Picture

11manish 288 Super User 2026 Season 2

#3
Henil Profile Picture

Henil 125

Last 30 days Overall leaderboard