For system, network and cloud administrators

How to set default Azure resource group using Azure CLI

In order to set a default Azure resource group, type:

az configure --defaults group="yourresourcegroup"