Skip to content

Commit da462db

Browse files
Merge pull request #50046 from MicrosoftDocs/NEW-purview-ediscovery-search
New purview ediscovery search
2 parents c11c1a0 + 65c408f commit da462db

28 files changed

+576
-2
lines changed

learn-pr/paths/purview-audit-search/index.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ uid: learn.wwl.purview-audit-search
33
metadata:
44
title: 'Audit and search activity in Microsoft Purview (SC-401)'
55
description: 'Logging actions and locating content are essential for investigating events, supporting compliance efforts, and maintaining transparency. Microsoft Purview provides audit and content search capabilities to help organizations understand what actions were taken and find specific items across Microsoft 365 services. This learning path aligns with exam SC-401: Microsoft Information Security Administrator.'
6-
ms.date: 03/25/2025
6+
ms.date: 04/17/2025
77
author: wwlpublish
88
ms.author: riswinto
99
ms.topic: learning-path
@@ -26,7 +26,7 @@ subjects:
2626
- security
2727
modules:
2828
- learn.wwl.purview-audit-search-investigate
29-
- learn.wwl.search-for-content-security-compliance-center
29+
- learn.wwl.purview-ediscovery-search
3030

3131
trophy:
3232
uid: learn.wwl.purview-audit-search.trophy
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
### YamlMime:ModuleUnit
2+
uid: learn.wwl.purview-ediscovery-search.conduct-ediscovery-search
3+
title: Conduct an eDiscovery search
4+
metadata:
5+
title: Conduct an eDiscovery search
6+
description: "Conduct an eDiscovery search."
7+
ms.date: 04/17/2025
8+
author: wwlpublish
9+
ms.author: riswinto
10+
ms.topic: unit
11+
azureSandbox: false
12+
labModal: false
13+
durationInMinutes: 10
14+
content: |
15+
[!include[](includes/conduct-ediscovery-search.md)]
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
### YamlMime:ModuleUnit
2+
uid: learn.wwl.purview-ediscovery-search.create-ediscovery-search
3+
title: Create an eDiscovery search
4+
metadata:
5+
title: Create an eDiscovery search
6+
description: "Create an eDiscovery search."
7+
ms.date: 04/17/2025
8+
author: wwlpublish
9+
ms.author: riswinto
10+
ms.topic: unit
11+
azureSandbox: false
12+
labModal: false
13+
durationInMinutes: 4
14+
content: |
15+
[!include[](includes/create-ediscovery-search.md)]
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
### YamlMime:ModuleUnit
2+
uid: learn.wwl.purview-ediscovery-search.ediscovery-prerequisites
3+
title: Prerequisites for using eDiscovery in Microsoft Purview
4+
metadata:
5+
title: Prerequisites for using eDiscovery in Microsoft Purview
6+
description: "Prerequisites for using eDiscovery in Microsoft Purview."
7+
ms.date: 04/17/2025
8+
author: wwlpublish
9+
ms.author: riswinto
10+
ms.topic: unit
11+
azureSandbox: false
12+
labModal: false
13+
durationInMinutes: 3
14+
content: |
15+
[!include[](includes/ediscovery-prerequisites.md)]
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
### YamlMime:ModuleUnit
2+
uid: learn.wwl.purview-ediscovery-search.export-results
3+
title: Export eDiscovery search results
4+
metadata:
5+
title: Export eDiscovery search results
6+
description: "Export eDiscovery search results."
7+
ms.date: 04/17/2025
8+
author: wwlpublish
9+
ms.author: riswinto
10+
ms.topic: unit
11+
azureSandbox: false
12+
labModal: false
13+
durationInMinutes: 7
14+
content: |
15+
[!include[](includes/export-results.md)]
Lines changed: 118 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,118 @@
1+
As an information security administrator, one of your responsibilities might be to investigate activity that could indicate a data leak or misuse of sensitive information. eDiscovery searches in Microsoft Purview help you locate potentially relevant content across Microsoft 365 services, such as email, files, and Teams messages.
2+
3+
For example, you might need to identify messages and documents shared externally by members of the Sales department during a specific time period. To do that, you'll create a search in an eDiscovery case, define the locations to search, and configure your query to find the relevant content.
4+
5+
## Supported Microsoft 365 workloads
6+
7+
When you conduct a search, the results might include content from the following workloads, depending on the locations you choose:
8+
9+
- **Exchange Online**: Email messages and calendar items
10+
- **SharePoint Online and OneDrive for Business**: Files and document metadata
11+
- **Microsoft Teams**:
12+
- **Chat messages** (1:1 and group chats)
13+
- **Channel messages**
14+
- **Files shared in chat and channels**
15+
- **Microsoft 365 Groups and Viva Engage**: Group conversations and shared documents
16+
17+
## Conduct an eDiscovery search
18+
19+
eDiscovery searches in Microsoft Purview are typically conducted in phases. Each phase helps narrow the focus of the investigation and ensures that the results are accurate and relevant.
20+
21+
The phases include:
22+
23+
1. Define the scope of your search
24+
1. Identify data sources
25+
1. Build the query
26+
1. Run and review the results
27+
28+
You might return to earlier phases to adjust sources or refine your query based on the results. Once you're confident in the results, you can move on to the next steps in the investigation, such as exporting data or adding it to a review set.
29+
30+
### Phase 1: Define search criteria
31+
32+
When configuring a search, you'll specify:
33+
34+
- A **search name** and optional description
35+
- One or more **data sources**, such as users, groups, or sites
36+
- A **query** using conditions, keywords, or Keyword Query Language (KQL)
37+
38+
You can use the **Conditions** tab to apply filters like date range or sender, and the Keywords tab to build your query using text or KQL.
39+
40+
### Phase 2: Identify data sources
41+
42+
Before you can run a search, you need to specify the sources where content should be collected. In Microsoft Purview eDiscovery, this includes users, groups, SharePoint sites, OneDrive accounts, and Teams.
43+
44+
To add sources:
45+
46+
1. In the **Data sources** section, select **Add sources** or choose **Add tenant-wide sources** if you want to search across the entire organization.
47+
1. In the **Search for sources** pane, you can filter by:
48+
- All people and groups (default)
49+
- People only
50+
- Groups only
51+
52+
1. Enter the name, email address, or URL of the source. For SharePoint and OneDrive, enter a full site or account URL.
53+
1. Optionally, select **Exclude inactive users** to limit the results.
54+
1. Choose your sources, then select **Save and close**.
55+
56+
:::image type="content" source="../media/select-data-sources.png" alt-text="Screenshot showing where to select data sources in eDiscovery." lightbox=" ../media/select-data-sources.png":::
57+
58+
You can select individual sources or include all active users and groups in the tenant. For most investigations, narrowing the scope of your data sources helps return more relevant results and improves performance.
59+
60+
### Phase 3: Build the query
61+
62+
The **Condition builder** lets you define filters to narrow the results returned by your search. You can use simple matching logic or combine conditions to focus on specific types of content.
63+
64+
To add conditions:
65+
66+
1. In the **Query** tab, under **Condition builder**, select **Add conditions**.
67+
1. Choose from the available options:
68+
- **KeyQL**: Write advanced queries using Keyword Query Language.
69+
- **Date**: Filter content based on sent, received, or modified dates.
70+
- **Subject/Title**: Match specific terms in email subjects or document titles.
71+
- **Participants**: Filter by sender, recipient, or other participants.
72+
- **Type**: Filter by message kind, such as Email, Chat, or Teams.
73+
74+
Each condition supports different operators, such as **equals**, **contains**, or **starts with**. Conditions are combined using **AND**, meaning content must meet all specified criteria to be included.
75+
76+
:::image type="content" source="../media/condition-builder.png" alt-text="Screenshot showing an example query in the condition builder in eDiscovery." lightbox=" ../media/condition-builder.png":::
77+
78+
You can add multiple conditions and adjust or remove them as needed. When using both the condition builder and a keyword query, the system will apply both sets of criteria to your results.
79+
80+
#### Use Copilot to generate queries (preview)
81+
82+
If available, Microsoft Security Copilot can help build a query from a natural language prompt. For example:
83+
84+
_Find Teams messages sent by Alex Wilber between March 1 and March 15 that contain attachments related to budget planning._
85+
86+
:::image type="content" source="../media/generate-keyql-copilot.png" alt-text="Screenshot showing Copilot generating KeyQL code with Copilot." lightbox=" ../media/generate-keyql-copilot.png":::
87+
88+
Copilot generates a suggested KeyQL query that you can review and edit.
89+
90+
#### Search by file (preview)
91+
92+
If you're working with evidence like chat logs, documents, or audit exports, you can use the Search by file option to find related content. This preview feature lets you upload sample data and use it as the basis for your search instead of writing manual queries.
93+
94+
To use Search by file:
95+
96+
1. Select the **Search by file (preview)** tab.
97+
1. Choose **Attach files**, then select one of the following:
98+
- **Find similar content (.txt file)**: Upload a plain text file containing sample content to match against.
99+
- **Find reference content (.csv file)**: Upload a CSV file, such as one generated from audit logs, to identify messages or files tied to specific users and actions.
100+
1. After uploading, your file appears in the table with its details.
101+
102+
Each file must be 10 MB or smaller and in `.txt` or `.csv` format. When using this method, KQL and condition builder options are disabled. Instead, Microsoft Purview analyzes the uploaded content to find matches.
103+
104+
This feature is especially useful when you're investigating suspicious behavior and already have sample evidence to work from.
105+
106+
### Phase 4: Run and review the results
107+
108+
After you've configured your search criteria, you're ready to run the query and review the results.
109+
110+
1. Select **Run query**.
111+
1. Choose your preferred result type:
112+
113+
- **Statistics**: View summary data about the search, including the number of items found, size of the results, and breakdown by location.
114+
- **Sample**: View a random sample of the search results to validate your query before proceeding.
115+
116+
Results appear in the **Query** and **Statistics** tabs. If the results don't match what you expected, you can update your conditions or data sources and run the query again.
117+
118+
After confirming that the results are accurate, you can export the content or add it to a review set, depending on what your investigation requires.
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
To search for content in Microsoft Purview eDiscovery, you must first create a case. A case provides the workspace where searches, holds, and exports are managed. Creating a search also creates a case, which ensures that access to investigation data is controlled and auditable. This ensures that access to investigation data is controlled and auditable.
2+
3+
## Why cases are required
4+
5+
Every search must be associated with a case. The case model provides:
6+
7+
- Controlled access to investigation data
8+
- An auditable trail of search and export actions
9+
- A consistent structure for managing investigation tasks
10+
11+
The person who creates the case is automatically added as a member. Other users must be added manually. Even with the correct eDiscovery roles, users can’t access a case unless they’re listed as a member.
12+
13+
## Create a search
14+
15+
You can either create a case and search in a single step or create a search through a case.
16+
17+
### Create a search directly
18+
19+
1. In the [Microsoft Purview portal](https://purview.microsoft.com/?azure-portal=true), go to **Solutions** > **eDiscovery** > **Cases**.
20+
1. Select the arrow next to **+ Create case**, then select **Create search**.
21+
22+
:::image type="content" source="../media/create-search-split-button.png" alt-text="Screenshot showing split button and where to create a search in eDiscovery." lightbox=" ../media/create-search-split-button.png":::
23+
24+
1. Enter a **case name** and a **search name**.
25+
1. Optionally, provide descriptions for the case and search.
26+
1. Select **Create** to create the case and search.
27+
28+
:::image type="content" source="../media/create-search-fields.png" alt-text="Screenshot showing the fields to create an eDiscovery search." lightbox=" ../media/create-search-fields.png":::
29+
30+
This creates a case and a search at the same time, so you can move directly into configuring your search criteria without setting up the case separately.
31+
32+
### Create a search through a case
33+
34+
If you prefer to create the case first and then add a search from within it:
35+
36+
1. Go to **Solutions** > **eDiscovery** > **Cases**.
37+
1. Select **+ Create case**.
38+
1. Enter a **name** and optional **description**.
39+
1. Select **Create** to create a case.
40+
41+
:::image type="content" source="../media/create-case-fields.png" alt-text="Screenshot showing the fields to create an eDiscovery case." lightbox=" ../media/create-case-fields.png":::
42+
43+
1. On the **Searches** tab of your case, select **Create search**.
44+
1. Enter a **name** and optional **description**.
45+
1. Select **Create** to create the search.
46+
47+
Once the search is created, you can begin configuring the search criteria to locate the content relevant to your investigation.
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
Before using eDiscovery to search for content, certain roles and access must be assigned to ensure users can view cases, create searches, and export results. These prerequisites help maintain a secure and auditable investigation process.
2+
3+
## Required roles
4+
5+
**Global** and **Compliance Administrators** can't access eDiscovery cases or search user content unless they're explicitly assigned to the **eDiscovery Manager** or **eDiscovery Administrator** role group. This permission model ensures that access to sensitive data is intentional and auditable.
6+
7+
To access eDiscovery, users need to be assigned one of the following roles:
8+
9+
- **eDiscovery Manager**: Allows users to create and manage eDiscovery cases, run content searches, and export results.
10+
- **eDiscovery Administrator**: Includes all eDiscovery Manager permissions, plus the ability to manage role assignments and settings across all cases.
11+
12+
These roles can be assigned in the Microsoft Purview portal under **Permissions > Roles**.
13+
14+
## Assign users to eDiscovery roles
15+
16+
Administrators can assign users to eDiscovery roles by doing the following:
17+
18+
1. In the [Microsoft Purview portal](https://purview.microsoft.com/?azure-portal=true), select **Settings** > **Roles and Scopes** > **Role groups**.
19+
1. Search for and select the appropriate eDiscovery role group.
20+
1. Add users or groups to the role group.
21+
22+
Once assigned, users might need to sign out and sign back in to see the eDiscovery interface.
23+
24+
## Confirm access to eDiscovery
25+
26+
To verify that the role assignment was successful:
27+
28+
1. Open the Microsoft Purview portal.
29+
1. In the left-hand navigation, select **eDiscovery**.
30+
1. The **Cases** page should load. If not, confirm the user has been assigned the appropriate role and that the Microsoft 365 license includes eDiscovery access.
31+
32+
With the right roles and access in place, users can begin creating cases and searching for content across Microsoft 365 workloads.
Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
After you've confirmed that your search results contain the content you need, you can export those results directly from Microsoft Purview eDiscovery. Exporting creates a downloadable package of items and metadata that can be used for legal review, investigation documentation, or external handoff.
2+
3+
Exporting is often the final step in the eDiscovery search process. If your organization performs deeper analysis before exporting, you might add results to a review set first. But if you're ready to hand off data or archive results, exporting is the most direct approach.
4+
5+
## Choose what to export
6+
7+
When you're ready to export:
8+
9+
1. Go to the **Searches** tab in your case.
10+
1. Select a completed search.
11+
1. Select **Export**.
12+
13+
In the export pane, you'll provide a name for your export and decide what types of items to include. You can export:
14+
15+
- **Only indexed items** that matched your search query
16+
- **Indexed items and partially indexed items** (useful if you're concerned about items that couldn't be fully processed)
17+
- **Only partially indexed items** (useful in special cases, such as if you're following up on indexing issues)
18+
19+
:::image type="content" source="../media/ediscovery-export.png" alt-text="Screenshot showing the index options for an eDiscovery export." lightbox=" ../media/ediscovery-export.png":::
20+
21+
These choices control how comprehensive your export will be. For most investigations, the first or second option is appropriate.
22+
23+
## Configure export settings
24+
25+
Depending on the types of content in your search results, you can configure additional export options.
26+
27+
### OneDrive and SharePoint
28+
29+
If your search includes sites or document libraries, you can customize how much document history or folder context to include. You can choose:
30+
31+
- How many document versions to include (latest, recent 10 or 100, or all versions)
32+
- Whether to include subfolder items that didn't match the query
33+
- Whether to include attachments from SharePoint lists
34+
35+
:::image type="content" source="../media/ediscovery-export-onedrive-sharepoint.png" alt-text="Screenshot showing the OneDrive and SharePoint export options for eDiscovery." lightbox=" ../media/ediscovery-export-onedrive-sharepoint.png":::
36+
37+
These options are helpful if you're dealing with collaborative content or list-based business processes.
38+
39+
### Mailboxes and Teams
40+
41+
These options help preserve conversational context, especially for Teams chats or messages with cloud attachments. For Exchange and Teams content, you can:
42+
43+
- **Thread conversations** into HTML transcripts (especially useful for chat review)
44+
- **Include contextual Teams and Viva Engage messages** (up to 12 hours of related conversation)
45+
- **Include cloud attachments** from SharePoint or OneDrive, and choose the version range to include
46+
47+
:::image type="content" source="../media/ediscovery-export-mailbox-teams.png" alt-text="Screenshot showing the message and mailbox export options for eDiscovery." lightbox=" ../media/ediscovery-export-mailbox-teams.png":::
48+
49+
These settings help ensure that the content you export preserves its original context and includes linked documents when applicable.
50+
51+
## Select format and structure
52+
53+
Next, choose how your exported items are packaged:
54+
55+
- Export mailbox content as **PST** files or **MSG files**
56+
- Organize data by **source location**
57+
- Include or condense the **original folder path**
58+
- Generate **friendly names** for items to make them easier to reference
59+
60+
:::image type="content" source="../media/ediscovery-export-type-format.png" alt-text="Screenshot showing the type and format export options for eDiscovery." lightbox=" ../media/ediscovery-export-type-format.png":::
61+
62+
These options help shape the output to meet your internal or legal team's requirements.
63+
64+
## Start the export and track progress
65+
66+
Once you've configured your export, select Export to begin. A confirmation message appears, and the process starts in the background.
67+
68+
You can monitor the export from the **Process manager**, where you'll see:
69+
70+
- Export status and completion time
71+
- Number of items and locations
72+
- Export options used
73+
74+
This helps you keep track of multiple exports and ensures you know when everything is ready for download.
75+
76+
## Download the export package
77+
78+
After the export finishes, go to the **Exports** tab in your case to view the results. Completed exports appear in the table with their name, status, search name, and creation details.
79+
80+
To download the export package:
81+
82+
1. Select the export to open its **Overview**.
83+
1. In the **Export packages** section, review the list of downloadable files, including message content, reports, and item metadata.
84+
1. Select the checkboxes next to the files you want to download.
85+
1. Select Download.
86+
87+
:::image type="content" source="../media/download-export.png" alt-text="Screenshot showing the download packages view in eDiscovery." lightbox=" ../media/download-export.png":::
88+
89+
The download includes all exported content along with reports that summarize what was included.

0 commit comments

Comments
 (0)