When running: pcs -t remotemonitoring -s basic, an error occured when do deployment validation.
It returns the following error:
Deployment validation failed:
{
"code": "LocationNotAvailableForResourceType",
✕ Error: {"code":"LocationNotAvailableForResourceType","message":"The provided location 'chinanorth2' is not available for resource type 'Microsoft.Web/connections'. List of available regions for the resource type is 'chinanorth,chinaeast'."}
Steps to reproduce
pcs login -e AzureChinaCloud
pcs -t remotemonitoring -s basic
Select a location: China North 2
Expected behavior
Deployment validation succeed and go to the next step
Current behavior
Deployment validation failed and block the deployment process
Known workarounds
Change the location of 'Microsoft.Web/connections' in arm template.
Find the 'variables' definition in basic-static-map.json
Change "location": "[resourceGroup().location]" to "location": "chinanorth"
Possible solution
Set an available location for Microsoft.Web/connections
Type of issue
Description
When running: pcs -t remotemonitoring -s basic, an error occured when do deployment validation. It returns the following error: Deployment validation failed: { "code": "LocationNotAvailableForResourceType", ✕ Error: {"code":"LocationNotAvailableForResourceType","message":"The provided location 'chinanorth2' is not available for resource type 'Microsoft.Web/connections'. List of available regions for the resource type is 'chinanorth,chinaeast'."}
Steps to reproduce
Expected behavior
Deployment validation succeed and go to the next step
Current behavior
Deployment validation failed and block the deployment process
Known workarounds
Change the location of 'Microsoft.Web/connections' in arm template.
Possible solution
Set an available location for Microsoft.Web/connections
Context and Environment
• Operating System: Win10 1903 • GitHub branch: 51dacd2aa4 • Node.js Runtime: v10.16.0