Error creating a word press page from sandboxes learn

HUMBERTO LUJAN 1 Reputation point
2021-04-18T00:12:15.063+00:00

I am creting a word press page from a sandboxes learn. I am following the guide:https://learn.microsoft.com/es-es/learn/modules/azure-architecture-fundamentals/exercise-create-website

I am getting the following error:
"code":"InvalidTemplateDeployment","message":"No se pudo implementar la plantilla por infracción de la directiva, La directiva no permitió el recurso \"ServicePlan0b82d179-93a0\ Código: RequestDisallowedByPolicy

88778-errorwordpress.png

I used Microsoft Learn Sanbox diectory.

88779-directory.png

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,977 questions
Microsoft Security | Microsoft Graph
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. JayaC-MSFT 5,606 Reputation points
    2021-04-19T06:22:35.763+00:00

    Hello @HUMBERTO LUJAN , I believe these will help in this case :
    https://serverfault.com/questions/981713/in-azure-sandbox-cant-create-a-wordpress-site

    https://learn.microsoft.com/en-us/answers/questions/259252/the-template-deployment-failed-because-of-policy-v.html

    To reiterate : Azure Policy enforces organization standards and check compliance of resources. Based on the information, there seems to be a Azure Policy Definition which allows only App Service Plan with specific tiers among the available tiers ( Free ,Shared (preview) ,Standard, Premium, PremiumV2, PremiumV3, Isolated). Kindly check the allowed tiers in your subscription. For more information , on how to check tiers allowed, refer this article. To resolve, re-run the excercise using either Free or Shared (preview) tiers of AppService resource.
    Let us know if issue persists and we will gladly assist further.

    If this answer helps, please Accept the answer and Up-vote so that it helps others in the community.

    0 comments No comments

  2. HUMBERTO LUJAN 1 Reputation point
    2021-05-14T05:27:21.133+00:00

    if I could complete it. You must select the F1 rate, step 11 of the guide.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.