Template Deployment failure in sandbox because of policy violation: InvalidTemplateDeployment > deny policy action > user_impersonation RRS feed

  • Question

  • Hello,

    I just started this Azure learning path: https://docs.microsoft.com/en-us/learn/paths/create-serverless-applications/

    However I get this error when trying to create a resource (Function App) in the sandbox:

    "The template deployment failed because of policy violation" (no other details)

    The Activity Log shows the error code InvalidTemplateDeployment and a 'deny' policy action.

    The JSON for the deny policy action mentions "user_impersonation"

    I have tried to tweak everything but the error is constant.

    I have 2 microsoft accounts: a professional and a private one. I am using my private account for learning, but I tried with my professional account as well, without luck.

    Any help would be greatly appreciated.



    Wednesday, October 30, 2019 7:34 PM


All replies