An Azure service that is used to provision Windows and Linux virtual machines.
Hi Trevor Basta,
Thank you for sharing the details.
Based on the error message “This** size is currently unavailable in eastus2 for this subscription: ****NotAvailableForSubscription”**, this does not appear to be an issue with the VM image, operating system, or Microsoft.Compute provider registration.
This error means that the selected VM size is currently not available for your subscription in the selected region or availability zone. This can happen even when the subscription is active and quota appears available, because Azure validates quota, SKU** availability, and regional/zonal **capacity separately.
To confirm which VM sizes are available for your subscription, please run the following Azure CLI command:
Shell az vm list-skus --location eastus2 --resource-type virtualMachines --all --output table
Please review the Restrictions column in the output. If a VM size shows NotAvailableForSubscription, that specific size is currently restricted for your subscription in that region or zone.
As a next step, please try deploying a newer-generation VM size, such as a v5, v6, or v7 series VM, in a region where it is available. Azure has introduced capacity limitations for several previous-generation VM series, so new deployments using older VM families may be restricted.
If the newer-generation VM sizes are also unavailable, please submit a VM-family vCPU quota/SKU availability request from the Azure portal:
- Go to Azure** **portal
- Search for Quotas
- Select Compute
- Choose the required subscription and region
- Select a newer-generation VM family, such as Dv5, Dv6, Dv7, Ev5, Ev6, or Ev7, based on your workload requirement
- Select New** Quota **Request and submit the request
Please note that available quota does not guarantee successful VM deployment if the SKU is restricted or if regional capacity is unavailable. If one VM family is restricted, selecting a newer-generation VM family or another region is the recommended path.
Microsoft documentation for reference:
- Resolve errors for SKU not available
- vCPU quotas for Azure Virtual Machines
- Increase VM-family vCPU quotas
- Previous-generation VM size series capacity limitations and migration guidance
Please try the above steps and share the CLI output if the issue persists, so we can review the exact SKU restriction and guide you on the next available VM family or region.
Thanks,
Manasa.