Share via

Cannot create virtual machine from Cloud Shell

Boris Rovner 20 Reputation points
2024-02-01T21:03:25.19+00:00

Trying to create virtual machine in the Exercise - "Create an Azure virtual machine" of AZ-900 course, module "Describe Azure compute and networking services". Getting this message:

(AuthorizationFailed) The client 'live.com#@yahoo.com' with object id 'c5e6d2eb-6ffb-4d7e-a0db-57d5dad4fe78' does not have authorization to perform action 'Microsoft.Resources/subscriptions/resourcegroups/read' over scope '/subscriptions/63fb4ccd-8431-455e-81bc-f7242ec2650c/resourcegroups/learn-fb2825c8-00c3-425c-9192-7b4fe24baa13' or the scope is invalid. If access was recently granted, please refresh your credentials. Code: AuthorizationFailed Message: The client 'live.com#@yahoo.com' with object id 'c5e6d2eb-6ffb-4d7e-a0db-57d5dad4fe78' does not have authorization to perform action 'Microsoft.Resources/subscriptions/resourcegroups/read' over scope '/subscriptions/63fb4ccd-8431-455e-81bc-f7242ec2650c/resourcegroups/learn-fb2825c8-00c3-425c-9192-7b4fe24baa13' or the scope is invalid. If access was recently granted, please refresh your credentials.

Azure | Azure Training
0 comments No comments

Answer accepted by question author

Dillon Silzer 60,926 Reputation points Volunteer Moderator
2024-02-02T00:37:18.5733333+00:00

Hi Boris,

#1 Try to use an incognito browser/private tab and login with your credentials again (as recommend at the end)

#2 If you are trying to create a resource in a subscription that you do not have permissions to do so then I'd recommend you sign up for an Azure Free tenant and create a sandbox environment:

https://azure.microsoft.com/en-ca/free

Run Microsoft Learn training exercises in your own subscription

https://learn.microsoft.com/en-us/training/support/use-your-own-subscription

If this is helpful please accept answer.

Was this answer helpful?

1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.