Reputation: 1149
I am using Resource Manger API to create Application Insight resource in Azure. Steps are like below:
Then I create the Insights Component under it in East US location, which fails. with below error. However, if I create the Component in Central US location (which is different from the location of containing Resource group), it succeeds.
"error": {
"code": "MissingRegistrationForLocation",
"message": "The subscription is not registered for the resource type 'components' in the location 'southcentralus'. Please re-register for this provider in order to have access to this location."
}
Upvotes: 8
Views: 11213
Reputation: 1846
In my case, was able to resolve the issue by updating Azure within Visual Studio
Tools => Extensions And Updates => Updates => Azure*
Upvotes: 0
Reputation: 61
Yesterday Microsoft announced general availability in additional regions for Application Insights.
Also, you might run into an error when deploying with your current ARM template!
Application Insights: General availability in additional regions
Upvotes: 3
Reputation: 139
I was looking for a good source to back my story, but couldn't find the URL anymore :( . As far as I know the Application Insights services are only available from the Central US location. Which can be causing the error, because you are trying to set up an Insights component in the East US region.
As you can see, the location is locked and therefore it is not possible to choose for East US.
You can keep track of Azure Application Insights service updates at this page. Next to that you can filter the updates only to see service updates about regions and datacenters.
I hope this helps a little.
Upvotes: 8