Last Updated on August 3, 2025 by Arnav Sharma
Cancelling an Azure subscription can be done in several ways, depending on your requirements and your access level. Here are different methods you can use to cancel your Azure subscription:
1. Azure Portal:
- Step 1: Sign in to the Azure Portal.
- Step 2: Navigate to “Cost Management + Billing”.
- Step 3: Select “Subscriptions” from the left-hand menu.
- Step 4: Choose the subscription you want to cancel.
- Step 5: Click on “Cancel subscription”.
- Step 6: Follow the prompts to confirm the cancellation.
2. Azure CLI:
- Step 1: Open your command-line interface (CLI).
- Step 2: Log in to Azure using
az login. - Step 3: Use the following command to list your subscriptions:bashCopy code
az account list --output table - Step 4: Set the subscription you want to cancel as your current subscription:bashCopy code
az account set --subscription "SUBSCRIPTION_ID" - Step 5: Cancel the subscription:bashCopy code
az account delete --subscription "SUBSCRIPTION_ID"
3. Azure PowerShell:
- Step 1: Open your PowerShell environment.
- Step 2: Log in to Azure:powershellCopy code
Connect-AzAccount - Step 3: Select the subscription you want to cancel:powershellCopy code
Select-AzSubscription -SubscriptionId "SUBSCRIPTION_ID" - Step 4: Cancel the subscription:powershellCopy code
Stop-AzSubscription -SubscriptionId "SUBSCRIPTION_ID"
4. Azure REST API:
- Step 1: Use the Azure REST API to cancel the subscription.
- Step 2: Send a DELETE request to the following endpoint:arduinoCopy code
DELETE https://management.azure.com/subscriptions/{subscriptionId}?api-version=2021-01-01 - Step 3: Replace
{subscriptionId}with the ID of the subscription you want to cancel.
5. Azure Support Ticket:
- Step 1: Open a support ticket if you need assistance or have a complex scenario.
- Step 2: Go to the Azure Portal and navigate to “Help + support”.
- Step 3: Create a new support request and specify your request to cancel the subscription.
6. Via Billing Account Manager:
- Step 1: Contact your Azure billing account manager if you have one.
- Step 2: They can assist you with cancelling the subscription, especially if it is associated with a complex billing structure or enterprise agreement.