Enable Litigation Hold in Office 365 Using PowerShell
Enable litigation hold in Office 365 to retain deleted mailbox items and modified email versions for legal investigations. Place time-based or infinite holds on user mailboxes using Exchange admin center or PowerShell. Ensure proper licensing with Exchange Online Plan 2 or Microsoft 365 E3/E5 subscriptions.
Exchange Online