Share via

Executing Orchestrator Runbook using PowerShell

jansi rani krishnan 601 Reputation points
2021-06-14T17:58:32.42+00:00

Hi Team,

I am followed the below link to call an Orchestrator Runbook via a PowerShell code by invoking a web-service call.

It is working when i used the below POST body structure.

105513-image.png

when i try to use the similar XML POST body structure, it is not working and throwing the error message "105492-image.png".. Am i missing anything in the second XML structure.

105449-image.png

Please help me in figure out the error.

System Center Orchestrator
System Center Orchestrator

A family of System Center products that provide an automation platform for orchestrating and integrating both Microsoft and non-Microsoft IT tools.

0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Andreas Baumgarten 130.9K Reputation points MVP Volunteer Moderator
    2021-06-14T19:36:34.273+00:00

    Hi @jansi rani krishnan ,

    in the second screenshot the ´<d:Parameters> .... </d:Parameters>´ section is not in the right format. It should be in the same format like the first screenshot.

    you have to use the &lt; instead of < and &gt; instead of >and so on. You have to use these HTML Special entities.
    That's something "special" in Orchestrator ;-)

    ----------

    (If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)

    Regards
    Andreas Baumgarten

    1 person found this answer helpful.

Your answer

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