---
title: "Exchange Mailbox (Graph)"
description: "Add an Exchange Online mailbox source in Netwrix Data Classification using the Microsoft Graph API, with authentication, crawl range, and OCR settings."
sidebar_position: 35
---

# Exchange Mailbox (Graph)

Use the **Exchange Mailbox (Graph)** source to crawl and classify content stored in a single Exchange Online mailbox using the Microsoft Graph API. For on-premises Exchange mailboxes, use [Exchange Mailbox (EWS)](/docs/dataclassification/5.8/configuration/sources/addsource/exchangemailboxews.md) instead.

**Step 1 –** In Netwrix Data Classification management console, open the **Sources** view and click
**Add**.

**Step 2 –** Select **Exchange Mailbox (Graph)** source type and in the properties window specify the
necessary settings.

## Authentication

You must specify the following:

| Option                 | Description                                                                                                                                                                                                                                                                                         |
| ---------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Admin Username         | Specify the administrative account for the required Exchange Online organization. The user must have a mailbox connected to it to crawl Exchange.                                                                                                                                          |
| Tenant ID              | Enter the **Tenant ID** you obtained at [Step 5: Obtain Tenant ID](/docs/dataclassification/5.8/configuration/connectors/exchange/azureappexchangeonlinemfa.md#step-5-obtain-tenant-id).                                                                                                                                  |
| Certificate thumbprint | Enter the certificate thumbprint you prepared at [Step 4: Configure Certificates & secrets](/docs/dataclassification/5.8/configuration/connectors/exchange/azureappexchangeonlinemfa.md).                                                                                          |
| Application ID         | Enter the app ID you got at application registration at [Step 2: Create and Register a new app in Azure AD](/docs/dataclassification/5.8/configuration/connectors/exchange/azureappexchangeonlinemfa.md#step-2-create-and-register-a-new-app-in-azure-ad) (you can find it in the Azure AD app properties >**Overview**). See [Configure Microsoft Exchange for Crawling and Classification](/docs/dataclassification/5.8/configuration/connectors/exchange/exchange.md) for details of the permissions to grant to the application. |


## Other configuration settings

By default, only basic settings appear. To view advanced options, click the "wrench" icon at
**Settings** in the bottom.

| Option                   | Description                                                                                                                                                                                                                                                                                                                                                                                                                       | Comments                                                                                                                                                                                                                                                      |
| ------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Basic settings**       |                                                                                                                                                                                                                                                                                                                                                                                                                                   |                                                                                                                                                                                                                                                               |
| Cloud Environment | Select the Azure environment that hosts your Exchange Online tenant. | | 
| Mailbox                  | The mailbox to crawl.                                                                                                                                                                                                                                                                                                                                                                                                            | E.g. _test@cs.com_. |
| Crawl Range              | Define the time period to crawl: <ul><li>Select **Date Range** to crawl a static set of data within the required interval.</li><li>Select **Since** if you want to periodically re-crawl content from the specified date, taking into account the last crawl date for each object.</li></ul>                                                                                            |                                                                                                                                                                                                                                                               |
| Crawl In-Place Archive   | Select this option if you want to crawl Exchange Online in-place archive mailboxes.                                                                                                                                                                                                                                                                                                                                               |                                                                                                                                                                                                                               |
| OCR Processing Mode      | Set the processing mode for document images: <ul><li>**Disabled**</li><li>skip processing document images</li><li>**Default**</li><li>defaults to the global setting</li><li>**Normal**</li><li>process the images with normal quality settings</li><li>**Enhanced**</li><li>upscale the images further to allow more accurate results.</li></ul> | The **Enhanced** mode provides better accuracy but can lead to longer processing time if the images don't contain text.                                                                                                                                  |
| Source Group             | Select the source group to add this source to. If no source groups exist, the product automatically creates one named after the source.                                                                                                                                                                                                                                                                                                                                                                                                 |                                                                                                                                                                                                                                                               |
| Pause source on creation | Select if you want to make other configuration changes before data collection occurs.                                                                                                                                                                                                                                                                                                                                             |                                                                                                                                                                                                                                                               |
| **Advanced settings**    |                                                                                                                                                                                                                                                                                                                                                                                                                                   |                                                                                                                                                                                                                                                               |
| Build Search Index       | Select to create a search index.                                                                                                                                                                                                                                                                                                                                                                                    |                                                                                                                                                                                                                                                               |
| Re-Index Period          | Specify how often to check the source for changes. Default is **7** days.                                                                                                                                                                                                                                                                                                                                                | Netwrix recommends using default values.                                                                                                                                                                                                                      |
| Priority                 | Set the crawl priority for this data source. Select the priority level from the list values: <ul><li>Highest</li><li>High</li><li>Normal</li><li>Low</li><li>Lowest</li></ul>                                                                                                                                                                                                                                                 |                                                                                                                                                                                                                                                               |
| Document Type            | Specify a value to restrict queries when using the Netwrix Data Classification search index.                                                                                                                                                                                                                                                                                                                |                                                                                                                                                                                                                                                               |
