Cheat Sheet
This is a shot guide to explain the Azure CLI.
Version
Verify the installation and check the version. The following command will display the version if everything is installed properly.
az --version
Login
az login
Subscription
List subscriptions
az account list
az account list -o table
az account list --output table
Set preferred subscription with
az account set --subscription 'subscription-name'
Web App Settings
Ending with ) can be an issue, so double quotes will solve this.
az webapp config appsettings set -g resGroup -n appContainer --settings "DOCKER_REGISTRY_SERVER_PASSWORD=""@Microsoft.KeyVault(SecretUri=https://myregistry.vault.azure.net/secrets/docker-registry-server-password/)"""