Cant create VMs

Tejas Chauhan 20 Reputation points
2025-10-05T03:42:36.73+00:00

I am unable to create any virtual machines in any regions with my azure for students subscription after renewing. I am getting this error on all regions and sku(s)
{ 'code': 'InvalidTemplateDeployment', 'message': 'The template deployment failed with multiple errors. Please see details for more information.', 'details': [ { 'code': 'RequestDisallowedByAzure', 'target': 'srv-prod-1783', 'message': 'Resource 'srv-prod-1783' 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': 'srv-prod-1-nsg', 'message': 'Resource 'srv-prod-1-nsg' 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': 'srv-prod-1-vnet', 'message': 'Resource 'srv-prod-1-vnet' 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': 'srv-prod-1-ip', 'message': 'Resource 'srv-prod-1-ip' 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': 'srv-prod-1', 'message': 'Resource 'srv-prod-1' 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..' } ] }

I have contacted azure support about this but havent recieved a reply on my support request from over 4 days.

Azure Virtual Machines
Azure Virtual Machines

An Azure service that is used to provision Windows and Linux virtual machines.

0 comments No comments

Answer accepted by question author

TP 160.9K Reputation points Volunteer Moderator
2025-10-05T04:12:41.6033333+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

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Anonymous
    2025-10-05T04:25:40.8133333+00:00

    Hello Tejas Chauhan,

    Azure puts some in built policies on these types of subscriptions, so you’ll only be able to deploy resources in a few selected regions instead of all of them.

    Availability can differ depending on your subscription, so we’re not able to suggest specific regions for creating the VM.

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

    Workarounds to create VM:

    • Use services available in allowed regions
    • Upgrade to Pay-As-You-Go

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

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

    Do let me know if this clears things up or if you hit any blockers following the suggestions.

    Was this answer helpful?

    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.