Type of issue
Missing information
Feedback
Unclear how to enable system managed identity through azure cli for automation account
I try:
az automation account identity assign
--resource-group $resourceGroupNameToAutomate
--name $automationAccountName
but not luck. I want to turn on:

Page URL
https://learn.microsoft.com/en-us/cli/azure/automation/account?view=azure-cli-latest
Content source URL
https://github.com/MicrosoftDocs/azure-docs-cli/blob/main/latest/docs-ref-autogen/automation/account.yml
Author
@dbradish-microsoft
Document Id
c74ff008-a7d5-bf7c-e8ba-e9dcbad654be