I created a new Azure Pay-as-you-go Subscription and not able to create an Ubuntu VM

Bhavani Garimella 20 Reputation points
2026-07-16T13:03:09.2333333+00:00

I created a new Azure Pay-as-you-go Subscription and not able to create an Ubuntu VM as non of the vm sizes are available for vm creation in the selected region. Tried changing the location to other available regions but still showing the same error. I Registered Microsoft.Compute service under Subscriptions but still getting the same error msg. Its not allowing me to select any other vm sizes for the selected image as well.

e1d5f22c-45a9-4dbc-9bd2-1ea9b7087339.png

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

AI answer

2026-07-16T13:03:33.2266667+00:00

The error shown is a SKU availability issue for the subscription in that region, not a Microsoft.Compute registration issue.

NotAvailableForSubscription means the VM size is listed, but it isn’t available for the current subscription in the selected region. Azure documents that unavailable SKUs can appear during VM deployment, and the portal will show only sizes available for the selected region/subscription combination.

Use one of these supported checks:

  1. In Azure portal, start creating a VM.
  2. In Size, select See all sizes.
  3. Review the sizes that are actually available for that region and subscription.
  4. If the required size is unavailable, try:
    • a different VM size
    • a different region
    • a different availability zone

If no sizes are available for the current choice, check SKU availability with PowerShell:

Get-AzComputeResourceSku | Where-Object { $_.Locations -contains "eastus2" }

For zonal VM sizes only:

Get-AzComputeResourceSku | Where-Object { $_.Locations -contains "eastus2" -and $_.LocationInfo.Zones -ne $null -and $_.ResourceType -eq "virtualmachines" }

SKUs that are unavailable for the subscription are listed as NotAvailableForSubscription.

If the problem is capacity-related rather than a permanently unsupported SKU, the documented workarounds are:

  • retry later
  • choose a different VM size
  • choose a different region or zone

If the goal is to create a Capacity Reservation, additional blockers can include lack of regional capacity, unsupported VM size, insufficient quota, or using an ineligible subscription type such as Free Trial or Azure for Students. For a Pay-as-you-go subscription, the relevant checks are usually size availability, regional capacity, and quota.


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

Was this answer helpful?

1 person found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. Bhavani Garimella 20 Reputation points
    2026-07-16T13:15:50.4166667+00:00

    Thank you for your quick response. Tried creating vm in supported regions and its successful

    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.