Share via

Issue with ARM template deploy

Mohammad Iqbal 0 Reputation points
2024-12-03T15:27:11.2466667+00:00

Hello,

I am trying to deploy an ARM template exported from another resource group. But it keeps failing with the error that it conflicts with another deployment that is pending.

The 'Performing deployment' operation conflicts with the pending '' operation started at 2024-12-03T13:53:48.6873798Z. Please retry operation later.

But nothing is pending?

Azure App Service
Azure App Service

Azure App Service is a service used to create and deploy scalable, mission-critical web apps.

0 comments No comments

1 answer

Sort by: Most helpful
  1. Laxman Reddy Revuri 5,475 Reputation points Microsoft External Staff Moderator
    2024-12-04T17:01:21.77+00:00

    Hi @Mohammad Iqbal
    Thanks for the question and using MS Q&A platform.
    1.Check for Pending Deployments Go to the Resource Group and check the Deployments section. Look for any deployments marked as "In Progress" or failures.

    2.If you find any deployments that are stuck, cancel them. https://learn.microsoft.com/en-us/azure/azure-resource-manager/templates/deployment-history?tabs=azure-portal

    3.Ensure no resources in the group have locks preventing changes. You can check for locks under the Locks section of your resource group. https://learn.microsoft.com/en-us/azure/azure-resource-manager/management/lock-resources?tabs=json

    4.Sometimes, internal delays cause conflicts. Wait a few minutes and then retry the ARM template deployment.
    Azure CLI:

    az deployment group list --resource-group <YourResourceGroup>
    

    Azure PowerShell:

     Get-AzResourceGroupDeployment -ResourceGroupName <YourResourceGroup> 
    

    5.If there are any deployments in progress, consider canceling them. https://learn.microsoft.com/en-us/azure/azure-resource-manager/management/manage-resource-groups-cli

    6.Make sure no other operations (such as scaling or manual updates) are running concurrently within the same resource group.

    7.Review the Activity Log in the Azure Portal for any failed provisioning attempts or ongoing operations.
    I hope this information is helpful.
    If the answer is helpful, please click "Accept Answer" and kindly upvote it.

    Was this answer helpful?


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.