For system, network and cloud administrators
In order to make a particular Azure subscription as a default subscription, type:
az account set --subscription "yourAzuresubscriptionID"
In order to set a default Azure resource group, type:
az configure --defaults group="yourresourcegroup"
In order to create a new Azure resource group, remember you’ll also have to mention a location.
New-AzResourceGroup -Name yourresourcegroupname -Location westeurope