An Azure service that is used to provision Windows and Linux virtual machines.
Hello Esing
Thank you for reaching out.
From your description, the error “NotAvailableForSubscription” indicates that the requested VM size (B-series) is currently not available for your subscription. This is typically due to subscription-level or capacity-related restrictions, rather than a configuration issue.
For Azure for Students subscriptions, certain VM SKUs or VM families may have limited availability. As a result, some VM sizes may be restricted even if quota appears to be available.
To further validate, you can check the SKU availability and any associated restrictions using the Azure CLI:
az vm list-skus \
--resource-type virtualMachines \
--all \
--query "[?name=='Standard_B1s'].{
Name: name,
Locations: locations,
Restrictions: restrictions
}" \
--output json
In the output, if you see ReasonCode: "NotAvailableForSubscription" then you won't be able to create VM in region
In the output, if you see "ReasonCode": "NotAvailableForSubscription", it confirms that the VM size is restricted for your subscription.
As a workaround, you may try deploying the B-series VM in a different region where the SKU might be available.
Additionally, please note that the original B-series (Bv1) VM family is considered a previous-generation offering with limited capacity. Due to this, availability may be restricted across certain subscriptions and regions.
As an alternative, you may consider using newer VM sizes such as Bsv2, Dsv5, or Esv5, depending on your workload requirements.
Reference: https://learn.microsoft.com/en-us/azure/virtual-machines/sizes/previous-gen-sizes-list?
Azure subscription and service limits, quotas, and constraints
Hope this helps! Please let me know if you have any queries in comments