az account
Manage Azure subscription information.
Commands
az account clear | Clear all subscriptions from the CLI's local cache. |
az account get-access-token | Get a token for utilities to access Azure. |
az account list | Get a list of subscriptions for the logged in account. |
az account list-locations | List supported regions for the current subscription. |
az account lock | Manage Azure subscription level locks. |
az account lock create | Create a subscription lock. |
az account lock delete | Delete a subscription lock. |
az account lock list | List lock information in the subscription. |
az account lock show | Show the details of a subscription lock. |
az account lock update | Update a subscription lock. |
az account management-group | Manage Azure Management Groups. |
az account management-group create | Create a new management group. |
az account management-group delete | Delete an existing management group. |
az account management-group list | List all management groups. |
az account management-group show | Get a specific management group. |
az account management-group subscription | Subscription operations for Management Groups. |
az account management-group subscription add | Add a subscription to a management group. |
az account management-group subscription remove | Remove an existing subscription from a management group. |
az account management-group update | Update an existing management group. |
az account set | Set a subscription to be the current active subscription. |
az account show | Get the details of a subscription. |
az account clear
Clear all subscriptions from the CLI's local cache.
az account clear [--subscription]
Optional Parameters
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
az account get-access-token
Get a token for utilities to access Azure.
az account get-access-token [--resource]
[--subscription]
Optional Parameters
Azure resource endpoints. Default to Azure Resource Manager Use 'az cloud show' command for other Azure resources.
Name or ID of subscription.
az account list
Get a list of subscriptions for the logged in account.
az account list [--all]
[--refresh]
[--subscription]
Optional Parameters
List all subscriptions, rather just 'Enabled' ones.
Retrieve up-to-date subscriptions from server.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
az account list-locations
List supported regions for the current subscription.
az account list-locations [--subscription]
Optional Parameters
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
az account set
Set a subscription to be the current active subscription.
az account set --subscription
Required Parameters
Name or ID of subscription.
az account show
Get the details of a subscription.
az account show [--sdk-auth]
[--subscription]
Optional Parameters
Output result in compatible with Azure SDK auth file.
Name or ID of subscription.
Feedback
Would you like to provide feedback?
Our feedback system is built on GitHub Issues. Read more on our blog.
Loading feedback...