Hi there

In this quick article I’m demonstrating how to remove / delete all resources from your Azure Trial subscription.

When your trial is over you can switch to a pay-as-you-go account or you’ll have $0.00 credit and your azure resources won’t be available.

To clean this up do the following:

  • go on each Azure Resource Group select all azure resources within it and select delete, confirm with “yes” and wait for each / all items deletion

 

WARNING!

if you have Azure Vault deployed and after you have everything deleted you might get ERROR or access denied deleting the vault

  • check if you still have any item being backed up on the specific vault
  • disable / remove the backup
  • wait 30 min to 1 hour to have this cleared up
  • go back to the vault and delete it

 

You’ll get the following warning:

Recovery Services vault cannot be deleted as there are backup items in soft deleted state in the vault. The soft deleted items are permanently deleted after 14 days of delete operation. Please try vault deletion after the backup items are permanently deleted and there is no item in soft deleted state left in the vault.For more information, refer https://aka.ms/SoftDeleteCloudWorkloads. The registered items are : vm-cis-01 Please ensure all containers have been unregistered from the vault and all private endpoints associated with the vault have been deleted, and retry operation. For more details, see https://aka.ms/AB-AA4ecq5

 

 

If you try to perform the actions suggested at https://aka.ms/SoftDeleteCloudWorkloads

You’ll see the following warning

The subscription ‘5145be5c-ef9c-49ee-a165-ec344358a6c1’ is disabled and therefore marked as read only. You cannot perform any write actions on this subscription until it is re-enabled.

Wait the 14 days and try to delete (I’ll update this post after 14 days) once I’m no longer using this TRIAL.

Check all resources remaining on your TRIAL subscription
https://portal.azure.com/#blade/HubsExtension/BrowseAll

There’ll be only one azure resource remaining under your subscription

Check my Github repository

References
https://docs.microsoft.com/en-us/azure/backup/backup-azure-vms-introduction
https://aka.ms/SoftDeleteCloudWorkloads
https://docs.microsoft.com/en-us/azure/backup/backup-azure-security-feature-cloud
https://docs.microsoft.com/en-us/azure/cost-management-billing/manage/account-admin-tasks

Thanks,

Thiago Beier
TwitterLinkedInFacebookRSS