Not able to create VM getting error like disallowed by policy

Masyood Mohyidheen 1 Reputation point
2021-08-10T09:48:08.053+00:00

While trying to create Azure 2019 VM getting error like disallowed by policy

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,975 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Devaraj G 2,096 Reputation points
    2021-08-10T10:13:31.93+00:00

    Hi, Thanks for the post.

    For security or compliance, your subscription administrators might assign policies that limit how resources are deployed.
    Just check the assigned policy on your subscription and get the action allowed for successful deployment.

    Refer for more info:
    https://learn.microsoft.com/en-us/azure/azure-resource-manager/templates/error-policy-requestdisallowedbypolicy

    0 comments No comments

  2. Kasun Rajapakse 431 Reputation points
    2021-08-10T16:27:48.877+00:00

    This is due to the policy applied by the organization with Azure Policy. You can contact the Azure administrator.

    Check below link

    https://learn.microsoft.com/en-us/azure/virtual-machines/windows/policy

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.