May 11 2021
04:49 PM
- last edited on
Feb 07 2023
07:38 PM
by
TechCommunityAP
May 11 2021
04:49 PM
- last edited on
Feb 07 2023
07:38 PM
by
TechCommunityAP
Hi,
I have a group of mailboxes that I need to hard delete. At this point, the user accounts are gone (hard deleted), but when I run remove-mailbox,
Remove-Mailbox <mailbox ID> -PermanentlyDelete -Force
the error lists several kinds of holds (reformatted)
LitigationHoldEnabled: false,
ComplianceTagHoldApplied: false,
DelayHoldApplied: false,
DelayReleaseHoldApplied: false,
OrganizationPolicies Applied: ,
UserPolicies Applied: 7833ebcf-a961-42b2-b38a-1498a7dd20ec,
e79e7a87-aecc-49c4-837f-f7e9a47e9206,
80c5fbb5-7153-4984-bedb-e28073176bb3,
c7afe8ba-1df4-4d86-9c00-3e8c8834789e
restrictivePolicies Applied: ,
CpsInfo: .
Am I correct in assuming that UserPolicies is where the problem lies and if so, how do I clear that so I can make that mailbox go away forever.
Thanks
May 11 2021 11:21 PM
May 13 2021 10:04 PM
@Vasil Michev Thank you, this helped me understand the problem a little better.
The Guid that is returned for the 4 mailboxes I want to delete is for a Retention Policy that is scoped to several individual mailboxes. The 4 mailboxes were part of it at one point, but are not anymore.
Unfortunately, there are still some other mailboxes that are legitimately part of the same Retention policy, so I it looks like I can't simply delete the policy.
However, The mailboxes that need to be kept are also part of ediscovery holds. If I understand correctly, if I did delete the retention policy, the Mailboxes that need to be kept would still be preserved because of the eDiscovery Hold.
With the Retention hold removed, I can then delete the mailboxes that should be deleted.
Do I understand correctly?
Thanks (I hope this was clear)
May 13 2021 10:59 PM
May 14 2021 02:15 PM
May 15 2021 09:19 AM
Solution