Reputation: 37
We are looking at using az functionapp start --name MyFunctionApp --resource-group MyResourceGroup in Automation Runbook. As part of documentation its clearly stated that Azure CLI commands are supported in Automation runbooks, however not able to see this CLI command.
When trying to use below commands its throwing error that az is not recognized in internal or external command in Automation Runbook test. Can you please suggest sample code and references of modules.
Could not see az functionapp start command in Az help module under Azure RunBook API.
Out task is to start and stop azure functions through Automation Runbooks.
Upvotes: 0
Views: 211
Reputation: 764
Currently Automation account does not support Azure CLI. You can check Feedback here- https://feedback.azure.com/forums/246290-automation/suggestions/31482895-add-support-to-automation-for-az-cli
Upvotes: 0