An Azure service that is used to provision Windows and Linux virtual machines.
NotAvailableForSubscription means the VM size is not available for that subscription in the selected region or availability zone.
For an Azure Free Trial subscription, this commonly happens because:
- The selected VM SKU is restricted for the subscription.
- The region does not currently have capacity for that VM size.
- Some older or high-demand VM series have capacity restrictions.
Actionable checks:
- In Azure portal, start creating a VM and go to Size.
- Select See all sizes.
- Filter the list and use only sizes that appear as available there for the chosen region. That view shows the SKUs available to the current subscription without needing to complete deployment.
- If using PowerShell, check available compute SKUs for a region:
SKUs that are unavailable for the current subscription are listed asGet-AzComputeResourceSku | Where-Object { $_.Locations -contains "centralus" }NotAvailableForSubscription. - If availability zones are being used, verify zone-specific availability because a size can be unavailable in a specific zone even when the region supports it.
For the VM sizes already tried:
- If the portal or SKU query shows
NotAvailableForSubscription, that size cannot be deployed in that region for the current subscription. - If deployment errors show
SkuNotAvailable, choose another size or deploy to a different location or zones. - If deployment errors show
AllocationFailedorZonalAllocationFailed, the region or zone does not currently have sufficient capacity for that VM size.
Practical next steps:
- Stop retrying the same blocked size/region combinations.
- In the portal, pick a region first, then select a VM size only from See all sizes.
- Prefer alternative VM sizes suggested by Azure when shown during deployment.
- Try a different region or a different VM size if the requested one is unavailable.
- If an availability set is involved, choose a size supported on that availability set’s cluster.