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 / Invoke http request: T...
Power Automate
Unanswered

Invoke http request: The response is not in a JSON format (Microsoft Orchestrator)

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi,

 

I am trying to using Power Automate to trigger a Microsoft Orchestrator runbook. I have to go via a gateway.

 

I am currently using the connector HTTP with Azure AD connector, uisng the Invoke HTTP Request.

 

If i run the flow using GET and hitting the http://server:81/Orchestrator2012/Orchestrator.svc/Jobs i get a response in xml format, this work ok.

 

The problem i having is trying to post to a runbook to start it, all i way getting back is "The response is not in a JSON format." and the runbook does not start, I can do this fine via Powershell, but just can not get it to work via flows. does anyone have any ideas or have done this before. 

 

Azure Automation is not an option at this stage.

Categories:
  • Liquid error: Exception has been thrown by the target of an invocation. matthew12333333 Profile Picture
    162 on at

    Solved?
    Do you know how to call this with http azure AD: GET https://management.azure.com/providers/Microsoft.Management/managementGroups?api-version=2020-05-01

    I get the response is not in a JSON format.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Is that issue solved now?
    Facing the same "the response is not in a JSON format." error while posting the XML data using http with azure ad connector 

    Any Solutions?

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
11manish Profile Picture

11manish 298 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 289

#3
Henil Profile Picture

Henil 125

Last 30 days Overall leaderboard