Skip to content
RTFE_
Error library
ARM / DeploymentsAzure Resource ManagerKnown error

AnotherOperationInProgress

Something else is changing it

Concurrency

What the error looks like

  • Error code
  • WHO — identity
  • WHAT — action
  • WHERE — scope
  • Policy
  • Correlation / trace
{
  "error": {
    "code": "AnotherOperationInProgressCODE",
    "message": "Another operation on this or dependent resource is in progress. To retrieve status of the operation use uri: https://management.azure.com/subscriptions/00000000-1111-4222-8333-444444444444WHO/providers/Microsoft.Network/locations/westeurope/operations/22222222-3333-4444-8555-666666666666TRACE?api-version=2023-09-01."
  }
}

What you told me

“Azure is flaky.”

you · just now

Let's read it.

RTFE · seen

What it actually says

Another operation is currently modifying this resource (or something it depends on). Azure serialises these.

Azure outage? No. Two writers, one resource.

The fix

  1. 01Wait for the other operation to finish, then retry.
  2. 02Avoid running parallel pipelines/deployments against the same resource (VNets and subnets especially).
  3. 03Add dependsOn / sequencing in IaC where resources share a parent.

Read it faster next time

Check who else is deploying. It's usually your other pipeline.

Further reading

Open Microsoft Learn