Share via

Container Registry Student Subcription Creation Location Error

charles g 0 Reputation points
2026-03-08T19:19:09.11+00:00

Resource ' 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.."

Azure Container Registry
Azure Container Registry

An Azure service that provides a registry of Docker and Open Container Initiative images.

0 comments No comments

2 answers

Sort by: Most helpful
  1. Manish Deshpande 6,835 Reputation points Microsoft External Staff Moderator
    2026-03-12T06:46:42.4266667+00:00

    Hello Charles,

    I understand how frustrating this is—especially when you’re trying to set up resources quickly for coursework. The message “RequestDisallowedByAzure… best available regions…” confirms that your Azure for Students subscription is restricted by an Azure Policy that limits which regions can be used for deployments, and Azure is correctly blocking the request because the selected location isn’t allowed.

    • Please go to Azure Portal → Policy → Assignments, open the assignment such as “Allowed locations / Allowed resource deployment regions”, and check the Allowed locations list.
    • Then, create the Container Registry in one of those allowed regions and retry. This aligns the deployment with the policy requirements.

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

    If it still fails in all allowed regions:

    In some cases with Azure for Students, region/service availability may not overlap and the restriction may not be overrideable from the subscription side; in that scenario, the practical workaround is to use a standard subscription type (e.g., Pay-As-You-Go).

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

    If the issue persists, we’re happy to assist further—please post the allowed regions list from the Policy assignment and the region you attempted in the Comment section, and we will respond promptly.

    Thanks,
    Manish.

    Was this answer helpful?


  2. AI answer

    2026-03-08T19:19:22.6066667+00:00

    The error message indicates that a region optimization or access policy is restricting where the student subscription can create resources, including Azure Container Registry. The subscription is allowed to deploy only in a specific set of “best available” regions, and the region selected for the registry is outside that allowed set.

    To proceed, use one of these approaches:

    1. Try creating the registry in an allowed region
      • In the Azure portal, when creating the Container Registry, select a different region from the Location dropdown.
      • The policy text usually appears together with a list or hint of regions that are allowed. Choose one of those regions and redeploy the registry there.
    2. If a different region is required for business or technical reasons
      • The policy description explicitly states that additional or different regions require contacting support.
      • In the Azure portal, open Help + support and create a support request:
        • Choose the subscription affected (the student subscription).
        • Select a problem type related to Service and subscription limits (quotas) or Region access.
        • Explain that the region optimization policy is blocking deployments and justify why another region is required.
      • Microsoft support will review whether region access can be adjusted for the subscription.

    Until support changes the policy scope, deployments must be done only in the regions allowed by the optimization policy.


    References:

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

    Was this answer helpful?

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.