--- title: "Exchange Online setup instructions" slug: "dex-exchange-online" updated: 2026-11-30T12:32:10Z published: 2026-11-30T12:32:10Z canonical: "documentation.sysaid.com/dex-exchange-online" --- > ## Documentation Index > Fetch the complete documentation index at: https://documentation.sysaid.com/llms.txt > Use this file to discover all available pages before exploring further. # Exchange Online setup instructions MICROSOFT 365 Entra app registration (Mail Graph) To connect Dex to Exchange Online mailboxes, grant the Entra app the relevant mail Graph application permissions and (recommended) scope it to specific mailboxes. ## Steps 1. In the Microsoft Entra admin center, open your app registration (or reuse the M365 Base app). 2. Under API permissions → Add a permission → Microsoft Graph → Application permissions, add Mail.Read (and Mail.Send / Mail.ReadWrite if Dex must send or modify mail); add MailboxSettings.Read for settings. 3. Click "Grant admin consent for " and confirm the green checkmarks. 4. Recommended: limit the app to specific mailboxes using RBAC for Applications in Exchange Online so it cannot touch every mailbox. 5. Provide Dex the Tenant ID, Client ID, and Client secret. ## Paste into Dex The connection form in the Dex app store asks for these values: - Directory (tenant) ID - Application (client) ID - Client secret (Value) Shown only once at creation. - Scoped mailbox(es) Optional: the mailbox(es) Dex is allowed to access. Links on page: [Open Exchange Online console](https://entra.microsoft.com/), [Official docs](https://learn.microsoft.com/en-us/exchange/permissions-exo/application-rbac).