Azure / Azure/azure-quickstart-templates

azure-quickstart-templates/azure-governance-operations-automation/ "The subscription is not registered for the resource type 'components' in the location 'Central US'. Please re-register for this provider in order to have access to this locat

Open
#2,792 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Bicep
Stars
14.9k
Forks
16.2k
Avg merge
6d 21h
Merged PRs (30d)
6

Description

Issue regarding AzureDeploy.json

### Issue Details
"The subscription is not registered for the resource type 'components' in the location 'Central US'. Please re-register for this provider in order to have access to this location"

New-AzureRmResourceGroupDeployment : 12:08:03 - Resource Microsoft.Insights/components 'CloudWise4ls3py4rgpni4insights' failed with message '{
"error": {
"code": "MissingRegistrationForLocation",
"message": "The subscription is not registered for the resource type 'components' in the location 'Central US'. Please re-register for this provider in order to have access to this locat
ion."
}
}'

### Repro steps (*if necessary, delete otherwise*)
1. Deploy trough powershell

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with azure-governance-operations-automation/AzureDeploy.json and reproduce the deployment through PowerShell in the reported Central US location. Trace the Microsoft.Insights/components deployment failure and confirm that the template handles the provider-registration condition so the deployment completes successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, powershell
Domain
cloud
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.