An Azure service that is used to provision Windows and Linux virtual machines.
Hi Srinivas Immanni,
The "NotAvailableForSubscription" error for free-tier VM sizes such as B1s in Azure free trials is due to high demand, limited regional capacity, and subscription quotas often set to zero cores in many locations. Free accounts have more restrictions than paid ones, so popular regions like East US are often unavailable.
This can be frustrating, but there are a few things you can do to resolve this issue.
- Check subscription quotas
- Go to Azure Portal > Subscriptions > Usage + quotas.
- Look under Compute > Virtual Machines (cores) by region.
- Verify if your free trial subscription has a zero or limited quota for the regions.
- Request quota increase via Azure support if possible.
2.Select alternate regions
- Popular regions like East US often have capacity constraints for free tiers.
- Try regions with typically better free tier availability like Australia East, Southeast Asia, Central US, or Canada Central.
Use the Azure portal option "View all sizes" to see VM size availability by region
3.Use Azure CLI or PowerShell for creation
- Try creating the VM with a CLI command targeting a specific region and size:
az vm create --resource-group myResourceGroup --name myVM --image Ubuntu2204 --size Standard_B1s --location australiaeast --admin-username azureuser --admin-password YourPassword123!
4.Disable spending limits
- Sometimes spending limits on free accounts prevent VM creation.
- Check Cost Management + Billing for spend limit status and disable if necessary.
Refer to Documenation:
- Common issues: Unavailable virtual machine SKU-
- Troubleshoot allocation failures when you create or resize VMs in Azure
I hope the above helps. Please let us know if you have any further questions on this.
Thank You!