question

JohnEbere-5172 avatar image
0 Votes"
JohnEbere-5172 asked OscarEnriqueOrdoezIzquierdo-4445 commented

deployment verification failed

{"code":"InvalidTemplateDeployment","details":[{"code":"RequestDisallowedByPolicy","target":"ASP-learn0ba7bc0f438d4c04bfe4fa5988-a26e","message":"Resource 'ASP-learn0ba7bc0f438d4c04bfe4fa5988-a26e' was disallowed by policy. (Code: RequestDisallowedByPolicy)","additionalInfo":[{"type":"PolicyViolation","info":{"policyDefinitionDisplayName":"app-service-sku-policy","policySetDefinitionDisplayName":"webapps-initiative","evaluationDetails":{"evaluatedExpressions":[{"result":"True","expressionKind":"Field","expression":"type","path":"type","expressionValue":"Microsoft.Web/serverfarms","targetValue":"Microsoft.Web/serverFarms","operator":"Equals"},{"result":"True","expressionKind":"Field","expression":"Microsoft.Web/serverfarms/sku.name","path":"sku.name","expressionValue":"S1","targetValue":["F1","D1","Y1"],"operator":"NotIn"}]},"policyDefinitionId":"/providers/Microsoft.Management/managementGroups/learn-sandbox-prod/providers/Microsoft.Authorization/policyDefinitions/app-service-sku-policy","policySetDefinitionId":"/providers/Microsoft.Management/managementGroups/learn-sandbox-prod/providers/Microsoft.Authorization/policySetDefinitions/webapps-initiative","policyDefinitionReferenceId":"app-service-sku-policy_1","policySetDefinitionName":"webapps-initiative","policyDefinitionName":"app-service-sku-policy","policyDefinitionEffect":"Deny","policyAssignmentId":"/providers/Microsoft.Management/managementGroups/192fe359-e72a-fa7e-dcd5-95e985e7eac9/providers/Microsoft.Authorization/policyAssignments/webapps-assignment","policyAssignmentName":"webapps-assignment","policyAssignmentScope":"/providers/Microsoft.Management/managementGroups/192fe359-e72a-fa7e-dcd5-95e985e7eac9"}}],"policyDetails":[{"isInitiative":true,"assignmentId":"/providers/Microsoft.Management/managementGroups/192fe359-e72a-fa7e-dcd5-95e985e7eac9/providers/Microsoft.Authorization/policyAssignments/webapps-assignment","assignmentName":"webapps-assignment","auxDefinitions":[{"definitionName":"app-service-sku-policy","nonComplianceMessage":null}],"viewDetailsUri":"https://portal.azure.com#blade/Microsoft_Azure_Policy/EditAssignmentBladeV2/assignmentId/%2Fproviders%2FMicrosoft.Management%2FmanagementGroups%2F192fe359-e72a-fa7e-dcd5-95e985e7eac9%2Fproviders%2FMicrosoft.Authorization%2FpolicyAssignments%2Fwebapps-assignment"}]}],"message":"The template deployment failed because of policy violation. Please see details for more information."}

mem-cm-site-deployment
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

lograste solucionar este error, porque yo tambien tengo este error

0 Votes 0 ·
Jason-MSFT avatar image
0 Votes"
Jason-MSFT answered

Same as your other post at https://docs.microsoft.com/en-us/answers/questions/534833/deployment-valodation-failed.html.

For anyone to be able to help, you need to provide context instead of just copying and pasting a bunch of out-of-context text.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

AllenLiu-MSFT avatar image
0 Votes"
AllenLiu-MSFT answered

Hi, @JohnEbere-5172
Thank you for posting in Microsoft Q&A forum.

Maybe you are the first time to use Q&A forum, in this forum, we use tag to define the problem category. The tag "mem-cm-site-deployment" is for SCCM related issue.
Based on my research, the log you provided looks like a Azure related problem, you may ask your question with a detailed description and attach the tag "azure-policy", then you may get a better support from Azure support engineer.


If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.