For system, network and cloud administrators
In order to create a new Azure resource group, remember you’ll also have to mention a location.
New-AzResourceGroup -Name yourresourcegroupname -Location westeurope
Sometimes it helps to create a resource group in Azure that has the same location as a specific desired resource group. Open an Azure PowerShell session and type:
$location = (Get-AzResourceGroup -Name theresourcegroupiwanttocopyfrom).Location $rgname = 'thenewresourcegroup' New-AzResourceGroup -Name $rgname -Location $location