You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Commands you ran
az vm create --resource-group "[sandbox resource group name]" --name my-vm --public-ip-sku Standard --image Ubuntu2204 --admin-username azureuser --generate-ssh-keys
Observed Behavior
AuthorizationFailed
Include error output here
(AuthorizationFailed) The client 'live.com#asherm@goadaptiv.com' with object id '379d324f-89ea-4707-b6fb-077c25009d20' does not have authorization to perform action 'Microsoft.Resources/subscriptions/resourcegroups/read' over scope '/subscriptions/f27a2135-1ae7-44b2-b514-f0b7b1dcbfba/resourcegroups/[sandbox resource group name]' or the scope is invalid. If access was recently granted, please refresh your credentials.
Code: AuthorizationFailed
Message: The client 'live.com#asherm@goadaptiv.com' with object id '379d324f-89ea-4707-b6fb-077c25009d20' does not have authorization to perform action 'Microsoft.Resources/subscriptions/resourcegroups/read' over scope '/subscriptions/f27a2135-1ae7-44b2-b514-f0b7b1dcbfba/resourcegroups/[sandbox resource group name]' or the scope is invalid. If access was recently granted, please refresh your credentials.
Expected behavior
the VM my-vm is created in sandbox
A clear description of what you expected to happen instead.
Neither sure what authorization setup it refers to in sandbox environment nor changed any credentials. Occasionally getting this error even after reloading/re-logging in.
Is this specific to Cloud Shell?
Please verify if the same issue can be reproduced by running the same tool outside Cloud Shell - for example,
by installing it on your own computer. If so, it is likely to be a bug in that tool or in the Azure service it communicates with,
not in Cloud Shell. Please file the issue with the appropriate project.
Interface information
How are you accessing Cloud Shell - https://shell.azure.com, https://portal.azure.com, via Windows Terminal, or some other method?
If a browser, which Operating System and browser are you using? (ex. Edge on Windows 10)
Using Safari Version 17.5 (17618.2.12.111.5, 17618) browser. Accessing on learn.microsoft.com sandbox
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
Hi @Ashotml, thank you for filing this issue. Are you able to run the vm create command locally? If not, it is likely an issue with your subscription having insufficient privileges. Also, could you please link the Microsoft Learn Sandbox tutorial you are using?
To Reproduce
Create a VM in Sandbox
Observed Behavior
AuthorizationFailed
Expected behavior
the VM my-vm is created in sandbox
A clear description of what you expected to happen instead.
Neither sure what authorization setup it refers to in sandbox environment nor changed any credentials. Occasionally getting this error even after reloading/re-logging in.
Is this specific to Cloud Shell?
Please verify if the same issue can be reproduced by running the same tool outside Cloud Shell - for example,
by installing it on your own computer. If so, it is likely to be a bug in that tool or in the Azure service it communicates with,
not in Cloud Shell. Please file the issue with the appropriate project.
Interface information
How are you accessing Cloud Shell - https://shell.azure.com, https://portal.azure.com, via Windows Terminal, or some other method?
If a browser, which Operating System and browser are you using? (ex. Edge on Windows 10)
Using Safari Version 17.5 (17618.2.12.111.5, 17618) browser. Accessing on learn.microsoft.com sandbox
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: