BadRequest Status:400 on Get email connector in Power Automate

Chris Kroll 96 Reputation points
2020-10-28T23:54:06.7+00:00

Using Power Automate I continue to get "BadRequest" on the connector "Get email (V2)" returning a Status: 400
35837-image.png
35838-image.png

I've tried changing the parameters on this connector. It looks like the error is pointing to the message ID.

Community Center | Not monitored
{count} votes

Accepted answer
  1. Chris Kroll 96 Reputation points
    2020-10-29T16:46:16.02+00:00

    the shared mailbox could be the issue, not sure yet. I'll look into it.
    However, the message ID is not optional.
    36171-image.png


3 additional answers

Sort by: Most helpful
  1. Chris Kroll 96 Reputation points
    2020-10-29T00:07:37.237+00:00

    Step 1:
    35855-image.png

    Step 2:
    35788-image.png

    0 comments No comments

  2. Leo Visser 326 Reputation points MVP
    2020-10-29T00:54:12.397+00:00

    According to this article:
    https://learn.microsoft.com/en-us/connectors/office365/#get-email-(v2)

    The original mailbox address has to be the email of the shared mailbox you are taking it from. it's not an required field and I'm not sure you need to use it here as you aren't accessing an shared mailbox via the a user connection. So I would suggest keeping the field empty and see if that works.
    Else you probably want to add the dynamic content "to" in the field, but again I don't think you need it.

    0 comments No comments

  3. Chris Kroll 96 Reputation points
    2020-10-30T00:25:28.557+00:00

    Thanks, that was the issue

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.