Azure Logic Apps: how to run Powershell script or Azure CLI?

前端 未结 3 1496
谎友^
谎友^ 2020-12-20 02:29

I\'m building my Azure Logic Apps worklow which is supposed to check some conditions and run following Powershell:

Stop-AzureWebsiteJob -Name MyWebsite -JobN         


        
3条回答
  •  有刺的猬
    2020-12-20 02:53

    Create an Azure Function with an http trigger with Powershell as the function language (or any other supported language). Then you call the Function easily in the Logic app by calling an Http endpoint.

提交回复
热议问题