Skip to Content
Communication Square LLC Help Center

Run a Microsoft Purview content search

Find mail and files across the organization for a request or an investigation.

Who this is for: Administrators with eDiscovery permissions.


Before you start

  • Organization licensing: Available eDiscovery features depend on your organization's licenses and subscriptions. Office 365 E5, Microsoft 365 E5, or related E5 add-on subscriptions provide access to premium eDiscovery features. If a feature is unavailable, ask your Microsoft 365 administrator to check the organization's subscriptions.
  • Administrator access: To use the system-generated eDiscovery case that contains Content Search functionality, your account must belong to the eDiscovery Manager or Administrator role group. Ask your Microsoft Purview administrator for the appropriate role-group membership if you do not have access.
  • Account licenses: To export search results, you need a Microsoft 365 Enterprise E3 or E5 license. To export SharePoint content, you also need a Microsoft SharePoint E3 license.
  • Scope: This guide covers searching Microsoft 365 content, reviewing statistics and previews, and exporting results. It does not cover holds, deleting data, premium eDiscovery analysis, or adding results to a review set.
Important Before you search or export content, confirm that the search and its intended recipients are within the authorized scope of the investigation. eDiscovery can search organizational mailboxes and sites, and exported results can be shared with people outside the investigation team.

Run the search

  1. In the Microsoft Purview portal, open eDiscovery and select Content Search to create or open a Content Search case. You can also select the eDiscovery solution card, select Cases, and open the case you will use, including the system-generated case if your role group has access. Open the Searches tab.
  2. Select Create a search. Enter a unique search name, then select Create.
  3. On the Query tab, add the data sources in scope: Exchange Online mailboxes, SharePoint sites, OneDrive accounts, Microsoft Teams, Microsoft 365 Groups, or Viva Engage. You can search mailboxes and sites in the same search. Select Save to save the data sources.
  4. On the Query tab, define the query. For a targeted search, enter at least one keyword or condition before you run it.
  5. For an intentional all-content search, select Generate statistics first and review the scope size. Leave the keyword condition empty only if the scope is appropriate. The search then returns every item in the selected locations across the entire date range.
  6. When you use Boolean operators, enter AND, OR, NOT, or NEAR in uppercase in the KeyQL condition field. Do not enter these operators in the Keyword condition field, where they are treated as literal keywords.
  7. For recipient searches, use a recipient property such as to:, from:, cc:, or recipients: followed immediately by an SMTP address, alias, or display name. For example, to:user@contoso.com searches for a recipient. Do not put a space after the colon.
  8. Use only prefix wildcards, such as cat*. Suffix, infix, and substring wildcards are not supported. Put a multiword property value in double quotation marks, such as subject:"budget Q1". Search matching is case-insensitive. Quotation marks stop wildcards and operations inside the quoted text.
  9. Select Run query. Search times use Coordinated Universal Time (UTC). Time-zone display settings in the search view apply only to values in the Data column and do not change the timestamps on collected items.
  10. Open the Results tab to view the search statistics and preview the results. Check that the search finds the relevant data and that the results are in scope. If the results are too broad or do not include expected content, revise the query and select Run query again.
Important Do not export results until the search statistics and preview show that the results fit the authorized scope. Exported results can be reviewed by people outside the investigation team.
Note This guide does not cover adding results to a review set. See the References section for eDiscovery information.
Important Some items found by a search might not be included in an export. Files restricted by a DLP action cannot be exported. Content in SharePoint sites locked with NoAccess is skipped. Individual SharePoint files restricted by access controls may be excluded unless the collecting user has direct access, such as site-admin, site-owner, file-owner, or last-modifier access.

Export search results

  1. In the Microsoft Purview portal, select the eDiscovery solution card, then Cases. Select the case, open the Searches tab, select the search query, and select Export.
  2. On the Export pane, enter a name in Export name. This field is required. You can also enter an optional description in Export description.
  3. Under Select items to include in your export, choose Indexed items that match your search query to export matching indexed items. Choose Indexed items that match your search query and partially indexed items that might not match query to include partially indexed items as well.
  4. On the Export pane, select Export. In the confirmation dialog, select OK to start processing. Monitor the export in Process manager.
  5. Monitor the export on the Process manager page and download the results when they are ready. Download search export packages within 14 days of creating the export. After that, the package and its data are automatically deleted and cannot be recovered.

When it goes wrong

  • eDiscovery or the case is unavailable: Ask your Microsoft Purview administrator to verify that your account belongs to the eDiscovery Manager or Administrator role group. Also ask them to confirm the organization's subscriptions, because available features depend on licensing.
  • The search returns too many items: Check that the keyword condition is not empty and that the selected locations are in scope. Use Generate statistics to check the size of an intentionally broad search, then add or revise query terms and run the search again.
  • Expected items are missing: Check the query syntax. Confirm that Boolean operators are uppercase and in the KeyQL condition field, and that property values have no space after the colon. Revise the query, run it again, and review the statistics and preview.
  • Items are missing from the export: Check whether the files are restricted by a DLP action, the content is in a SharePoint site locked with NoAccess, or individual SharePoint files are restricted by access controls. For access-controlled files, the collecting user needs direct access, such as site-admin, site-owner, file-owner, or last-modifier access.
  • A time-based review seems incorrect: Searches use UTC. Changing the search-view time-zone display does not change item timestamps.

Related help articles

References

Last updated on