Training: Instruction to develop new skills.
follow
Content is incorrect
Content doesn’t meet
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
edgostev_1995 [ ~ ]$ az vm create --resource-group learn-7ff16267-e1cd-451e-ae7d-f71c34d25f86 --name my-vm --public-ip-sku Standard --image Ubuntu2204 --admin-username azureuser --generate-ssh-keys
(AuthorizationFailed) The client 'live.com#******@gmail.com' with object id 'dcc88fd7-4863-43d6-a532-9a90afaae38d' does not have authorization to perform action 'Microsoft.Resources/subscriptions/resourcegroups/read' over scope '/subscriptions/f26515d9-3bc6-4a50-8192-cb816a833f54/resourcegroups/learn-7ff16267-e1cd-451e-ae7d-f71c34d25f86' or the scope is invalid. If access was recently granted, please refresh your credentials.
Code: AuthorizationFailed
Message: The client 'live.com#******@gmail.com' with object id 'dcc88fd7-4863-43d6-a532-9a90afaae38d' does not have authorization to perform action 'Microsoft.Resources/subscriptions/resourcegroups/read' over scope '/subscriptions/f26515d9-3bc6-4a50-8192-cb816a833f54/resourcegroups/learn-7ff16267-e1cd-451e-ae7d-f71c34d25f86' or the scope is invalid. If access was recently granted, please refresh your credentials.
Training: Instruction to develop new skills.
follow
Content is incorrect
Content doesn’t meet
Hello @Eduard Hostiev ,
I see that you're encountering problems with your Virtual Machine, specifically receiving an "AuthorizationFailed" error. Would you mind attempting to refresh and logging into the sandbox shell?
Please review a related discussion thread authored by Cornelison, William.
If the issue still persist, please feel free to contact us. We are happy to help you.