To delete an immutable Azure Backup vault, you need to first disable the immutability feature. This typically involves the following steps:
- Disable Soft Delete: If the soft delete feature is enabled on the vault, you will need to disable it. You can do this by going to Properties -> Security Settings in the vault and disabling the Soft Delete feature.
- Remove Protected Items: Ensure that all backup items and protected data sources associated with the vault are deleted. You can do this by navigating to Backup Instances in the vault and deleting any listed items.
- Check for Dependencies: Make sure there are no dependencies such as registered storage accounts or private endpoints. Unregister any storage accounts and remove any private endpoints if they exist.
- Delete the Vault: Once all dependencies are cleared, you can proceed to delete the vault from the Azure portal by selecting Delete on the vault dashboard and confirming the deletion.
If you encounter issues during this process, ensure that you have the necessary permissions and that all items are indeed removed before attempting to delete the vault again.
References: