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