azure vmss update ERROR: Deployment failed. VM has reported a failure when processing extension 'LinuxDiagnostic'. Error message: "Enabled failed".

Kevin1 Wang(王詩凱) 26 Reputation points
2021-05-03T04:26:35.167+00:00

First, we execute a task including the command:

az vmss update --resource-group $resourcegroup --name $vmss --set virtualMachineProfile.storageProfile.imageReference.id=$sourceimage --set tags.releaseImage=$tag
az vmss wait --updated --resource-group $resourcegroup --name $vmss

, but wait long time.
So I decide to cancel the command and redeploy.
And then report the error

ERROR: Deployment failed. Correlation ID: XXX. VM has reported a failure when processing extension 'LinuxDiagnostic'. Error message: "Enabled failed".

How can I fix this error? thanks

Azure Cloud Services
Azure Cloud Services
An Azure platform as a service offer that is used to deploy web and cloud applications.
643 questions
Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,161 questions
{count} vote

Accepted answer
  1. Sumarigo-MSFT 43,801 Reputation points Microsoft Employee
    2021-05-03T10:46:49.28+00:00

    @Kevin1 Wang(王詩凱) Thanks for the update! Glad to hear that issue got fixed. Appreciate for sharing the steps which helped you, this would certainly benefit other community members.

    There could be a several reason based on the error message, These articles explain how to determine, diagnose, and fix issues that you might encounter when you use Azure Virtual Machines. In the navigation pane on the left, browse through the article list or use the search box to find issues and solutions.
    https://learn.microsoft.com/en-us/troubleshoot/azure/virtual-machines/welcome-virtual-machines

    Kindly let us know if you have any question we are happy to assist you, also Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you or your answer, this can be beneficial to other community members reading this thread.

    0 comments No comments

0 additional answers

Sort by: Most helpful