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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Badgateway when trigge...
Power Automate
Unanswered

Badgateway when triggering a PA flow via mail

(1) ShareShare
ReportReport
Posted on by 4
I have implemented a PA flow which is trigger whenever a mail arrives at a specific (Office365) mail account. 
This flow has been working without any problems for months/years. But since today it is giving me an Bad gateway error:
error": {
"code": 502,
"source": "flow-apim-europe-001-westeurope-01.azure-apim.net",
"clientRequestId": "c9117141-6be2-4d39-b225-72ccbda2042e",
"message": "BadGateway",
"innerError": {
"status": 502,
"message": "Operation: Create; Exception: [Status Code: ServiceUnavailable; Reason: Mailbox move in progress. Try again later.]\r\nclientRequestId: c9117141-6be2-4d39-b225-72ccbda2042e\r\nserviceRequestId: 11677b22-8f9e-4429-9010-f4dba0802852",
"error": {
"message": "Operation: Create; Exception: [Status Code: ServiceUnavailable; Reason: Mailbox move in progress. Try again later.]"
},
"source": "office365-we.azconn-we-002.p.azurewebsites.net"
}
}
 
{
"Cache-Control": "no-store, no-cache",
"Pragma": "no-cache",
"Set-Cookie": "ARRAffinity=9fa6c0b82e1d7da4a533be6bd9bc598a7378a1d1d9fd035b439a7dee1d6cddf7;Path=/;HttpOnly;Secure;Domain=office365-we.azconn-we-002.p.azurewebsites.net,ARRAffinitySameSite=9fa6c0b82e1d7da4a533be6bd9bc598a7378a1d1d9fd035b439a7dee1d6cddf7;Path=/;HttpOnly;SameSite=None;Secure;Domain=office365-we.azconn-we-002.p.azurewebsites.net",
"Strict-Transport-Security": "max-age=31536000; includeSubDomains",
"x-ms-datasourceerror": "True",
"x-ms-request-id": "11677b22-8f9e-4429-9010-f4dba0802852",
"X-Content-Type-Options": "nosniff",
"X-Frame-Options": "DENY",
"x-ms-environment-id": "default-683a389d-180e-4c17-8fda-8c0df8dfd02b",
"x-ms-tenant-id": "683a389d-180e-4c17-8fda-8c0df8dfd02b",
"x-ms-dlp-re": "-|-",
"x-ms-dlp-gu": "-|-",
"Timing-Allow-Origin": "*",
"x-ms-apihub-cached-response": "true",
"x-ms-apihub-obo": "false",
"Date": "Wed, 22 Jan 2025 12:12:05 GMT",
"Content-Length": "737",
"Content-Type": "application/json",
"Expires": "-1"
}
 
Does this mean that Microsoft is moving the mailbox to some other "location"/storage/server... we are definitely not doing this. 
Since the error persists since this morning for a couple of hours, I am not sure if the mailbox is moved bit by bit ;-)

Thanks
Thomas
Categories:
I have the same question (0)
  • Suggested answer
    trice602 Profile Picture
    15,402 Super User 2025 Season 2 on at
    Hi,
     
    This is likely temporary and will resolve itself.  I don't think there is anything you need to do.
     

    ------------------------------------------------

     

     

    ⭐ If this was helpful, please like and mark as a verified answer to help others find this too!

     

     

    Always glad to help! 💯💯💯💯💯

     

    Tom

     

    Follow me on LinkedIn - Thomas Rice, PMP | LinkedIn

  • ThomasHaug Profile Picture
    4 on at
    Hi Tom,

    thanks for your reply. 
     
    The problem persists, we are still getting the same error, when executing the flow:
    "error": {
    "code": 502,
    "source": "flow-apim-europe-001-westeurope-01.azure-apim.net",
    "clientRequestId": "54662fb7-11e3-42a4-a27a-c7ddb3b698c8",
    "message": "BadGateway",
    "innerError": {
    "status": 502,
    "message": "Operation: Create; Exception: [Status Code: ServiceUnavailable; Reason: Mailbox move in progress. Try again later.]\r\nclientRequestId: 54662fb7-11e3-42a4-a27a-c7ddb3b698c8\r\nserviceRequestId: 9168d59f-1fec-43f1-a075-fb304dd37b69",
    "error": {
    "message": "Operation: Create; Exception: [Status Code: ServiceUnavailable; Reason: Mailbox move in progress. Try again later.]"
    },
    "source": "office365-we.azconn-we-002.p.azurewebsites.net"
    }
    }
    }
     
     
    In this post (https://www.reddit.com/r/MicrosoftFlow/comments/1cdmbkl/when_a_new_email_arrives_v3_not/) Trexlight suggests to contact Microsoft:


     
    :-(
     
    Kind regards
    Thomas
  • trice602 Profile Picture
    15,402 Super User 2025 Season 2 on at
    Hey there!
     
    I am following up on this post badgateway when triggering a pa flow via mail in this category building flows from 01/22/2025.  I know the post is a little older, but it is a common question here so wanted to take a moment and follow-up. I see there have been 2 replies and 1 likes and asking if your question has been answered.  If so, please help the community out by completing one or more of the following actions!  Thanks in advance!
     
    Easy as 1-2-3 ‼️💯⭐😎🆒🙏
     
    1) Mark a reply as a verified answer - this is essential, and it helps others with the same general question find this thread. ✅
    2) You can also mark one of more replies as a verified answer.  Please take a moment and give the author credit for volunteering their time. ✌️
    3) Like one or more replies.  Kudos always greatly appreciated! 👍
     
    Pro tip:  if you found your own solution or workaround, feel free to add a reply to your own post and mark it as the solution too!  The goal is to get this thread marked with a verified answer by anyone that finds one or more replies helpful!
     
    Again, thanks in advance for reading and responding, always glad to help!  Tom 💯💯💯💯💯
  • trice602 Profile Picture
    15,402 Super User 2025 Season 2 on at
    If I can help with anything else please let me know or tag me in a future post, I enjoy reading and answering questions.  Always glad to help!  Tom 💯💯💯💯💯

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 503 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 321 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard