Share via

unable to access azure ai services

Soham Shinde 0 Reputation points
2026-03-18T10:21:58.78+00:00

i am unable to access azure ai services because it shows the error "{

"code": "InvalidTemplateDeployment",

"details": [

{

  "code": "RequestDisallowedByAzure",

  "target": "proj-default12",

  "message": "Resource 'proj-default12' 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.."

}
```  ],

  "message": "The template deployment failed because of policy violation. Please see details for more information."

}"

help me with it i have a azure free student account in india and uable to access the ai services 

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. TP 155.2K Reputation points Volunteer Moderator
    2026-03-18T10:30:22.7133333+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

  2. Q&A Assist
    2026-03-18T10:22:19.3866667+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    The error indicates that an Azure Policy in the subscription is blocking deployments to the region being used, and only allowing a specific set of “best available regions.” This is a policy/region restriction issue, not a problem with the Azure AI service itself.

    To move forward, use these steps:

    1. Identify that the deployment is blocked by policy
      • The error InvalidTemplateDeployment with inner code RequestDisallowedByAzure and the message about “This policy maintains a set of best available regions…” means the subscription is governed by a location/region access policy.
      • This policy decides which regions can be used; regions outside that list are blocked.
    2. Try deploying to an allowed region
      • In most cases, the quickest fix is to choose a different Azure region that is allowed by the policy.
      • When creating Azure AI resources (for example via portal, ARM/Bicep, or tools), select another region from the region dropdown that is permitted for the subscription.
      • If the current region is blocked for Azure AI, switching to another region often resolves the error.
    3. If a specific region is required, contact support
      • If there is a strong requirement to use a particular region (for example, for data residency or performance reasons) and that region is blocked by the policy, a remediation request to Microsoft support is required.
      • Follow the documented pattern for region access issues:
        1. Sign in to the Azure portal.
        2. Create a support request under Service and subscription limits (quotas).
        3. In the problem description, clearly state that deployments are blocked by a region access policy and that Azure AI services are needed in a specific region for the student subscription.
      • Microsoft support will review whether that region can be enabled for the subscription. If there is no strong requirement, they will typically recommend using an alternative region instead.
    4. If the policy is organization-managed
      • If the subscription is under an organization/tenant that applies central policies (for example, a university tenant), the tenant or subscription administrator may need to adjust or remove the policy assignment that restricts regions.
      • The admin can:
        • Review the policy assignment in Azure Policy → Assignments.
        • Either broaden the allowed regions or scope the policy so that Azure AI resources can be created where needed.

    For a free student subscription, if there is no admin to change policy and the blocked region is not strictly required, using an allowed region is the practical solution. If the portal still does not show any usable region for Azure AI, open a support request from the subscription to have Microsoft confirm which regions are allowed and whether any adjustment is possible.


    References:

    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.