
Announcements
I'm building a Power Automate flow which triggers an Azure Automation job. I would like to have multiple runbook parameter fields, each to enter an individual runbook parameter (as shown below).
However, I've only been able to enter multiple runbook parameters in one field (as shown below).
How can I add new runbook parameter fields so I can have 1 runbook parameter per field?
Hi @eprevost
Are you running PowerShell at the RunBook end?
https://docs.microsoft.com/en-us/azure/automation/runbook-input-parameters
I've done a powershell runbook before https://www.damobird365.com/power-automate-meets-powershell-in-azure/ but have to admit only had one input. The above MS documentation shows how it is done with comma seperated params:
Param ( [Parameter (Mandatory= $true/$false)] [Type] $Name1 = <Default value>, [Parameter (Mandatory= $true/$false)] [Type] $Name2 = <Default value> )
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Cheers,
Damien
P.S. take a look at my new blog here and like & subscribe to my YouTube Channel thanks 😉