question

Bravocosta-6763 avatar image
0 Votes"
Bravocosta-6763 asked ·

Error: Resource 'ServicePlanxxxx' was disallowed by policy. (Code: RequetsDisallowedByPolicy)

I am stuck on step 7 (Create a Website hosted in Azure)

Material link: https://docs.microsoft.com/en-us/learn/modules/welcome-to-azure/4-exercise-create-website

Error: Resource 'ServicePlanxxxxxxxxx' was disallowed by policy. (Code: RequetsDisallowedByPolicy)

Does someone can help please?

Regards,

azure-webappsazure-webapps-apis
10 |1000 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.

1 Answer

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

@Bravocosta-6763, Thanks for posting this good question!

The subscription admin may have disabled provisioning of that specific App Service Plan (ASP) tier. You may try deploying the WebApp with a lower or a different ASP tier or contact your subscription admin/co-admin.
You may navigate to Azure Policies and review the policy that is applied by looking at the policy definition with the ID that you received and contact your subscription administrator who created this policy for further information.

Just to highlight more, the pricing tier of an App Service plan determines what App Service features you get and how much you pay for the plan.
We have different pricing tier (Free, Shared, Basic, Standard, Premium, PremiumV2, PremiumV3, Isolated)

For more information, please see checkout What is Azure Policy?
RequestDisallowedByPolicy Error -Symptom and Solution


Hope this helps put you on track for the course/exercise completion. Happy learning!


·
10 |1000 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.