Skip to content

Commit e8bfc3e

Browse files
Merge pull request #214282 from johndowns/arm-deletion-accident
Update ARM resource group deletion article - Add section about accidental deletion
2 parents b6cb647 + 675ca00 commit e8bfc3e

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

articles/azure-resource-manager/management/delete-resource-group.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Delete resource group and resources
33
description: Describes how to delete resource groups and resources. It describes how Azure Resource Manager orders the deletion of resources when a deleting a resource group. It describes the response codes and how Resource Manager handles them to determine if the deletion succeeded.
44
ms.topic: conceptual
5-
ms.date: 09/28/2021
5+
ms.date: 10/13/2022
66
ms.custom: seodec18, devx-track-azurepowershell
77
---
88

@@ -122,6 +122,17 @@ For a list of operations, see [Azure resource provider operations](../../role-ba
122122

123123
If you have the required access, but the delete request fails, it may be because there's a [lock on the resources or resource group](lock-resources.md). Even if you didn't manually lock a resource group, it may have been [automatically locked by a related service](lock-resources.md#managed-applications-and-locks). Or, the deletion can fail if the resources are connected to resources in other resource groups that aren't being deleted. For example, you can't delete a virtual network with subnets that are still in use by a virtual machine.
124124

125+
## Accidental deletion
126+
127+
If you accidentally delete a resource group or resource, in some situations it might be possible to recover it.
128+
129+
Some resource types support *soft delete*. You might have to configure soft delete before you can use it. For more information about enabling soft delete, see the documentation for [Azure Key Vault](../../key-vault/general/soft-delete-overview.md), [Azure Backup](../../backup/backup-azure-delete-vault.md), and [Azure Storage](../../storage/blobs/soft-delete-container-overview.md).
130+
131+
You can also [open an Azure support case](../../azure-portal/supportability/how-to-create-azure-support-request.md). Provide as much detail as you can about the deleted resources, including their resource IDs, types, and resource names, and request that the support engineer check if the resources can be restored.
132+
133+
> [!NOTE]
134+
> Recovery of deleted resources is not possible under all circumstances. A support engineer will investigate your scenario and advise you whether it's possible.
135+
125136
## Next steps
126137

127138
* To understand Resource Manager concepts, see [Azure Resource Manager overview](overview.md).

0 commit comments

Comments
 (0)