Failed to deploy connector. Request failed with status code 400
Applies to
- Cloud Manager
- Microsoft Azure
Issue
New Azure connector deployment is failing with a 400 error in the connector wizard:
{"message":"Failed to deploy connector.","priority":"error"}
{"message":"Request failed with status code 400","priority":"error"}
{"error":{"code":"InvalidTemplateDeployment","message":"The template deployment failed because of policy violation. Please see details for more information.","details":[{"code":"RequestDisallowedByPolicy","target":"the-target","message":"Resource 'the-resource' was disallowed by policy. Policy identifiers: '[{\"policyAssignment\":{\"name\":\"[MAPS Hub&Spokes] Ensure https traffic only for storage account\",\"id\":\"/providers/Microsoft.Management/managementGroups/xx-