Κοινή χρήση μέσω


az account tenant

Note

This reference is part of the account extension for the Azure CLI (version 2.38.0 or higher). The extension will automatically install the first time you run an az account tenant command. Learn more about extensions.

This command group is experimental and under development. Reference and support levels: https://aka.ms/CLI_refstatus

Manage tenant.

Commands

Name Description Type Status
az account tenant list

Get the tenants for your account.

Extension Experimental

az account tenant list

Experimental

Command group 'account tenant' is experimental and under development. Reference and support levels: https://aka.ms/CLI_refstatus

Get the tenants for your account.

az account tenant list

Examples

listTenants

az account tenant list
Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.