Why use this template?
Use this PowerShell template when you need to find mailboxes with litigation hold enabled. It can be previewed in the Builder; Pro access is required to generate it for your own environment.
The template uses ExchangeOnlineManagement and requires View-Only Recipients. Output: CSV report. Level: Intermediate. Action: Read-only. Risk: Low.
Review before running
The script remains preview-only until Pro access is enabled. Review it before running it, and test it outside production first. “Read-only” describes the script itself; anything you add around it can still change data.
Preview the script
- Open the template in the PowerShell Builder.
- Review the purpose, requirements, permissions, output and risk.
- Activate Pro when you are ready to generate the full script, then test it outside production.
Pro templates remain previewable before purchase or activation. No tenant connection is required. When you generate a Pro script, only the configuration values needed for that template are sent to Opselith after license validation.Preview Find mailboxes with litigation hold →
How to use this result
Use this report to identify mailboxes with the Exchange LitigationHoldEnabled property set before compliance, migration or lifecycle work.
When this helps
- Inventory mailboxes on Litigation Hold before migration or deprovisioning.
- Compare hold coverage with a documented legal or compliance requirement.
- Find hold-enabled mailboxes that require a separate case or policy review.
How to read the result
- Litigation Hold is intended to preserve mailbox content for hold scenarios; it is different from Exchange MRM retention hold.
- A row shows that the mailbox property is enabled. It does not explain the complete legal basis, case ownership or every other Purview hold affecting that mailbox.
Things to check
- Do not remove a hold based only on this inventory; confirm the applicable legal/compliance process first.
- Other retention or eDiscovery mechanisms can also preserve content and require separate review.
What to do next: Match each hold-enabled mailbox to the responsible compliance record or case before any migration, deletion or hold change.
Related tasks
Official references