How can we improve Azure Virtual Machines?

Delete VM with all associated resources

Deleting a VM is a lot of click work. I have to manually delete the associated Network interface, Network security group, Public IP address. And then, from the associated storage account, I have to drill down into the VHD container in the right Blob to delete the associated .vhd and .status files.

Also, I have to do it in the right order, because there are dependencies between the various objects. If not, it fails, and I get a big fat pink error.

Also, the overview list does not refresh after the 'success' notification is posted, so I sit there guessing which of the resources I already deleted and which I didn't.

It all feels boring, not fun and tedious!

244 votes
Sign in
Sign in with: oidc
Signed in as (Sign out)

We’ll send you updates on this idea

Joost Molenaar shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →


Sign in
Sign in with: oidc
Signed in as (Sign out)
  • Amit Bhardwaj commented  ·   ·  Flag as inappropriate

    How long will it take to implement this? This option should be available ASAP. Give your users the flexibility to choose what they want to do with their resources.

  • Anonymous commented  ·   ·  Flag as inappropriate

    Tons of extra work, suggest additional confirmations for deletions of each associated components in the specific order, if you want it deleted you have to check the box for each component

  • Anonymous commented  ·   ·  Flag as inappropriate

    Can we at least hide the resources that we deleted? I just tried to delete all my environment, besides the network configs and they are all still there.
    I was trying to clean this up. But now it's all screwed up with items that don't even exist?

  • Tim Smith commented  ·   ·  Flag as inappropriate

    Still waiting on this! How ridiculous! Add an "Are You Sure?" prompt and move on. This issue has gone on long enough.

  • Amine commented  ·   ·  Flag as inappropriate

    i prefer to script something and delete my resources after the fact: safety net i guess for me: but if the option is available: check boxes: i wouldn't mind at all :)

  • Anonymous commented  ·   ·  Flag as inappropriate

    Hi there, is there an update on this feature? This is a highly requested item and it's making us re-think of virtual deployments in Azure and just sticking with PaaS.

  • Lars Panzerbjrn commented  ·   ·  Flag as inappropriate

    How is this still not an option?
    Even if you have to check a ticky box and tye in "Yes, I Am Bloody Sure" into a text box to prevent accidental deletion, this is ridiculous...

  • Anonymous commented  ·   ·  Flag as inappropriate

    Call me suspicious but there's two possible reasons I can see: accidental deletions wouldn't preclude you from reattaching the VHD and NIC to a new VM, keeping the key pieces available. The other reason is because the more orphan files the more you're paying for things you don't need. VM-sprawl if you will is in their business interest.

    That being said, if the first reason is true, you can at least leave it in a recycle bin for a while (perhaps you do) and then purge it for good (but of course not charge for this fail-safe storage.

  • Anonymous commented  ·   ·  Flag as inappropriate

    It speaks for itself, that the Azure Support Team send me a link to this page!

    Creating a VM is done in 2 Minutes. To delete all the created associated **** after removing a VM takes ages. Why not offer a list with checkboxes of all associated resources, when I delete a VM?

  • Anonymous commented  ·   ·  Flag as inappropriate

    I agree with other here . . .

    "As Tom Callahan wrote over a year ago, "Please provide an option to delete all associated objects related to the Virtual Machine as the default, which can be disabled if need be. More often than not I would guess people want to delete all objects associated, instead of having to go item by item."

    The current situation is ridiculous"

  • Shri commented  ·   ·  Flag as inappropriate

    I want to deploy identical 100 Virtual Machines using Terraform. I can not create 100 resource groups. I want a way such that I can delete a Virtual Machine and it will take care of deleting all the associated resources for that particular virtual machine. Something like "delete on terminate" for all the associated resources (i.e. storage account, IP address, nsg etc) for the single VM I am deleting.

  • Michael commented  ·   ·  Flag as inappropriate

    very troublesome if we delete VM need manually choose and delete related component.

  • stella gord commented  ·   ·  Flag as inappropriate

    Azure portal team (Admin, Microsoft Azure) responded · Jul 20, 2015

    What up with this :

    Hi, Joost. Thanks for the feedback. We can definitely look into offering a way to delete multiple resources at the same time. For the time being, if you organize your related resources into resource groups, you can delete the entire resource group with a few clicks, which should help.

  • David Sanftenberg commented  ·   ·  Flag as inappropriate

    Microsoft is very short on the polish side of things. You guys need to concentrate on the UX of the infra you're creating, take the entire lifecycle into account. It's kind of ridiculous that we need to write custom powershell scripts just to make sure VMs aren't leaving orphaned disks and nics lying around when we delete them.

  • Muthukumar commented  ·   ·  Flag as inappropriate

    Also i would say before deleting the VM, there was a confirmation to type the resource name for deleting. In the same screen they can list the associated resources and keep the check box to select and delete those as well. It helps.

← Previous 1

Feedback and Knowledge Base