Share via

Operation is not allowed since VM has an extension in failed state - failed to upgrade managed disks

nn 0 Reputation points
2026-03-31T02:30:28.5433333+00:00

The error "Operation is not allowed since VM has an extension in failed state" occurs in Azure Windows 2012 VM. All the extensions are in Provisioning succeeded status, however the error above is blocking operations migrating to managed disks

Azure Disk Storage
Azure Disk Storage

A high-performance, durable block storage designed to be used with Azure Virtual Machines and Azure VMware Solution.


1 answer

Sort by: Most helpful
  1. nn 0 Reputation points
    2026-04-02T02:52:13.0933333+00:00

    Hi Manish,

    Thank you for your quick response.

    I have followed the instructions you provided, and I am attaching the outcome below.

    Provision status is not displayed.

    Get-AzVM -ResourceGroupName $rgName -Name $vmName -Status | Select-Object -ExpandProperty Extensions | Format-Table Name, Type, ProvisioningState, Statuses -AutoSize

    Name Type ProvisioningState Statuses


    ApplicationMonitoring Microsoft.Azure.Diagnostics.ApplicationMonitoringWindows {Microsoft.Azure.Management.Compute.Models.InstanceViewStatus}

    AzureMonitorWindowsAgent Microsoft.Azure.Monitor.AzureMonitorWindowsAgent {Microsoft.Azure.Management.Compute.Models.InstanceViewStatus}

    AzureNetworkWatcherExtension Microsoft.Azure.NetworkWatcher.NetworkWatcherAgentWindows {Microsoft.Azure.Management.Compute.Models.InstanceViewStatus}

    AzurePerformanceDiagnostics Microsoft.Azure.Performance.Diagnostics.AzurePerformanceDiagnostics {Microsoft.Azure.Management.Compute.Models.InstanceViewStatus}

    MDE.Windows Microsoft.Azure.AzureDefenderForServers.MDE.Windows {Microsoft.Azure.Management.Compute.Models.InstanceViewStatus}

    VMSnapshot Microsoft.Azure.RecoveryServices.VMSnapshot {Microsoft.Azure.Management.Compute.Models.InstanceViewStatus}


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.