Closed ashdonaldson14 closed 5 years ago
It is because the provider (Microsoft.ContainerService) was not registered automatically for some subscriptions. A customer who sees this error needs to register the provider manually. (See Known workarounds for instruction)
IcM ticket has created and assigned to ACS to see if the provider can be registered automatically to all subscriptions.
https://icm.ad.msft.net/imp/v3/incidents/details/94824211/home
@sakimsft could you please update the TSG with the appropriate set of guidelines for the customers?
@avneet723 I already added TSG at PCS Wiki (below location) since I could not find Wiki or TSG for CLI. https://github.com/Azure/azure-iot-pcs-remote-monitoring-dotnet/wiki/Developer-Troubleshooting-Guide#Resolve-errors-for-resource-provider-registration
Closing this ticket since we have TSG.
Type of issue
Description
In the CLI we should only show the regions where the resources are available
C:\Users\brcaspar\source\pcs-cli>pcs --versionOverride actions-bug-bash --dockerTagOverride testing -s standard -r java ? Enter a solution name: brcaspar-actions-bugbash ? Select a subscription: IOTS ? Select a location: South Central US ? Enter prefix for .azurewebsites.net: brcaspar-actions-bugbash ✓ Application registered: https://portal.azure.com/iotsl.onmicrosoft.com#blade/Microsoft_AAD_IAM/ApplicationBlade/objectId/fe340bb4-77da-4b50-997e-9957bebf460e/appId/7629aaca-1248-4dba-b913-4a13871d0ed2 ✓ Created resource group: https://portal.azure.com/iotsl.onmicrosoft.com#resource/subscriptions/d7ca9718-3a3c-4ce8-8ec9-76a6396c0206/resourceGroups/brcaspar-actions-bugbash ✕ Deployment validation failed: { "code": "LocationNotAvailableForResourceType", "message": "The provided location 'southcentralus' is not available for resource type 'Microsoft.ContainerService/managedClusters'. List of available regions for the resource type is 'eastus,westeurope,centralus,canadacentral,canadaeast,uksouth,westus,westus2,australiaeast,northeurope,japaneast,eastus2,southeastasia,ukwest'." } Error: {"code":"LocationNotAvailableForResourceType","message":"The provided location 'southcentralus' is not available for resource type 'Microsoft.ContainerService/managedClusters'. List of available regions for the resource type is 'eastus,westeurope,centralus,canadacentral,canadaeast,uksouth,westus,westus2,australiaeast,northeurope,japaneast,eastus2,southeastasia,ukwest'."} ...
Steps to reproduce
Expected behavior
...
Current behavior <!-- The actual behavior observed --
...
Known workarounds
Register the provider.
Below is the instruction: https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-manager-register-provider-errors#solution-3---azure-portal
Possible solution
...
Context and Environment