mathieu-benoit / myakscluster

How to setup a secure Kubernetes cluster on Azure

Home Page:http://alwaysupalwayson.com/private-aks-and-acr/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Azure Lock

mathieu-benoit opened this issue · comments

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)

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'.

SP's role should be Owner, resolved