Unable to delete Azure VM

Cloud_Geek_82 831 Reputation points
2022-04-28T06:50:03.147+00:00

Hi All,

I'm trying to delete a VM in Azure.

197203-deleted-azure-vm-delete.jpg

However, I get an error message.

197212-delete-azure-vm-error.jpg

Is it related to attached disks?
Please advise how to resolved it.

Thanks.

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,560 questions
Azure Disk Storage
Azure Disk Storage
A high-performance, durable block storage designed to be used with Azure Virtual Machines and Azure VMware Solution.
600 questions
0 comments No comments
{count} votes

Accepted answer
  1. srbhatta-MSFT 8,551 Reputation points Microsoft Employee
    2022-04-28T08:02:13.993+00:00

    Hello @Cloud_Geek_82 ,
    Thanks for posting your query on Microsoft QnA.
    Looking at the error, it seems like you will be able to delete the VM if you uncheck the data disks first. This looks to be related with the disks. Can you please try and let me know if that works?

    0 comments No comments

2 additional answers

Sort by: Most helpful
  1. SUNOJ KUMAR YELURU 14,016 Reputation points MVP
    2022-04-28T10:11:47.21+00:00

    Hi @Cloud_Geek_82

    Thank you for posting in Q & A

    1. first, select only Virtual machine to delete, after Virtual machine status is deleted in the notifications
    2. second, select disk and network interface to delete

    If this answers your query, do click 'Accept Answer' and Up-Vote for the same. And, if you have any further query do let us know.

    0 comments No comments

  2. Cloud_Geek_82 831 Reputation points
    2022-04-29T02:31:49.697+00:00

    Thanks guys.
    I was able to delete the VM with detached data disks first.
    Then deleted data disks.

    0 comments No comments