Forum Discussion

Steve_Moss's avatar
Steve_Moss
Copper Contributor
May 11, 2021

Cannot delete a soft deleted, UserPolicy Applied

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

Resources