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 / BadGateway error using...
Power Automate
Answered

BadGateway error using "Export Email V2"

(0) ShareShare
ReportReport
Posted on by 36

Hello

I started receiving this error about 24 hours ago.  Can anyone help please?
My whole flow is failing.  😞 Error.JPG

 

BODY OUTPUT
{
  "error": {
    "code"503,
    "source""australia-001.azure-apim.net",
    "clientRequestId""221335f3-7aea-4e9d-af1a-0ccb5e4faa6c",
    "message""BadGateway",
    "innerError": {
      "error": {
        "code""ErrorMailboxMoveInProgress",
        "message""Mailbox move in progress. Try again later., The user and the mailbox are in different Active Directory sites."
      }
    }
  }
}

HEADERS

{
  "Transfer-Encoding""chunked",
  "Retry-After""15",
  "Vary""Accept-Encoding",
  "Strict-Transport-Security""max-age=31536000",
  "request-id""a7931c66-269b-4ec6-b620-2075b92fc4d2",
  "client-request-id""a7931c66-269b-4ec6-b620-2075b92fc4d2",
  "x-ms-ags-diagnostic""{\"ServerInfo\":{\"DataCenter\":\"Australia Southeast\",\"Slice\":\"E\",\"Ring\":\"4\",\"ScaleUnit\":\"001\",\"RoleInstance\":\"ML1PEPF000034A4\"}}",
  "Timing-Allow-Origin""*",
  "x-ms-apihub-cached-response""true",
  "Cache-Control""private",
  "Date""Thu, 22 Apr 2021 05:59:28 GMT",
  "Content-Type""application/json",
  "Content-Length""416"
}
Categories:
I have the same question (0)
  • Gopala_Krishna Profile Picture
    1,495 on at

    @Ell_ 

    It seems that there is some issue with your mailbox configuration, can you please check with your administrator once if they have done any changes to your mailbox. 

     

    Also, you can try re-running the flow again to check if there are any issues now.

     

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

    if the information shared helps you, please consider giving a thumbs up 👍 and mark solution as resolved

  • Ell_ Profile Picture
    36 on at

    Thank you for the reply @Gopala_Krishna 

    They have advised no changes have been made
    I tried to re-run and still errors.
    I also refreshed the connections and even tried to export the flow .zip and reimport. 
    All still the same error.

  • Ell_ Profile Picture
    36 on at

    In the image below, the flow run on the right was the last successful before it now won't work. 
    I notice the left side has a different Content-Type. 
    Could this be the problem? 
    Nothing has changed, it just stopped working as of that point. and all I can see that is different is this value. 

    Flow snapshot.JPGLast successful Run on the right. First failed run on the left.Last successful Run on the right. First failed run on the left.

  • Verified answer
    SrinathMothe Profile Picture
    19 on at

    Hi ,

     

    If you are trying to export email from other shared mailbox, provide  original mailbox address  along with the Message Id as inputs for Export Email(v2) action. Hope it will resolves the issue

  • kgregg Profile Picture
    23 on at

    Something is broken on the MS side.  We are getting this same issue along with many other people.

  • Ell_ Profile Picture
    36 on at

    Providing "Original Mailbox Address" has worked. I wonder why it just suddenly stopped when it was working for weeks prior. 

  • Ell_ Profile Picture
    36 on at

    Thanks @SrinathMothe this seems to have enabled the flow to work again 😄 😄 

  • kgregg Profile Picture
    23 on at

    Interesting.  I tried that before and it didn't fix it but did it just now to one of my workflows and it did.  I'll try it on the others.

     

  • Chris_Williams Profile Picture
    52 on at

    I'm also getting these errors.  The flow works and the email is copied to the shared folder, but the run history shows a failure.  Very confusing

  • Chris_Williams Profile Picture
    52 on at

    Update for my situation.  I can use Move email V2 to a shared folder inside it's own scope & no errors are flagged. Works fine

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 62 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 58

#3
Expiscornovus Profile Picture

Expiscornovus 39 Most Valuable Professional

Last 30 days Overall leaderboard