Hi @Waddell, Joshua J ,
If you already removed the dependencies, it's possible that some are still in the "soft deleted" state. Typically you would receive this error if there is a Backup item for the Azure VM that is attached to this Recovery Services vault. You need to confirm that there is no backup listed under "Backup items" or "Replicated items" and that they have been permanently deleted. To confirm this, click the Backup items link under Protected items on the Recovery Services vault page. If you see anything other than "0" listed next to the Azure Virtual Machine under "Backup Item Count", you will need to delete the backup item to resolve the error.
First you need to select the "..." next to the backup instance and select "Stop backup." Then, once the backup is stopped, you can select the "..." and select "Delete backup instance."
After this, since the backup goes into a soft-deleted state for 14 days before it is permanently deleted, you will still receive the error. You have two options then to resolve it:
- You can wait 14 days and delete the vault again.
- You can disable the Azure Portal's soft delete option under Properties > Security Settings. Then you will need to undelete the backup, re-delete it, and delete the vault. Note that disabling soft delete though will also apply to all other items in the portal.
If this doesn't work, let me know and we can further troubleshoot or get a support case opened to look into your configuration. You can reach out to me at AzCommunity@microsoft.com ("Attn: Marilee Turscak") and include your subscription ID and a link to this thread.
If the information helped you, please Accept the answer. This will help us as well as others in the community who may be researching similar questions.