Azure VM unable to deploy from custom image: Conflict

William Bonomo 1 Reputation point
2022-02-23T17:19:38.52+00:00

Hi there,

I have customized a Windows Server 2019 VM and then created an image for future use.
As a requirement, I have generalized this VM which made it useless. Obviously, I thought - let's just spin up a new VM using this new image - so I did. The basics of a VM service didn't work.
The deployment is failing when it creates the VM, please, see the screenshot.

Can anyone advise what would make this deployment conflict?

177268-deploymenterrormasked.jpg

TA, William.

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,164 questions
{count} votes

3 answers

Sort by: Most helpful
  1. William Bonomo 1 Reputation point
    2022-02-24T09:03:00.387+00:00

    Hi @srbhatta-MSFT . On the screenshot you can see pretty much the whole message.
    Please, see below from the deployment logs:

          "statusCode": "Conflict",  
          "statusMessage": {  
            "status": "Failed",  
            "error": {  
              "code": "InternalExecutionError",  
              "message": "An internal execution error occurred. Please retry later."  
            }  
          },  
          "targetResource": {  
            "id": "/****************/resourceGroups/rg-publicVMs-prd-uks/providers/Microsoft.Compute/virtualMachines/vmUTIL01",  
            "resourceType": "Microsoft.Compute/virtualMachines",  
            "resourceName": "vmUTIL01"  
          }  
        }  
    

  2. William Bonomo 1 Reputation point
    2022-02-24T14:44:56.103+00:00

    I just gave up. I lost more time trying to make it work than I would take to set up a VM from scratch.


  3. odeddip 1 Reputation point
    2022-07-25T08:26:40.517+00:00

    Im getting the same issue from the jenkins plugin (azure vm agents), decided to go with custom arm scripts as it takes much less time to debug and deploy. I think this technology isn't mature enough as there isn't a way to make it work with a custom image only with the built in one.

    0 comments No comments