An Azure service that is used to provision Windows and Linux virtual machines.
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:
- In Azure portal, start creating a VM.
- In Size, select See all sizes.
- Review the sizes that are actually available for that region and subscription.
- 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.