> For the complete documentation index, see [llms.txt](https://help.solar-archive.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.solar-archive.com/docs/msp-onboarding-guide/m365-onboarding/imports-from-exchange-online.md).

# Imports from Exchange Online

[Use the Outlook mail REST API - Microsoft Graph v1.0](https://learn.microsoft.com/en-us/graph/api/resources/mail-api-overview?view=graph-rest-1.0)

The Mailbox Reader enables YOUR ARCHIVE to access individual user mailboxes and sync their emails for M365.

Please ensure that you have completed the Microsoft Entra OpenID steps and have the corresponding details to hand (Client Secret, ID, etc).

1. **Configure Mailbox Reader in** YOUR ARCHIVE:
   * Log in to YOUR ARCHIVE as an admin.
   * Go to **Mailbox Reader > Connection Settings > Add Connection** and select **MSGraph** as the protocol.
   * Enter the following:
     * **Server**: `outlook.office365.com`
     * **OAuth**: Use the OAuth details set up previously (Client ID, Client Secret, etc.).
     * **Tenant ID**: Enter the tenant ID of your Office 365 environment.

       <figure><img src="/files/NtrHmHNNRgwdWzxa0DCb" alt=""><figcaption></figcaption></figure>
   * Select users from Office 365 to enable syncing.
2. **Start Syncing**:
   * Once the connection is saved, initiate the syncing process by selecting users from Office 365 and monitoring progress through the dashboard.

**Additional Resources:**

* [Microsoft Graph API Overview](https://learn.microsoft.com/en-us/graph/api/resources/mail-api-overview)
