Azure CLI 2 · Sign-in and setup

Set defaults

Set a default resource group and location so you don't repeat them.

az configure --defaults group=my-rg location=westeurope

Official Azure CLI 2 documentation

More sign-in and setup commands

All sign-in and setup commands · Azure CLI 2 cheatsheet

Was this page helpful?