An Azure service that is used to provision Windows and Linux virtual machines.
Hello Manikanta,
Thank you for reaching out.
Based on the error details shared, the deployment is failing because the Azure subscription currently does not have access to the required VM SKU Standard_D13_v2 in the selected Azure region.
Error observed: “The current subscription id does not allow the VM SKUs [Standard_D13_v2] due to restriction codes [NotAvailableForSubscription].”
This issue is typically related to Azure subscription or regional capacity restrictions rather than an LCS configuration problem. In some cases, specific VM families or SKUs may not be enabled for a subscription or may have limited availability in certain regions.
To validate the availability of the SKU, please run the following Azure CLI command:
az vm list-skus --resource-type virtualMachines --all --query "[?name=='Standard_D13_v2'].{
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 VM in a different region where the SKU might be available.
Using an alternative supported VM SKU such as Standard_DS13_v2, if supported by your LCS deployment requirements
If you would like to deploy the environment in the same Azure region using the same VM size (Standard_D13_v2), please raise an Azure Support request under the Quota category for VM SKU availability validation and enablement
Please find the below reference documents:
How to Create an Azure support request
Azure subscription and service limits, quotas, and constraints
Hope this helps! Please let me know if you have any queries.