-
Notifications
You must be signed in to change notification settings - Fork 108
Closed
Description
To Reproduce
az network nsg list --resource-group "learn-b8b66014-f553-40d5-9731-4ffdb13689b6" --query '[].name' --output tsv
Observed Behavior
(AuthorizationFailed) The client 'xx@xxx.com' with object id '3a632cb2-9dea-4909-a4af-0ea382978a18' does not have authorization to perform action 'Microsoft.Network/networkSecurityGroups/read' over scope '/subscriptions/c60ae814-018d-48e5-bf8f-d6407b02e76f/resourceGroups/learn-b8b66014-f553-40d5-9731-4ffdb13689b6/providers/Microsoft.Network' or the scope is invalid. If access was recently granted, please refresh your credentials.
Code: AuthorizationFailed
Message: The client 'xx@xxx.com' with object id '3a632cb2-9dea-4909-a4af-0ea382978a18' does not have authorization to perform action 'Microsoft.Network/networkSecurityGroups/read' over scope '/subscriptions/c60ae814-018d-48e5-bf8f-d6407b02e76f/resourceGroups/learn-b8b66014-f553-40d5-9731-4ffdb13689b6/providers/Microsoft.Network' or the scope is invalid. If access was recently granted, please refresh your credentials.
Expected behavior
Don't have any role on Subscription Access control (IAM)
Is this specific to Cloud Shell?
Cloud shell of learn sandbox in Exercice : Configure access network of module Describe Azure compute and networking services
Metadata
Metadata
Assignees
Labels
No labels