Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security & DevOps Insights

  • Home
  • About
  • Advertise With US
  • Reviews
  • Contact
  • Toggle search form
Home » AWS/Azure/OpenShift » Remove Azure VM: How to delete a Virtual Machine via the Azure Portal
  • allthings.how how to download and install winget windows package manager windows 10 winget cli
    How to install Winget CLI on Windows Windows Server
  • finalelastic
    How to Install and Configure Elasticsearch on Linux  Linux
  • Copy and Paste Between HyperV VMs and host
    Copy and Paste between your device to a VM running in Hyper-V Windows
  • Remove Custom Domain from Entra ID and Azure tenant
    Delete Azure Tenant: Remove Custom Domain from Entra ID AWS/Azure/OpenShift
  • Wordpress banner
    Fix WordPress Error “The Link You Followed Has Expired” Web Server
  • removing containers and unused images from Docker synology
    Kill Containers and remove unused images from Docker Correctly Storage
  • powershell01
    WinRM and PSRemoting: Configure servers for remote access Scripts
  • Enable or Disable Siri
    How to enable Siri on Mac devices Mac

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

Posted on 04/12/202123/11/2023 Christian By Christian No Comments on Remove Azure VM: How to delete a Virtual Machine via the Azure Portal
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. In this guide, I will be showing you how to delete a virtual machine (VM) if you no longer need it. Please see How to use the built-in Azure Active Directory Connect tool, Azure VM Backup: Easy Steps from VM Settings, and Install and configure Ansible on Azure Virtual Machine.

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, and how to configure Azure Monitor for VMs on Azure Stack Hub.

Method 1: Delete a Virtual Machine via the Azure Portal

You can remove an Azure Virtual Machine using the Azure portal as shown below. This is the easiest way to remove a VM from Azure.

Login to https://portal.azure.com/ and search for Azure Virtual Machines. As you can see below, this is already clearly visible under the list of Azure Services. Moreover, I will proceed and click on it.

Delete Virtual Machine

Furthermore, Upon clicking on “Virtual Machine,” this will reveal a list of VMs 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 of deleting your VM.

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

Remove Azure VM

Method 2: Delete Azure Virtual Machine

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

Here are some more interesting guides: 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.

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.

How to

Upon accessing the delete resources window, you’ll observe that it doesn’t pre-select all resources for removal. Therefore, you can choose which resources you want to retain or delete, including the option to keep valuable assets intact.

However, Paying close attention to the confirmation query presented is crucial to ensure a deliberate choice in managing your resources. Mainly when aiming to delete a Virtual Machine via the Azure Portal.

Azure Portal

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

Screenshot-2021-12-02-at-16.58.44

The process to delete a Virtual Machine via the Azure Portal has been completed successfully, as demonstrated below.

Screenshot-2021-12-02-at-16.59.09

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

Screenshot-2021-12-02-at-16.59.36

Bulk delete a VM

The process of how to delete a Virtual Machine via the Azure Portal is equally uncomplicated. Just mark the VMs you intend to remove. In the example below, I display a lone screenshot.

Furthermore, If your environment houses numerous VMs you want to delete them collectively. Click the button adjacent to the Virtual Machines and opt to “delete a Virtual Machine via the Azure Portal”.

Screenshot-2021-12-02-at-16.55.53

I trust you discovered this blog post to be informative. Feel free to ask in the comment section if you have any inquiries. We’re here to assist you in your journey to delete a Virtual Machine via the Azure Portal.

Rate this post

Thank you for reading this post. Kindly share it with others.

  • Click to share on X (Opens in new window) X
  • Click to share on Reddit (Opens in new window) Reddit
  • Click to share on LinkedIn (Opens in new window) LinkedIn
  • Click to share on Facebook (Opens in new window) Facebook
  • Click to share on Pinterest (Opens in new window) Pinterest
  • Click to share on Tumblr (Opens in new window) Tumblr
  • Click to share on Telegram (Opens in new window) Telegram
  • Click to share on WhatsApp (Opens in new window) WhatsApp
  • Click to share on Pocket (Opens in new window) Pocket
  • Click to share on Mastodon (Opens in new window) Mastodon
  • Click to share on Bluesky (Opens in new window) Bluesky
  • Click to share on Threads (Opens in new window) Threads
  • Click to share on Nextdoor (Opens in new window) Nextdoor
AWS/Azure/OpenShift Tags:Azure, Azure resources, Microsoft Azure, Virtual Machine

Post navigation

Previous Post: Set up Veeam Backup for Microsoft Azure
Next Post: Email notifications for MBAM Enterprise and Compliance and Recovery Audit reports

Related Posts

  • FEATUREDC
    How to create Confidential VMs in Azure AWS/Azure/OpenShift
  • Set a Resource Delete Lock
    How to Add a Delete Lock on Azure Resources AWS/Azure/OpenShift
  • Azure Storage 1
    Azure CLI: How To Upload Batch Files to Azure Storage Account AWS/Azure/OpenShift
  • Azure logo
    Microsoft Azure Active Directory: How to setup Azure AD Tenant AWS/Azure/OpenShift
  • azure logo
    Azure CLI commands: How to use Azure Command-line Interface AWS/Azure/OpenShift
  • azure resource groups 1
    Setup Public Load Balancer in Azure AWS/Azure/OpenShift

More Related Articles

FEATUREDC How to create Confidential VMs in Azure AWS/Azure/OpenShift
Set a Resource Delete Lock How to Add a Delete Lock on Azure Resources AWS/Azure/OpenShift
Azure Storage 1 Azure CLI: How To Upload Batch Files to Azure Storage Account AWS/Azure/OpenShift
Azure logo Microsoft Azure Active Directory: How to setup Azure AD Tenant AWS/Azure/OpenShift
azure logo Azure CLI commands: How to use Azure Command-line Interface AWS/Azure/OpenShift
azure resource groups 1 Setup Public Load Balancer in Azure AWS/Azure/OpenShift

Leave a Reply Cancel reply

You must be logged in to post a comment.

Microsoft MVP

VEEAMLEGEND

vexpert-badge-stars-5

Virtual Background

GoogleNews

Categories

veeaam100

sysadmin top30a

  • allthings.how how to download and install winget windows package manager windows 10 winget cli
    How to install Winget CLI on Windows Windows Server
  • finalelastic
    How to Install and Configure Elasticsearch on Linux  Linux
  • Copy and Paste Between HyperV VMs and host
    Copy and Paste between your device to a VM running in Hyper-V Windows
  • Remove Custom Domain from Entra ID and Azure tenant
    Delete Azure Tenant: Remove Custom Domain from Entra ID AWS/Azure/OpenShift
  • Wordpress banner
    Fix WordPress Error “The Link You Followed Has Expired” Web Server
  • removing containers and unused images from Docker synology
    Kill Containers and remove unused images from Docker Correctly Storage
  • powershell01
    WinRM and PSRemoting: Configure servers for remote access Scripts
  • Enable or Disable Siri
    How to enable Siri on Mac devices Mac

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 1,836 other subscribers
  • RSS - Posts
  • RSS - Comments
  • About
  • Authors
  • Write for us
  • Advertise with us
  • General Terms and Conditions
  • Privacy policy
  • Feedly
  • Telegram
  • Youtube
  • Facebook
  • Instagram
  • LinkedIn
  • Tumblr
  • Pinterest
  • Twitter
  • mastodon

Tags

Active Directory AWS Azure Bitlocker Microsoft Windows PowerShell WDS Windows 10 Windows 11 Windows Server 2016

Copyright © 2025 TechDirectArchive

 

Loading Comments...
 

You must be logged in to post a comment.