[Azure] Virtual Machine Scale Set deployment is failing with InternalExecutionError

Rushikesh Gaidhani 161 Reputation points
2023-12-09T00:07:39.2033333+00:00

Hello,

I am trying to perform a rolling upgrade on a virtual machine scale set but it is failing with the following error,

The resource write operation failed to complete successfully, because it reached terminal provisioning state 'Failed'. (Code: ResourceDeploymentFailure, Target: /subscriptions/<subscription-id>/resourceGroups/<resource-group>/providers/Microsoft.Compute/virtualMachineScaleSets/<vmss-name>)

The scale set deployment status is conflict with error
An internal execution error occurred. Please retry later. (Code: InternalExecutionError)

The logs doesn't give much information about the cause of the failure. I would appreciate any help here.

Azure Virtual Machine Scale Sets
Azure Virtual Machine Scale Sets
Azure compute resources that are used to create and manage groups of heterogeneous load-balanced virtual machines.
353 questions
{count} vote

2 answers

Sort by: Most helpful
  1. Sedat SALMAN 13,180 Reputation points
    2023-12-09T04:23:00.1166667+00:00

    The InternalExecutionError is often caused by a temporary problem within Azure itself. Microsoft suggests retrying the deployment as a primary step

    https://learn.microsoft.com/en-us/azure/azure-resource-manager/templates/common-deployment-errors


  2. Rushikesh Gaidhani 161 Reputation points
    2024-02-07T20:54:57.54+00:00

    Not observing any more failures. The fix is rolled out across all the regions.

    0 comments No comments