1. How do we change the location of a Resource Group?
2. How do we prevent Azure from changing the location of a Resource Group so we may maintain our environment when we add or change the resources?
Details:
Azure changed our Resource Group Location to South Central US after months of using the VMs and other resources in West US. We did not request this change nor want it. We are unable to add new virtual machines because of a new conflict between the Resource Group location and where the actual resources are located.
Example:
PS C:\> Get-AzureResourceGroup -Name ourgroup1 | fl
ResourceGroupName : ourgroup1
Location : southcentralus
ProvisioningState : Succeeded
Tags :
Permissions :
Actions NotActions
======= ==========
*
Resources :
Name Type
Location
============== ======================================== ========
cloudservice1 Microsoft.ClassicCompute/domainNames westus
cloudservice2 Microsoft.ClassicCompute/domainNames westus
cloudservice3 Microsoft.ClassicCompute/domainNames westus
cloudservice4 Microsoft.ClassicCompute/domainNames westus
vm01 Microsoft.ClassicCompute/virtualMachines westus
vm02 Microsoft.ClassicCompute/virtualMachines westus
vm03 Microsoft.ClassicCompute/virtualMachines westus
vm04 Microsoft.ClassicCompute/virtualMachines westus
storage1 Microsoft.ClassicStorage/storageAccounts westus
storage2 Microsoft.ClassicStorage/storageAccounts westus
ResourceId : /subscriptions/<number_available_upon_request/resourceGroups/ourgroup1