Last active
July 8, 2025 12:36
-
-
Save mw866/5584861daa987752a76a41dd2c4204a4 to your computer and use it in GitHub Desktop.
#az #azure
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://learn.microsoft.com/en-us/cli/azure/authenticate-azure-cli | |
az login | |
#https://learn.microsoft.com/en-us/cli/azure/manage-azure-subscriptions-azure-cli#change-the-active-subscription | |
az account show | |
az account list | |
az account tenant list | |
az account set --subscription "My Demos" | |
# log out of current account | |
az account logout | |
# log out of all accounts | |
az account clear | |
# https://learn.microsoft.com/en-us/cli/azure/interactive-azure-cli | |
az interactive | |
az role assignment list --all --assignee [email protected] | |
az account list-locations -o table |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment