Azure Function template deployment failed error

Rajesh Ojha 1 Reputation point

Template deployment failed because of policy violation when trying “Review + Create” with sample azure functions app (escalator-functions) provided by azure

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,505 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. ajkuma 23,741 Reputation points Microsoft Employee

    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.

    0 comments No comments

  2. vikas vs 1 Reputation point

    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.

    0 comments No comments