An Azure service that is used to provision Windows and Linux virtual machines.
Hi David,
NotAvailableForSubscription means that size is restricted for your particular subscription in that region. It is a separate thing from vCPU quota, which is why registering the providers and having unused quota didn't help. As far as I know, Free Trial subscriptions get access to fewer sizes than Pay-As-You-Go when a region is short on capacity, so nobody can tell you from the outside which region will work for your subscription. You can check every region at once, though, instead of trying them one by one in the portal.
The loop below lists, for each size, the regions where your subscription has no restriction on it. All four sizes are 2 vCPU / 8 GiB and support Generation 2 and Trusted launch, which the Windows 11 image needs. Run it in Cloud Shell (Bash):
for s in Standard_B2s_v2 Standard_B2as_v2 Standard_D2s_v5 Standard_D2as_v5; do
echo "== $s"
az vm list-skus --size $s --all --query '[?length(restrictions)==`0`].locations[0]' -o tsv
done
Without --location the command covers every region, and --all includes the restricted entries so the query can drop them. Any region that comes back for one of these sizes is worth trying. Free Trial subscriptions are allowed to deploy the Windows 11 images for dev/test, so the image itself shouldn't be what blocks you.
If all four lists come back empty, the documented fallback is a SKU request to Azure Support for the size and region you want. The other option is upgrading, and you don't lose the credit by doing that: the remaining credit stays usable until the end of the original 30 days.
Docs: