Share via

Code: AuthorizationFailed

Eduard Hostiev 0 Reputation points
2023-08-31T12:09:06.4033333+00:00

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.

Azure | Azure Training

2 answers

Sort by: Most helpful
  1. Swetha A 5 Reputation points
    2023-09-17T13:03:39.1533333+00:00

    follow

    Content is incorrect

    Content doesn’t meet

    Was this answer helpful?

    1 person found this answer helpful.

  2. Anonymous
    2023-09-01T07:47:59.8733333+00:00

    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.

    Was this answer helpful?

    0 comments No comments

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.