I am getting "validation failed notification" while creating a VM.

Ilemobola Akinmoladun 0 Reputation points
2026-09-28T19:43:43.2433333+00:00

I need to create a VM with a student subscription. I have tried different regions; however, it keeps showing a "validation failed" notification.

Azure Virtual Machines
Azure Virtual Machines

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

0 comments No comments

2 answers

Sort by: Most helpful
  1. TP 163.6K Reputation points Volunteer Moderator
    2026-09-28T19:56:58.5766667+00:00

    Hi,

    Are you trying to create VM in one of your allowed regions? 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?

    0 comments No comments

  2. AI answer

    2026-09-28T19:43:57.58+00:00

    For an Azure for Students subscription, this usually means an Azure Policy is restricting where the VM can be deployed, and sometimes which VM sizes are allowed.

    Try this:

    1. In the Azure portal, go to Azure Policy → Authoring → Assignments.
    2. Look for an assignment such as Allowed resource deployment regions or Allowed locations.
    3. Open that assignment and check the Parameter value for the allowed regions.
    4. Create the VM only in one of those listed regions.

    If the VM still fails validation after selecting an allowed region:

    1. Check whether the VM size is available for the subscription in that region. Some student subscriptions have SKU restrictions, and a VM size can show as NotAvailableForSubscription.
    2. Try a different supported region from the policy assignment.
    3. Try a different VM size if the selected size is restricted for that subscription.

    To get more detail on the failure in the portal:

    1. Select the bell icon to open the notifications panel.
    2. Open the failed deployment notification and review the error details.
    3. If needed, check the Activity logs for the VM creation attempt.

    If the error specifically mentions RequestDisallowedByAzure, the cause is the subscription policy restriction, not a general VM creation issue.


    References:

    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer 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.