Application Insights: General availability in additional regions and resource location update

Tuesday, November 22, 2016

The Azure Application Insights location used to store application analytics data has two new locations: North Europe and West Europe. Configuration data and analytics data are now stored in the same datacenter for Application Insights. Previously, the location for this data was hidden from the customer, and the resource location was the location of the account configuration for the component.

 

The configuration data was moved to align with the location of the telemetry data as part of the transition to improve transparency in the location of customer data. We apologize for the issues caused by this onetime location change that aligns configuration data and telemetry data for the Application Insights resources included in Microsoft.Insights. AlertRules and AutoScaleSettings were not affected, because these can already be located in most Azure regions.

 

Most Azure Resource Manager templates for Application Insights were written with the location set to “centralus” or “Central US.” This is a breaking change, and these templates will fail with an error message like:

 

The subscription is not registered for the resource type 'components' in the location 'centralus'.

Please re-register for this provider in order to have access to this location.  (Code: MissingRegistrationForLocation)

 

Change the location to the correct US location to resolve this issue.

 

Additionally, only the Microsoft.Insights/components resources were moved. Microsoft.Insights/alertrules and Microsoft.Insights/autoscalesettings were not moved. This can cause additional errors during deployment, particularly if alignment is assumed or resourceGroup.location() is used. If your scripts expect these to be in the same location, these resources can be removed and then redeployed to the correct region.

 

$resource = Get-AzureRmResource

$resource | where { $_.ResourceType -eq 'Microsoft.insights/autoscalesettings' } | Remove-AzureRmResource

$resource | where { $_.ResourceType -eq 'Microsoft.insights/alertrules' } | Remove-AzureRmResource

Free account

Sign up now and get $200 in Azure credit

Start free

Visual Studio

Subscribers get up to $1800 per year of Azure services

Activate now

Startups

Join the BizSpark program and get free Azure services

Learn more