For system, network and cloud administrators
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
In order to view a particular Azure resource group’s location, type in your shell:
az group show --resource-group yourresourcegroup --query location