You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: SharePoint/SharePointOnline/sites/compliance-policy-blocking-site-deletion.md
+6-7Lines changed: 6 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
---
2
-
title: An invalid policy blocks a SharePoint site deletion
2
+
title: An Invalid Policy Blocks a SharePoint Site Deletion
3
3
description: Provides a fix for errors that occur when you try to delete a SharePoint or OneDrive site, or delete documents on them.
4
4
author: Cloud-Writer
5
5
ms.author: meerak
@@ -38,17 +38,17 @@ You might experience one of the following scenarios.
38
38
39
39
**Scenario 3:** You've excluded or removed a SharePoint or a OneDrive site from a retention policy. More than 24 hours after you make these updates, you try to delete the site or a version of a document on the site. However, the attempt is unsuccessful, and you receive one of the error messages that are mentioned in scenarios 1 and 2.
40
40
41
-
**Scenario 4:** You've excluded or removed a SharePoint or a OneDrive site from an eDiscovery hold. When you try to delete the site, the attempt is unsuccessful, and you receive the error message that is mentioned in scenario 1.
41
+
**Scenario 4:** You've excluded or removed a SharePoint or a OneDrive site from an eDiscovery hold. When you try to delete the site, the attempt is unsuccessful, and you receive the error message that's mentioned in scenario 1.
42
42
43
43
## Cause
44
44
45
-
Each of these error messages is generated when you try to delete a SharePoint or OneDrive site in either of the following situations:
45
+
These error messages are generated when you try to delete a SharePoint or OneDrive site in either of the following situations:
46
46
- You exclude or remove the site from a retention policy. However, the retention policy is invalid.
47
47
- The eDiscovery hold is within a 30-day grace period that prevents the site from being deleted.
48
48
49
49
## Resolution
50
50
51
-
Verify the validity of the retention policy or determine whether the eDiscovery hold is within the grace period. To do this, run the following diagnostic in the Microsoft 365 admin center. You must have at least Compliance administrator permissions to use these steps.
51
+
Verify the validity of the retention policy or determine whether the eDiscovery hold is within the grace period. To do this, run the following diagnostic in the Microsoft 365 admin center. You must have at least Compliance Administrator permissions to use these steps.
52
52
53
53
> [!NOTE]
54
54
> This diagnostic isn't available for the GCC High or DoD environments, or for Microsoft 365 operated by 21Vianet.
@@ -58,13 +58,12 @@ Verify the validity of the retention policy or determine whether the eDiscovery
58
58
> [!div class="nextstepaction"]
59
59
> [Run Tests: Invalid Retention or grace eDiscovery Hold](https://aka.ms/PillarInvalidRetention)
60
60
61
-
2. In the **Run diagnostics** section, either type or copy and paste the URL of the SharePoint or OneDrive site that you want to delete.
61
+
2. In the **Run diagnostics** section, enter the URL of the SharePoint or OneDrive site that you want to delete.
62
62
63
63
3. Select **Run Tests**.
64
64
65
65
If the diagnostic finds an invalid retention policy that might be blocking the deletion, you can choose to remove the policy.
66
66
67
67
If the test finds that the eDiscovery hold is within the 30-day grace period, you can choose to remove the hold.
68
68
69
-
**Note**: To resolve the error in Scenario 4, manage holds by using the [Get-CaseHoldPolicy](/powershell/module/exchange/get-caseholdpolicy) command or the Microsoft Purview portal and ensure the location is released from the case hold policy before attempting deletion. If the hold is not released, use the [Set-CaseHoldPolicy](/powershell/module/exchange/set-caseholdpolicy) command to release it, and if the policy cannot be found by using the Get-CaseHoldPolicy command or the Purview portal, use the [Invoke-HoldRemovalAction](/powershell/module/exchange/invoke-holdremovalaction) command to clean up the orphan hold.
70
-
69
+
**Note**: To resolve the error in Scenario 4, you can manage holds by using the [Get-CaseHoldPolicy](/powershell/module/exchange/get-caseholdpolicy) command or the Microsoft Purview portal to make sure that the location is released from the case hold policy before you try to delete the site. If the hold is not released, use the [Set-CaseHoldPolicy](/powershell/module/exchange/set-caseholdpolicy) command to release it. If the policy can't be found by using the `Get-CaseHoldPolicy` command or the Purview portal, use the [Invoke-HoldRemovalAction](/powershell/module/exchange/invoke-holdremovalaction) command to clean up the orphan hold.
0 commit comments