How to fix resource group policy issue

Abdulazeez Ayobami Alabi 20 Reputation points
2023-07-26T06:16:23.8866667+00:00

while i was creating a virtual machine, eaach time i tried to select the resource group provided by the sandbox i keep getting an error with policy issue

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
8,361 questions
Azure
Azure
A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.
1,087 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Tech-Hyd-1989 5,811 Reputation points
    2023-07-26T06:45:19.57+00:00

    Hello Abdulazeez Ayobami Alabi

    That sounds like you might be running into a policy issue. Azure policies are used to enforce compliance with security and other requirements. If there is a policy that is preventing you from creating a virtual machine in a particular resource group, you will see an error message that says "Blocked by policy."

    To troubleshoot this issue, you can follow these steps:

    1. Go to the Azure Policy blade in the Azure portal.
    2. Click on the "Subscriptions" tab.
    3. Select the subscription that you are having trouble with.
    4. Click on the "Resource groups" tab.
    5. Find the resource group that you are trying to create a virtual machine in.
    6. Click on the "Policies" tab.
    7. Look for any policies that are assigned to the resource group.
    8. If you find a policy that is blocking you from creating a virtual machine, you can either:
    • Unassign the policy from the resource group.
      • Modify the policy to allow you to create the virtual machine.

    For more information on troubleshooting Azure policy issues, you can refer to the following resources:

    I hope this helps! Let me know if you have any other questions.

    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.