I am an Azure rookie, I’m struggling to complete a runbook to start stop my VM.
I keep getting permissions errors after I added myself as the virtual machine permissions contributor :
ERROR: (AuthorizationFailed) The client ‘6ffb2379-YYYYYYYYYYY’ with object id ‘6ffb2379-YYYYYYYY’ does not have authorization to perform action ‘Microsoft.Compute/virtualMachines/start/action
enter image description here
Would appreciate any guidance here
Tried running this script:
az login –identity –username “my identity object ID”
az vm start –name “my machine name” –no-wait –resource-group “my resource group name”
Ori is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.