Skip to content
Azure Lessons
Azure Lessons
  • Home
  • AWS
  • Azure
    • Azure Virtual Machine
    • Azure Active Directory
    • Azure CLI
    • Azure CLI Commands List
    • Azure Cognitive Services
    • Azure Cosmos DB
    • Azure DevOps
    • Azure Functions
    • Azure PowerShell Commands
    • Azure Sentinel
    • Azure SQL
    • Azure Storage
    • Azure Synapse
  • Blogs
  • FREE EBOOK

Delete Azure Account

June 14, 2024November 7, 2023 by Bijay Kumar

In this Azure tutorial, we will discuss how to delete Azure account or how to cancel Azure subscription.

As we have discussed already, Microsoft provides lots of services and features with Azure subscriptions. But if you don’t like those of you, you may think Microsoft is charging more for what you are using, or you think the other vendors can fulfill your requirements at a lower price compared to Microsoft Azure.

Or, maybe you are a beginner, and you might have created this subscription just for learning purposes and don’t want to pay once the trial period is over, or you might have an old account you don’t want to continue with.

So, there can be multiple reasons associated with deciding to delete an Azure free account or subscription. When you have decided to delete the Azure account, you should delete it properly.

If you do not delete your Microsoft Azure account properly, Microsoft will charge for the resources running under your subscription, and the charge will be automatically deducted from your Credit card associated with the Subscription.

Table of Contents

  • How to delete Azure Account
  • How to delete Azure account permanently using PowerShell
  • How To Delete Azure Account, Not Just Subscriptions, Also Delete Entire Account 
  • FAQs
    • What happens after subscription cancellation?
    • Who Can Cancel A Subscription?
    • Why don’t I see the Cancel Subscription option on the Azure portal?
    • How to Cancel your Azure subscription
    • How to delete free trial subscription
    • How to suspend Azure Subscription
    • How to reactivate a disabled Azure subscription

How to delete Azure Account

So, it is suggested to delete the Azure account or Subscription properly when you have decided to deactivate the Azure account.

You must delete all the Azure resources, for example, Virtual Machines, Storages, containers, Networks, Resource groups, etc

To know how to delete an Azure subscription, follow the below steps

1. The first step is to log in to the Microsoft Azure portal (https://portal.azure.com/)

2. Once you Log into the Azure Portal, Click on the Cost Management + Billing link from the left navigation

Delete Azure Account

3. On the Cost Management + Billing page, click on the Subscriptions link from the left navigation

how to delete azure account

4. Now, click the Manage button on the Cost Management + Billing page.

delete azure account permanently

5. Now, you can see your Subscription name. Click on the Subscription name.

how to delete azure account permanently

6. Now the next step is to click on the Cancel subscription link from the below screen to Cancel the Azure Subscription

close azure account

7. Finally, select the Yes, cancel my Subscription option and select one Reason for Cancellation, then click on the Tick button as highlighted below.

how to delete azure free account

This is how we can delete Azure subscription, or how can I cancel my Microsoft Azure subscription?

How to delete Azure account permanently using PowerShell

The first step is ensuring you have the Azure module installed in your system. If not, or if you are getting errors while installing the Azure module, refer to my Article. The term ‘Get-AzureAccount’ is not recognized error to install the Azure module.

Now, you have the Azure module installed on your machine. The next step is to execute the below command to get the details of all of your subscription

PS C:\WINDOWS\system32> Get-AzureAccount | format-table id

or

PS C:\WINDOWS\system32> Get-AzureAccount
how to delete microsoft azure account permanently

Note: Since I don’t have many subscriptions with this account, I am not getting the complete list, but in your case, you will get all your subscription details with your account.

After executing the command, you will get all your Subscription details, including the ID, Type, Subscription, and Tenant details. Copy the subscription ID or the name of the one you want to delete. Make sure you choose the correct Subscription ID.

Now, to remove the Azure subscription, use the below cmdlet

PS C:\WINDOWS\system32> Remove-AzureAccount account-name
azure delete account

Note: Before executing the Remove-AzureAccount command, make sure you have decided to delete the Azure account.

This is how we can Delete Azure Account using PowerShell.

How To Delete Azure Account, Not Just Subscriptions, Also Delete Entire Account 

Follow the below steps to delete your Azure account permanently, including canceling the Azure subscription.

  1. Navigate to