I cannot login to my azure account through the CLI

Ahmed El Faleh 5 Reputation points
2024-10-19T19:33:53.2766667+00:00

Exercise - Create an Azure virtual machine

I am asked to enter az login.

Please run 'az login' to setup account.

azureuser [ ~ ]$ az login

Cloud Shell is automatically authenticated under the initial account signed-in with. Run 'az login' only if you need to use a different account

To sign in, use a web browser to open the page https://microsoft.com/devicelogin and enter the code IQ88XNQH4 to authenticate.

I did that, and then I receives:

Retrieving tenants and subscriptions for the selection...

(InternalServerError) :

Code: InternalServerError

Message: :

I need to complete the exercise

Azure Azure Training
{count} vote

1 answer

Sort by: Most helpful
  1. Luis Arias 8,621 Reputation points Volunteer Moderator
    2024-10-19T19:48:10.8466667+00:00

    Hi please follow this thread https://learn.microsoft.com/en-us/answers/questions/1182366/can-not-sign-into-sandbox

    If the above response helps answer your question, remember to "Accept Answer" so that others in the community facing similar issues can easily find the solution. Your contribution is highly appreciated.

    Regards,

    Luis


Your answer

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