Azure for Student Validation Failure - Need this to complete assignment...

Kai Yang 20 Reputation points
2025-10-23T23:57:49.04+00:00

{

"code": "InvalidTemplateDeployment",

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

"details": [

{

  "code": "RequestDisallowedByAzure",

  "target": "mem6287",

  "message": "Resource 'mem6287' 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 Databricks
Azure Databricks
An Apache Spark-based analytics platform optimized for Azure.
0 comments No comments
{count} votes

Answer accepted by question author
  1. TP 141.8K Reputation points Volunteer Moderator
    2025-10-24T00:22:02.4966667+00:00

    Hi Kai Yang,

    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

    1 person found this answer helpful.

0 additional answers

Sort by: Most 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.