An Azure service that is used to provision Windows and Linux virtual machines.
Welcome to Microsoft Q&A,
@MITHILESH GANESH SHARMA I hope you are doing well,
NotAvailableForSubscription means that the selected VM SKU is not currently available to your subscription in that region. This is different from simply having insufficient vCPU quota. Microsoft documents that SKU restrictions can be subscription-specific and can be identified with az vm list-skus.
Since you are seeing the error for multiple VM sizes and regions, I recommend first verifying the restriction directly:
az vm list-skus --location eastus --resource-type virtualMachines --all --output table
Look at the Restrictions column. If the SKU shows NotAvailableForSubscription, the subscription is not eligible to deploy that SKU in that location. Similar case https://learn.microsoft.com/en-us/answers/questions/5916820/unable-to-create-any-virtual-machine-on-new-azure
Also check Azure Policy → Assignments → Allowed resource deployment regions, because Azure for Students subscriptions can have a restricted set of deployment regions.https://learn.microsoft.com/en-us/answers/questions/5987951/quota-increase?page=1#answer-12938336
If the same NotAvailableForSubscription restriction appears for all VM SKUs in every region allowed by the subscription, this is unlikely to be a normal VM capacity issue.
References:
- https://learn.microsoft.com/en-us/azure/azure-resource-manager/troubleshooting/error-sku-not-available
- https://learn.microsoft.com/en-us/azure/virtual-machines/quotas
If this answer helped clarify the platform capabilities and save you troubleshooting time, please consider marking it as Accepted. This helps others in the community find similar solutions.