An Azure service that is used to provision Windows and Linux virtual machines.
Hi Tim,
Thank you for reaching out and for providing the exact error details—this is a very common issue with Azure for Students subscriptions, and I’m happy to help you resolve it quickly.
Your VM creation is being blocked by a built-in Azure Policy named “Allowed resource deployment regions” (Policy Definition ID: b86dabb9-b578-4d7b-b842-3b45e95769a1). This policy automatically restricts every Azure for Students subscription to a small, subscription-specific list of “best available” regions (typically 3–5 regions, often US-based such as East US, West US, etc.). The goal is to guarantee optimal performance, service availability, and cost efficiency for student accounts.
You cannot change or override this policy on a Student subscription, and the allowed regions vary per account. The error message you see is exactly what this policy produces when you try to deploy outside the permitted list.
Official Microsoft documentation explaining the policy (including its exact description):
https://www.azadvertizer.net/azpolicyadvertizer/b86dabb9-b578-4d7b-b842-3b45e95769a1.html
Steps to perform :
- Sign in to the Azure Portal.
- In the top search bar, type Policy and select Policy.
- In the left menu, go to Authoring → Assignments.
- Look for the assignment named “Allowed resource deployment regions” (or very similar, e.g., “sys.regionrestriction”).
- Click on it → expand Parameters → note the Allowed locations (or listOfAllowedLocations) value. These are the only regions you can use.
- Create a new Resource Group in one of those allowed regions first. Then create your VM (and any related resources like storage, VNet, etc.) in the exact same region.
- For best results on a Student subscription, choose a B-series VM size (e.g., Standard_B1s or B2s) — these are the sizes most commonly available and eligible under the free credit.
Thanks,
Manish.