Forrest logo
back to the az tool

az-account:tldr:daeca

az-account: Print a list of subscriptions for the logged in account.
$ az account list
try on your machine

The command "az account list" is a command used in the Azure Command-Line Interface (CLI). It is used to retrieve a list of the subscriptions associated with your Azure account.

When you have multiple Azure subscriptions, this command will display information about each subscription, such as its ID, name, and state. It can also show additional details like the tenant ID, the environment name, and the user assigned to the subscription.

By running this command, you can quickly see all your active subscriptions and their relevant information. This can be useful when managing multiple subscriptions or when working with different Azure environments.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the az tool