Exchange Online
Who can do this: repository admins, a Microsoft 365 administrator for the consent, and an Exchange administrator for the scope.
The Exchange Online connector reads shared mailboxes — and only those you place in a scope in your own tenant. Available on Pro and Scale. Personal, room, equipment and group mailboxes are never mounted, nor Deleted Items, Junk Email, Drafts, Outbox and other system folders. Nothing is ever sent, moved, flagged or deleted.
| Plan | Pro and Scale |
| Reads | Mail in the shared mailboxes you place in an Exchange scope, as the original messages, with their attachments |
| Does not read | Personal, room, equipment and Microsoft 365 group mailboxes; archive mailboxes; calendar items, contacts, tasks and notes; Deleted Items, Junk Email, Drafts, Outbox and other system folders |
| Reaches it through | Microsoft Graph, with an admin consent that grants no mail permission; mail access comes only from the scope you create |
| Limits | Senders and recipients are stored as fields marked as personal data. The source filter proposes the last three years of messages |
Limits common to every connector — indexed text per document, file size for extraction, OCR — are in Connectors.
Permissions requested
Section titled “Permissions requested”The admin consent grants ContentSurface’s application only User.Read.All
and sign-in — no mail permission. Mail access comes from an RBAC for
Applications scope you create in Exchange Online, naming exactly the
mailboxes to share (Application Mail.Read and
Application MailboxSettings.Read). You can review it at any time.

- Connections → New connection → Exchange Online, a name, then grant the Admin consent. If Microsoft’s page asks for mail permissions, stop: it is not ContentSurface’s application.
- In Entra’s Enterprise applications, find ContentSurface Exchange connector (search by its client ID) and copy its Object ID.
- Mark each mailbox to share:
Set-Mailbox support@contoso.com -CustomAttribute1 "ContentSurface". - As an Exchange administrator, run the
exchange-scope.ps1script from ContentSurface with the Object ID. It creates the scope over the marked mailboxes and the two role assignments, and can be run again safely. On a new tenant it can wait up to 30 minutes for Exchange to allow scopes. - Check the connection. A warning that the application can read every mailbox means someone also granted mail permissions in Entra ID: revoke them there.
- New mount point: a mailbox from the scope, or one folder in it (Inbox/Project X).
- Mount it. The source filter proposes
P3Y— messages of the last three years; give another period (P18M), a date (2023-01-01), or clear it.
Messages are content (their original .eml), with attachments in an
Attachments folder below each message; a match in an attachment finds the
message. Changes are picked up every few minutes.
Withdrawing access
Section titled “Withdrawing access”Remove the role assignments, the scope and the service principal in Exchange, and the enterprise application in Entra ID. To take one mailbox out, clear its custom attribute: its mount folder then stops, deleting nothing until you remove it.
In the API
The Portal does this through these calls; an integration can make them directly.
| Operation | Call |
|---|---|
| Creates a connection; its connector type and source location are fixed. | POST /v1/admin/connections |
| Microsoft Entra ID's admin consent URL for a SharePoint Online or OneDrive connection; valid for 30 minutes. | POST /v1/admin/connections/{id}/consent |
| Tests reachability and authentication of the source. | POST /v1/admin/connections/{id}/check |
| Where browsing starts: the connector's source roots. | GET /v1/admin/connections/{id}/source-roots |
| The child containers of a source location, for choosing a mount point. | GET /v1/admin/connections/{id}/browse |
| Validates a location through the connector and creates a mount point on it. | POST /v1/admin/connections/{id}/mount-points |