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."
}
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.