Bug in Logic App connector to create automation runbook job with boolean parameters
I have a Logic App that has an "Azure Automation - Create Job" action. This action calls a runbook to fire off some powershell commands to do some tasks to the data warehouse.
I also have a parameter that the Powershell runbook accepts. That parameter is a Boolean value.
The Logic App connector that calls the automation runbook has a field for parameters. This connector will pass variables to the runbook, HOWEVER, when passing Boolean values, the connector will only allow "true" and "false", but these are NOT valid values for powershell Boolean values.
Powershell expects $True, $False, 1 or 0 and the connector does not see these are Booleans, therefore you can not use Boolean paramters.
The workaround is to use an int and pass on a 0 or non-zero parameter to the automation runbook.
Please create a support request if this is still an issue