How to Delete Backup Job in Recovery Services Vault

In this post, I show you how to delete a backup job in the Recovery Services Vault. Azure Recovery Services Vault is a centralized management service in Azure that acts as a storage container for backup data. It also serves as a recovery point created from various Azure services and on-premises sources. Think of it as a secure vault in the cloud where you can store snapshots of your important data for disaster recovery or simple restoration purposes. Please see
I have a backup job that is not allowing me to delete the Recovery Services Vault, so to delete it, the first step is to delete the backup job. See how to install and configure Azure Backup Agent. Recovery Services Vault can also be used to store backups taken from VM settings.
Feel free to check the following guides on how to Join Bulk Devices using a Provisioning Package to Azure, and how to Deploy a Static Website to Azure Storage from VSCode.
Few things you need to know is that you can't delete a Recovery Services vault with any of the following dependencies:
- You can't delete a vault that contains protected data sources (for example, IaaS VMs, SQL databases, Azure file shares).
- You can't delete a vault that contains backup data. Once backup data is deleted, it will go into the soft deleted state.
- You can't delete a vault that contains backup data in the soft deleted state.
You can't delete a vault that has registered storage accounts.
If you attempt to delete the Recovery Services Vault without deleting the dependencies, you will receive an error message such as the one below.
The vault cannot be deleted as there are existing resources within the vault. Please ensure there are no backup items, protected servers, or backup management servers associated with this vault. Unregister the following containers associated with this vault before proceeding for deletion.
Delete Backup Jobs and Azure Recovery Services Vault
To delete backup jobs, do the following:
Step 1: Navigate to the vault overview page and click Delete.

You have to perform all the steps below, depending on your configurations for the vault services, before you can delete it.

The next step on this list is to disable soft-delete.
Step 2: Disable Soft Delete
From the Delete Recovery Services vault page, click on Go to Settings. Toggle the enable button to disable and click on Save.

Step 3: Delete backup item
While deleting the main backup item, endeavour to check and delete items in the soft-delete state as well. In this case, we don’t have any items in the soft-delete state. So, we will proceed to delete the main backup item.
To do so, navigate to Backup Infrastructure and click on Azure Backup Agent.

Double-click on the backup item

Click on Delete, as shown below.

In the delete screen, type the name of the backup item, select the reason for deleting it, and add your comments. Accept the terms and click delete, as shown below.

Head back to the vault overview page after deleting the backup item and click on delete. Accept the terms once again and click on delete to delete the recovery services vault.

Finally, you will receive a notification that you have successfully deleted the Recovery Services vault.

Congrats! You have successfully deleted the backup item and recovery services vault.
I hope you found this article useful on how to delete backup jobs in the Recovery Services Vault. Please feel free to leave a comment below.