I am using learning module and while deploying web app under free F1 its showing deployment failed and error is The template deployment failed because of policy violation. please help i need to complete the challenge before tomorrow.
Azure Function template deployment failed error
Template deployment failed because of policy violation when trying “Review + Create” with sample azure functions app (escalator-functions) provided by azure
2 answers
Sort by: Newest
-
-
ajkuma 22,416 Reputation points Microsoft Employee
2019-11-06T17:22:14.83+00:00 Greetings @Rajesh Ojha !
Thanks for the question. Azure Function service is yet to be migrated to Q&A. Please post your question directly on the MSDN forum for the service (Azure Functions forums)
We are actively working to onboard all services. We will make a public announcement once complete.
Thank you for your patience as we evolve the Q&A platform.Having mentioned that, it looks like your subscription includes a resource policy that prevents an action you're trying to perform during deployment. Find the policy that blocks the action. If possible, change your deployment to meet the limitations from the policy.
If you’re not an admin/co-admin on the subscription. Typically, for security or compliance, your subscription administrators might assign policies that limit how resources are deployed. For example, your subscription might have a policy that prevents creating Public IP addresses etc. The error message in the Symptoms section shows the name of the policy. To resolve this problem, review the resource policies, and determine how to deploy resources that comply with those policies.
Select/click the error message to fetch more details the cause.
Kindly checkout this document ‘Troubleshoot common Azure deployment errors with Azure Resource Manager’ for more details on the topic.
You may wish to know about 'Introducing Microsoft Q&A (Preview)' and the supported products/services.