【发布时间】:2021-04-14 13:13:40
【问题描述】:
我正在关注 Microsoft 的 quickstart tutorial 创建 Web 应用并将其部署到 Azure 应用服务。当我尝试创建应用服务时,出现此错误:
System.Net.Http.HttpRequestException: {"error":{"code":"InvalidTemplateDeployment","message":"The template deployment failed with multiple errors. Please see details for more information.","details":[{"code":"RequestDisallowedByPolicy","target":"AzureCDN-POC","message":"Resource 'AzureCDN-POC' was disallowed by policy. Policy identifiers: '[{\"policyAssignment\":{\"name\":\"CE Prevent - Web - TagsCompliance\",\"id\":\"/subscriptions/[subscription id]/providers/Microsoft.Authorization/policyAssignments/CE Prevent - Web - TagsCompliance\"}
是什么导致了这个错误,我该如何解决?
【问题讨论】:
-
如果我的回复有帮助,请采纳为答案(点击回复旁边的标记选项将其从灰色切换为填写。),请参阅meta.stackexchange.com/questions/5234/…