How to fix (Code: RequestDisallowedByAzure, Target: smartmod), tried all the region available for student account.

Deepak Upadhayay 0 Reputation points
2025-09-03T11:49:55.5866667+00:00
  • Resource 'smartmod' 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, Target: smartmod)
Azure Container Instances
{count} votes

2 answers

Sort by: Most helpful
  1. TP 146K Reputation points Volunteer Moderator
    2025-09-03T11:57:02.0333333+00:00

    Hi Deepak,

    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

    3 people found this answer helpful.

  2. Ankit Yadav 6,990 Reputation points Microsoft External Staff Moderator
    2025-09-04T00:53:13.68+00:00

    Hello Deepak Upadhayay,

    There are restrictions kept from Azure which doesn't allow you to deploy resources in all the regions rather allows you to deploy resources to few limited regions.

    Could you please share the complete error message/screenshot observed at the failure?

    [The validation failure might be having the allowed region names that is allowed to create the resource]

    Workarounds to create ACI:

    • Use services available in allowed regions
    • Upgrade to Pay-As-You-Go
    • Contact support for help

    If the error doesn't show the Allowed regions, you can follow this path to see the allowed regions: Azure Portal → Subscriptions → Policies → “Allowed locations”

    See: https://techcommunity.microsoft.com/discussions/microsoft-learn-for-educators/azure-for-students---locations-now-restricted-by-policy/4442469

    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.