I have created azure logic app to restore database from one prod to dev and for multiple envs
Now I want to automate my logic app workflow to run using any script or command line eg: using bash, PowerShell or AZ cli with my input parameters Actual value in screenshot should change using powershell (dev, int, qa)
I tried with powershell using -parameter option but it doesn’t work.
2
Answers
To run with powershell, regardless of having an http trigger, you can use :
Start-AzLogicApp -ResourceGroupName "ResourceGroup11" -Name "LogicApp03" -TriggerName "Trigger22"
With an Http Triger you have the extra option to invoke through http
I do agree with @Skin and @BrunoLucasAzure, if you are using http trigger you can follow below process:
Thanks, @shelladmin
I have followed Micrsosoft-Document and ShellGeek Blog, and have reproduced in my environment and got expected results as below: