azureazure-resource-manager

Azure Delete Canceled (Disabled) Subscription


I've canceled an Azure Subscription, but how can I remove it? I'm sure we won't use this one, it's empty and we have' got more Subscriptions to use.


Solution

  • No, you cannot remove it immediately.

    You need to wait 90 days before permanently deleting your data in case you need to access it or you change your mind.

    Ref - https://learn.microsoft.com/en-us/azure/billing/billing-how-to-cancel-azure-subscription#what-happens-after-i-cancel-my-subscription


    Besides, Remove-AzureSubscription also could not do that.

    See description :

    The Remove-AzureSubscription cmdlet deletes an Azure subscription from your subscription data file so Windows PowerShell can't find it. This cmdlet does not delete the subscription from Microsoft Azure, or change the actual subscription in any way.

    Update:

    See the issue - Cannot delete subscription.

    The Member of Microsoft Docs replied:

    You can't delete an Azure subscription directly. As the article states, all an account admin needs to do is Cancel subscription. Billing stops at that point and all Azure services get disabled, but a final invoice isn’t created until the end of the current billing period. 90 days after you cancel the subscription, Azure automatically permanently deletes the subscription and all data.