I cannot login to my azure account through the CLI

Ahmed Elfaleh 25 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

Answer accepted by question author
  1. Luis Arias 9,481 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


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.