Azure Automation Spoke - How to call "Start Job" While Passing multiple Parameters
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2023 05:32 AM
Hello,
I am able to successfully launch an Azure Automation Job by passing in the parameters to "Start Job" as an array.object when the Azure runbook only has one parameter (ComputerName, for example). I can't seem to figure out how to successfully call the Azure Automation "Start Job" when there is more than one parameter. Would someone mind telling me the correct way to build out the parameters to pass into "Start Job?"
Working example, when the Azure Runbook only takes one parameter "ComputerName." :
However, no matter how I try to give "Start Job" multiple parameters, it doesn't launch the runbook. I get this error
Any assistance is greatly appreciated I am new to Service Now so I may just be doing something silly, but I've been unable to find a working example in the community. Thank you!