Ana içeriğe atla
KULLANIMA SUNULDU

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

Yayımlanma tarihi: 21 Kasım, 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

  • Application Insights
  • Features
  • Regions & Datacenters