Remove Azure VM: How to delete a Virtual Machine via the Azure Portal


Azure Virtual Machines (VM) is one of several types of on-demand, scalable computing resources that Azure offers. An Azure VM gives you the flexibility of virtualization without having to buy and maintain the physical hardware that runs it. Azure Virtual Machines gives you the flexibility of virtualization for a wide range of computing solutions with support for Linux, Windows Server, SQL Server, Oracle, IBM, SAP, and more. All current generation Virtual Machines include load balancing and auto-scaling at no cost. Kindly refer to these related guides: How to use the Azure Cloud Shell, Azure CLI, and Azure PowerShell, how to uninstall Azure AD Connect, how to configure Azure Monitor for VMs on Azure Stack Hub, how to prepare Azure and on-premises virtual networks using Azure CLI commands, how to setup Veeam Backup for Microsoft Azure [Part 1], and how to create, list, lock, deploy and delete Azure Resource Group via Azure CLI.

In this guide, I will be showing you how to delete a virtual machine (VM) if you no longer need it. You can remove an Azure Virtual Machine using the Azure portal as shown below. This is the easiest way remove a VM from Azure.

Method 1

Login to and search for Azure Virtual Machines. As youcan see below, this is already clearly visible under the list of Azure Services. I will proceed and click on it.


Upon clicking on “Virtual Machine”, this will reveal a list of VM that are created and available within your Azure subscription. As you can see below, this will show the VM name, Type, Status, Size, Operating System, ResourceGroup, and Location, etc.

To delete a specific VM, kindly check the button close to the VM as shown in the image below and click on delete. This will walk you through the process to delete your VM.

Now in the Delete Resources window, type Yes in the Confirm delete option and then select the Delete button.


Method 2

If you aren’t so careful with the method described above, you may click on a different VM and have it deleted. I have seen customers complain about this. In order to aviod this error, I have decided to show you a different method on hpw to delete your VM in Azure.

– Click on the Virtual Machine, this will open the Azure Virtual Machine Overview blade. Next, click on the Delete button as shown below.

In this method, we are sure we are on the right VM and can proceed to have it deleted.

This will open up the delete resources window. As you can see below, not all resources are slected to be deleted. You are free to check or uncheck the resources you wish to keep or delete. Be sure to read the confirmation question carefully!


As you can see, the VM is currently being deleted!


The Virtual machine has been successfully deleted as shown below.


As you can see below, the Virtual Machine has vanished 🙂 and no longer present in the list of available VMs in Azure.


Bulk delete a VM

This is also very straight forward. All you need to do is check as many VMs you wish to delete. In my image below, I only have a single screenshoot. If you have many in your environemnt and wish to delete them all at once, please check the button close to the Virtual Machines and select Delete.


I hope you found this blog post helpful. If you have any questions, please let me know in the comment session.

Notify of

Inline Feedbacks
View all comments
Would love your thoughts, please comment.x