Earlier in 2016, Microsoft increased the number of Canadian Data Centers to two: Canada East and Canada Central. With most of my customers being within Canada, naturally they want their Azure Backup data stored within the Canada Data Centers/Regions — makes sense for many (legal) reasons. Only problem is, Azure backup is still very limited to specific locations (see chart below).
Fellow Canadian and MVP — Stéphane Lapointe, was able to get this working with some PowerShell magic — Please visit his blog to get the more details of his workaround. The PowerShell code below is workaround to get Azure Backup services bound to the Canadian Regions/Data Centers, specifically the Canada Central region (note, this is still in Preview state), until Microsoft officially allows all Monitoring/ASR services (along with others) to be generally available. This will allow you to create new Azure Backup services and bound them to Canada Central. For more information on this announcement and code details, please visit Microsoft’s announcement.
Also, worth noting, this will only allow you to use Canada Central region for new setup/configurations. It will not change current setups to Canada Central.
Execute the following code on your machine (Run As Administrator…)
Import-Module AzureRM -Force #azure account login stuff $username = "" $cred = New-Object -TypeName System.Management.Automation.PSCredential -argumentlist $username, $password Login-AzureRmAccount -Credential $cred $SubscriptionName = 'Visual Studio Enterprise' #update recovery services to Canada Central from whatever region it may be (US East, US Central, etc.) $ErrorActionPreference = 'Stop' Get-AzureRmSubscription –SubscriptionName $SubscriptionName | Select-AzureRmSubscription Register-AzureRmResourceProvider -ProviderNamespace Microsoft.RecoveryServices Register-AzureRmProviderFeature -FeatureName RecoveryServicesCanada -ProviderNamespace Microsoft.RecoveryServices
After about 5 minutes, I re-ran the query, and the Recovery Services were registered to Canada! Sweet..eh? 🙂
Now you can create new Azure Backup services bound to the Canada Central region: