Skip to content

Commit dbada0a

Browse files
author
David Curwin
committed
Unregister storage account
1 parent 19cd04e commit dbada0a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

articles/backup/backup-azure-delete-vault.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ You can't delete a Recovery Services vault that has dependencies, such as protec
2525
- If backup items are in soft deleted state below warning message appears and you will have to wait until they are permanently deleted. For more information, see this [article](https://docs.microsoft.com/azure/backup/backup-azure-security-feature-cloud).
2626

2727
![Delete the vault error.](./media/backup-azure-delete-vault/error-message-soft-delete.png)
28+
29+
- Vaults that have registered storage accounts can't be deleted. To learn how to unregister the account, see [Unregister a storage account](manage-afs-backup.md#unregister-a-storage-account).
2830

2931
To delete the vault, choose the scenario that matches your setup and follow the recommended steps:
3032

@@ -34,7 +36,7 @@ I have on-premises files and folders protected by using the Azure Backup agent,
3436
I have on-premises machines that are protected by using MABS (Microsoft Azure Backup Server) or DPM (System Center Data Protection Manager) to Azure | Perform the steps in [Delete backup items from the MABS management console](#delete-backup-items-from-the-mabs-management-console)
3537
I have protected items in the cloud (for example, an laaS virtual machine or an Azure Files share) | Perform the steps in [Delete protected items in the cloud](#delete-protected-items-in-the-cloud)
3638
I have protected items both on premises and in the cloud | Perform the steps in all of the following sections, in the following order: <br> 1. [Delete protected items in the cloud](#delete-protected-items-in-the-cloud)<br> 2. [Delete backup items from the MARS management console](#delete-backup-items-from-the-mars-management-console) <br> 3. [Delete backup items from the MABS Management console](#delete-backup-items-from-the-mabs-management-console)
37-
I don't have any protected items on-premises or cloud; however, I am still getting the Vault deletion error | Perform the steps in [Delete the Recovery Services vault by using Azure Resource Manager](#delete-the-recovery-services-vault-by-using-azure-resource-manager)
39+
I don't have any protected items on-premises or cloud; however, I am still getting the Vault deletion error | Perform the steps in [Delete the Recovery Services vault by using Azure Resource Manager](#delete-the-recovery-services-vault-by-using-azure-resource-manager) <br><br> Ensure that there are no storage accounts registered with the vault. To learn how to unregister the account, see [Unregister a storage account](manage-afs-backup.md#unregister-a-storage-account).
3840

3941
## Delete protected items in the cloud
4042

@@ -329,7 +331,7 @@ For more information on the ARMClient command, see [ARMClient README](https://gi
329331
330332
### Use the Azure Resource Manager client to delete a Recovery Services vault
331333
332-
1. Run the following command by using your subscription ID, resource group name, and vault name. If you dont have any dependencies, the vault is deleted when you run the following command:
334+
1. Run the following command by using your subscription ID, resource group name, and vault name. If you don't have any dependencies, the vault is deleted when you run the following command:
333335
334336
```azurepowershell
335337
ARMClient.exe delete /subscriptions/<subscriptionID>/resourceGroups/<resourcegroupname>/providers/Microsoft.RecoveryServices/vaults/<recovery services vault name>?api-version=2015-03-15

0 commit comments

Comments
 (0)