No subscriptions found for xyz@gmail.com after typing az login

Blackout Devs 20 Reputation points
2024-07-06T11:02:48.9833333+00:00

I am following the tutorial provided by Microsoft Learning Path on AZ-400. I have encountered the error below and I am not sure how to proceed. Does AZ-CLI require a paid subscription? Do I need subscriptions in general in order to proceed with the AZ400 Learning Path? Thanks.

Error:
az login
Please select the account you want to log in with.

Retrieving tenants and subscriptions for the selection...

No subscriptions found for xyz@gmail.com

This question is related to the following Learning Module

Azure Training
Azure Training
Azure: A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.Training: Instruction to develop new skills.
1,580 questions
0 comments No comments
{count} votes

Accepted answer
  1. Marcin Policht 23,700 Reputation points MVP
    2024-07-06T14:37:39.3766667+00:00

    Azure CLI is a collection of commands that allow you to manage Azure resources. As such, to effectively use Azure CLI, you would need access to a subscription (although you can also use it to interact with Entra tenant, in which case you would be able to run a subset of commands that involve working with tenant only). This does NOT have to be a paid subscription though - any subscription would suffice.

    Btw. the learning module you referenced, involves the use of an Azure DevOps extension of Azure CLI. To use it, sign up for Azure DevOps by following https://video2.skills-academy.com/en-us/azure/devops/user-guide/sign-up-invite-teammates?view=azure-devops&tabs=microsoft-account


    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.

    hth

    Marcin


0 additional answers

Sort by: Most helpful

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.