Hi,
Check the order of resources deployment in your ARM template to avoid any conflict, ie you've to create your private link before KeyVault.
Error AnotherOperationInProgress during vNet creation with NSG and subnets
We are getting AnotherOperationInProgress when deploying our vNet that has couple of Subnets & NSGs.
This isn't a consistent repro, attached is our ARM template 64302-phivnetazuredeploytemplate.txt
Any help is appreciated.
az deployment group create --parameters .\Parameters\Demo2\WUS2\phi.azuredeploy.parameters.json --template-file .\Phi\Templates\PHI.vnet.azuredeploy.template.json
Deployment failed. Correlation ID: 813a1d21-99c0-4c97-99f5-71946c65f77a. {
"error": {
"code": "AnotherOperationInProgress",
"message": "Another operation on this or dependent resource is in progress. To retrieve status of the operation use uri: https://management.azure.com/subscriptions/914dfbe2-db05-4c67-a75e-df16481f9ecb/providers/Microsoft.Network/locations/westus2/operations/9350c5b7-b384-41e1-9b92-d624427c61e0?api-version=2020-05-01.",
"details": []
}
}
2 answers
Sort by: Most helpful
-
Bechir Gharbi 301 Reputation points
2021-02-05T08:20:01.687+00:00 -
SaiKishor-MSFT 17,201 Reputation points
2021-02-11T19:47:27.567+00:00 @Porsche Me Please refer to this link with similar issue- https://stackoverflow.com/questions/62424299/anotheroperationinprogress-when-deploying-multiple-azure-virtual-networks-and-su
Resolution- Stumbled on this one when creating a set of subnets with the copy learn.microsoft.com/en-us/azure/azure-resource-manager/templates/… syntax, one has to use serial mode otherwise the conflict will arise - you cannot deploy multiple subnets in parallel.