Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Answered

HTTP POST - Empty Payload. JSON content expected when running in power automate

(1) ShareShare
ReportReport
Posted on by 20

Hi.

 

I've created a flow to add users devices to an Azure AD group.   Using MS Graph testing it works perfectly, but when in power automate it fails saying Empty Payload. JSON content expected.  I'm sure it's something simple that just needs tweaking on the flow somewhere, but I can't figure it out.  Any help would be really appreciated.

 

This works...


01.png

This doesn't work ...

02.png03.png

 

 

 

  • Babbabooey Profile Picture
    20 on at
    Re: HTTP POST - Empty Payload. JSON content expected when running in power automate

    I found the same article this morning, and that was the fix. Thank you 😊

  • Verified answer
    Dieter Gobeyn Profile Picture
    29 on at
    Re: HTTP POST - Empty Payload. JSON content expected when running in power automate

    From this article:

    Logic Apps workflow definitions with the Workflow Definition Language schema

    If you have a literal string that starts with the @ character, prefix the @ character with another @ character as an escape character: @@

    So in your case, this should work:

    {
     "@@odata.id": "your value here"
    }

     

    If I've been helpful, please mark my answer as Resolved/Answered and give it a thumbs up. This will help others too.

  • Babbabooey Profile Picture
    20 on at
    Re: HTTP POST - Empty Payload. JSON content expected when running in power automate

    Hi Dieter.

     

    Thanks for the reply, but it doesn't allow the brackets in power automate, that's why they aren't present.

    It gives the below error if you include them, and doesn't let you save the flow.

    Babbabooey_0-1721113556777.png

     

    .

  • Dieter Gobeyn Profile Picture
    29 on at
    Re: HTTP POST - Empty Payload. JSON content expected when running in power automate

    The error says the JSON body is invalid,

    Based on your screenshot, you missed the open and closing brackets => { and } in your HTTP body request:

    "@odata.id": "https://xxxxxxx"

    }

     

    sdf1fsd5fds1_0-1721070492863.png

     

    sdf1fsd5fds1_1-1721070531150.png

     

     

    If I've been helpful, please mark my answer as Resolved/Answered and give it a thumbs up. This will help others too.

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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard >