Resource 'vnet-eastus2-1' was disallowed by policy. (Code: RequestDisallowedByPolicy, Policy(s): Not allowed resource types Policy link (Reason: As per security policy this is Not Allowed Resource, please connect with Cloud Team.))

Sradhanjali Senapati 0 Reputation points
2026-08-26T04:39:25.8+00:00

Resource 'vnet-eastus2-1' was disallowed by policy. (Code: RequestDisallowedByPolicy, Policy(s): Not allowed resource types Policy link (Reason: As per security policy this is Not Allowed Resource, please connect with Cloud Team.))

Azure Policy
Azure Policy

An Azure service that is used to implement corporate governance and standards at scale for Azure resources.

0 comments No comments

2 answers

Sort by: Most helpful
  1. AI answer

    2026-08-26T04:39:40.1666667+00:00

    RequestDisallowedByPolicy means the virtual network deployment is being blocked by an Azure Policy assignment in the environment. In this case, the blocking policy is Not allowed resource types, which is used to deny creation of specific resource types.

    What this means:

    1. The subscription, management group, or resource group has a policy assignment that disallows the resource type being deployed.
    2. Azure blocks the deployment when the resource doesn't comply with that policy.
    3. The error message includes the policy assignment name and policy definition so the blocking rule can be identified.

    What to do next:

    1. In Azure portal, go to Policy.
    2. Open Assignments and locate the assignment named Not allowed resource types.
    3. Open the assignment and review the Parameters to see which resource types are disallowed.
    4. If a virtual network resource type is disallowed, either:
      • deploy a different resource that complies with policy, or
      • have the policy assignment updated by the team that manages Azure Policy in the environment.
    5. If an exception is intended for a lower scope, an exemption can be created for that subscope.

    If command-line inspection is preferred, the policy details can be checked with:

    az policy definition show --name {policy-name}
    az policy assignment show --name {assignment-name} --resource-group {resource-group-name}
    

    If the policy is centrally managed and the message says to contact the Cloud Team, the required action is for that team to review the assignment or create an exemption. This is not a deployment error in the virtual network itself; it is a governance restriction.


    References:

    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

    1 person found this answer helpful.
  2. Stanislav Zhelyazkov 29,826 Reputation points MVP Volunteer Moderator
    2026-08-26T05:16:24.55+00:00

    Hi,

    This means that you have a Azure policy that does not allow that resource to be deployed. You should contact the team that is responsible for the Azure policies within your organization as this is not a default setting. By default there are no Azure policies assigned. Usually such policies are a managed by a single team or multiple teams responsible for the compliance of your organization.

    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

    Was this answer helpful?

    0 comments No comments

Your answer

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