How can we improve Microsoft Azure Logic Apps?

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.

9 votes
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
    Password icon
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    M Chandler shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

    0 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
      Password icon
      Signed in as (Sign out)
      Submitting...

      Feedback and Knowledge Base