Azure Lock
mathieu-benoit opened this issue · comments
Mathieu Benoit commented
https://docs.microsoft.com/fr-ca/cli/azure/group/lock?view=azure-cli-latest#az-group-lock-create
az group lock create --lock-type CanNotDelete -n CanNotDelete -g $(rg)
Mathieu Benoit commented
ERROR: The client 'xxx' with object id 'xxxx' does not have authorization to perform action 'Microsoft.Authorization/locks/write' over scope '/subscriptions/xxxx/resourceGroups/mabenoittest/providers/Microsoft.Authorization/locks/CanNotDelete'.
Mathieu Benoit commented
SP's role should be Owner
, resolved