Forum Discussion
Cannot Delete a Mailbox with Retention Policies Enabled
VasilMichevThank you for reaching out on this post 🙂
I have already tried to exclude the userobject from our retention policy, but with no luck. Even after the policy says "success" in the compliance center.
Did you check that nothing of interest is shown under InPlaceHolds, as detailed here: https://docs.microsoft.com/en-us/microsoft-365/compliance/identify-a-hold-on-an-exchange-online-mailbox?view=o365-worldwide
- vand3rlindenSep 07, 2020Brass Contributor
VasilMichevYes, if I run Get-mailbox -Identity domain@domain.com | Select-Object IsInactiveMailbox,LitigationHoldEnabled,LitigationHoldDuration,InPlaceHolds
I get:
IsInactiveMailbox LitigationHoldEnabled LitigationHoldDuration InPlaceHolds
----------------- --------------------- ---------------------- ------------
False False Unlimited {-mbxcf82a6a479a645f7a92d53a80375b898}The -mbx guide tells me that the user object is excluded from the hold.
- VasilMichevSep 07, 2020MVP
And did you check the other stuff detailed in the article, in particular DelayHoldApplied/DelayReleaseHoldApplied/ComplianceTagHoldApplied?
- vand3rlindenSep 07, 2020Brass Contributor
VasilMichev Yes, cannot found anything is related on why this mailbox still says that he is on an inplace hold. I will investigate this further, thank you for your replies.
I will drop the fix here when I found it! 😃