Removing litigation and inplace holds

0 views
Skip to first unread message

Kurt Buff

unread,
Dec 2, 2022, 5:30:10 PM12/2/22
to ntexc...@googlegroups.com
All,

We're using O365, not on-prem.

I've got two active holds on a couple of accounts, and several are subject to both of them, as shown here:

Get-Mailbox | where { $_.LitigationHoldEnabled -eq $true -or $_.InPlaceHolds -notlike "" } | select name,LitigationHoldEnabled,InPlaceHolds | ft -auto

Name            LitigationHoldEnabled InPlaceHolds
----            --------------------- ------------
User1                            True {UniHbeddc107-8844-43fc-8c4c-2f008b4e49f5}
User2                            True {UniHbeddc107-8844-43fc-8c4c-2f008b4e49f5}
User3                            True {UniHbeddc107-8844-43fc-8c4c-2f008b4e49f5}
User4                           False {UniHbeddc107-8844-43fc-8c4c-2f008b4e49f5}
User5                            True {}
User6                            True {}

The litigation hold needs to remain until March 2023. The InPlaceHold is from 2018 and needs to be removed - and I'm aware that the InPlaceHold has been deprecated for a couple of years.

I've looked over several articles, including:

From my reading, if I use:

$casehold = Get-CaseHoldPolicy beddc107-8844-43fc-8c4c-2f008b4e49f5
Set-MailboxSearch $casehold -InPlaceHoldEnabled $false
Remove-MailboxSearch $casehold

That should remove the old InPlaceHold, but will it also remove the LitigationHold?

Thanks,
Kurt

Michael B. Smith

unread,
Dec 2, 2022, 6:06:37 PM12/2/22
to ntexc...@googlegroups.com

I’m pretty sure that *-MailboxSearch have been removed from O365, replaced by compliance cmdlets.

 

But to answer your general question – no, LitigationHold is a separate setting.

 

Thanks.

 

Regards,

Michael B. Smith

Managing Consultant

Smith Consulting, LLC

--
You received this message because you are subscribed to the Google Groups "ntexchange" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ntexchange+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ntexchange/CADy1Ce6xRfYo9kP4MnJ92YqhZ2fcX%3D43TO1g0%2B5d1Oui%2BTLqvQ%40mail.gmail.com.

Michael B. Smith

unread,
Dec 2, 2022, 6:07:53 PM12/2/22
to ntexc...@googlegroups.com

Yeah:

 

Note: As of October 2020, the *-MailboxSearch cmdlets are retired in Exchange Online PowerShell. Use the *-ComplianceSearch cmdlets in Security & Compliance PowerShell instead. 

 

Thanks.

 

Regards,

Michael B. Smith

Managing Consultant

Smith Consulting, LLC

 

Kurt Buff

unread,
Dec 2, 2022, 7:12:56 PM12/2/22
to ntexc...@googlegroups.com
I'm trying to figure out the compliancesearch commands, but can't get them to reveal the LitigationHold and InPlaceHold configurations, let alone how to remove them.

I did try the get-mailboxsearch, set-mailboxsearch and remove-mailboxsearch cmdlets, and they don't work.

I also tried the get-compliancesearch cmdlet, but couldn't get it to show to show the InPlaceHolds or LitigationHolds revealed by:

Get-Mailbox | where { $_.LitigationHoldEnabled -eq $true -or $_.InPlaceHolds -notlike "" } | select name,LitigationHoldEnabled,InPlaceHolds | ft -auto

If I can't see them, how can I remove them?

The more I work with O365, the less I like it - and it's not even my primary job duty....

Kurt

Reply all
Reply to author
Forward
0 new messages