Share via

az group create --name my-res-hub --location eastus

NURADIN HASSAN 0 Reputation points
2026-02-19T20:12:30.2733333+00:00

az group create --name my-res-hub --location eastus

(RequestDisallowedByAzure) Resource 'my-res-hub' was disallowed by Azure: This policy maintains a set of best available regions where your subscription can deploy resources. The objective of this policy is to ensure that your subscription has full access to Azure services with optimal performance. Should you need additional or different regions, contact support..

Code: RequestDisallowedByAzure

Message: Resource 'my-res-hub' was disallowed by Azure: This policy maintains a set of best available regions where your subscription can deploy resources. The objective of this policy is to ensure that your subscription has full access to Azure services with optimal performance. Should you need additional or different regions, contact support..

Target: my-res-hub

Azure Cost Management
Azure Cost Management

A Microsoft offering that enables tracking of cloud usage and expenditures for Azure and other cloud providers.

{count} votes

2 answers

Sort by: Most helpful
  1. Suchitra Suregaunkar 8,635 Reputation points Microsoft External Staff Moderator
    2026-02-20T09:07:54.16+00:00

    Hello NURADIN HASSAN

    Thank you for posting your query on Microsoft Q&A platform.

    Your organization assigns policies to enforce organizational standards and to assess compliance at-scale. If you're trying to deploy a resource that violates a policy, the deployment is blocked.

    The error message “RequestDisallowedByAzure” indicates that the resources you're trying to deploy are blocked due to a policy restricting the Azure regions where your subscription can create resources.

    In your case, eastus is not one of the allowed regions, so the resource group my-res-hub is blocked at creation time.

    This policy is commonly applied to Azure for Students, Free Trial, Sponsored, and region‑optimized subscriptions to ensure service availability and capacity management.

    This usually happens when an Azure Policy such as “Allowed locations” or “Allowed resource deployment regions” is applied to ensure compliance and control over where resources can be deployed.

    Verify:

    1. In the Azure Portal, go to Policy > Assignments, and look for Allowed locations.
    2. Open the policy assignment and check the Parameters tab to see the list of approved regions.
    3. Make sure to create your resource group in one of these allowed regions.

    User's image

    User's image

    If you need access to regions outside this list, you may need to contact Azure support for further assistance.

    Reference: https://learn.microsoft.com/en-us/azure/azure-resource-manager/troubleshooting/error-policy-requestdisallowedbypolicy?tabs=azure-cli

    Please find the documentation to raise support request:

    https://learn.microsoft.com/en-us/azure/azure-portal/supportability/how-to-create-azure-support-request

    Hope this helps. Please let me know if you have any queries.

    Thanks,

    Suchitra.

    0 comments No comments

  2. TP 150.9K Reputation points Volunteer Moderator
    2026-02-19T20:14:28.09+00:00

    Hi,

    Azure for Students restricts which regions you can deploy resources to. Typically you are restricted to five different regions, and these vary for each person.

    Please navigate to Azure Policy -- Authoring -- Assignments using link below:

    https://portal.azure.com/#view/Microsoft_Azure_Policy/PolicyMenuBlade/~/Assignments

    Click on assignment named Allowed resource deployment regions

    User's image

    Examine Allowed locations Parameter value for list of regions, similar to below (regions in screenshot are different than yours):

    User's image

    The regions shown in your Parameter value are the ones you are allowed to deploy resources to. Please try to create resources in one of these regions and let me know the results.

    Please click Accept Answer and upvote if the above was helpful.

    Thanks.

    -TP

    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.