Share via

VMSS Creation Failure in Azure DevOps

Anonymous
2024-10-16T08:04:16.5933333+00:00

The deployment in Azure DevOps is failing during the VMSS creation with the following error:

ERROR: {"status":"Failed","error":{"code":"DeploymentFailed","target":"/subscriptions/XXXXXXXXXXX/resourceGroups/xxxxxxxx/providers/Microsoft.Resources/deployments/vmss_deploy_r42i9On8CkW0WnUD88GumeqS9mRsA3m6","message":"At least one resource deployment operation failed. Please list deployment operations for details. Please see [https://aka.ms/arm-deployment-operations](https://aka.ms/arm-deployment-operations) for usage details.","details":[{"code":"MinimumApiVersionNotSpecifiedForAddressSpaceUpdateInPeeredVnet","message":"Address space update operation on virtual network can not be performed as the minimum required API version for working with Vnet Peering is 2021-01-01, and the provided client API version is 2015-06-15.","details":[]}]}}

Could anyone provide guidance on how to overcome this issue?

Note: Upgrading the Azure CLI tool has been attempted, but the issue occurs intermittently.

Community Center | Not monitored

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.