Set up Outlook
Connecting Outlook runs a multi-step flow in the Glean Admin console. You connect, set up indexing, then review and begin. Glean then builds a permission-aware index of your organization's email, scoped to what each user can already open in Outlook.
- Permission-aware search. Glean indexes email and mirrors Outlook access controls, enforced at query time, so each user sees only the messages they can open in Outlook. Outlook uses
Calendars.Readto surface calendar events in the Glean Today card. For calendar search and meeting transcripts, use the Microsoft Teams connector. - Two read-only modes. Data crawling and indexing (native) is the default path for search, and data fetching (federated) is also available for live results. Both are read-only.
- Read-only indexing. The certificate-based Microsoft Graph app that powers indexing uses only read-only permissions (
Mail.Read,Calendars.Read,User.Read.All, andGroupMember.Read.All). Glean never writes to, sends, or modifies anything in Outlook through this app.
- Connect and set up indexingtoday — current step
- Review and begintoday — current step
- Permission-aware search switches ona few days — happens automatically
Feature availability after setup
Search switches on once you begin indexing and the first crawl completes. How long the first crawl takes depends on the size of your corpus. Glean indexes email messages and threads. Attachment indexing is disabled by default; when enabled in the connector configuration, Glean indexes eligible attachment content and metadata.
| Capability | When it becomes available | Whose permissions apply |
|---|---|---|
| Permission-aware search (native indexing) | Once you begin indexing and the first crawl completes | Outlook access controls, mirrored into the index and enforced at query time |
| Real-time fetch (federated) | Once the connector is connected | Outlook access controls, checked at query time |
Connector setup
Prerequisites
Confirm the following before you begin.
| Requirement | Why it is needed |
|---|---|
| A Microsoft Global Admin | Registers the Azure app, grants admin consent for the Microsoft Graph permissions, and uploads the certificate |
| A Glean admin who can add and configure connectors | Completes the two-step Outlook flow in the Admin console |
| Microsoft 365 or Exchange Online | The connector supports Exchange Online only, not on-premises or legacy Exchange |
Step 1. Connect
In the Glean Admin console, go to Connectors and add the Outlook connector. This step authorizes Outlook's tools.
-
Enter a Name for the connector. This is the name your organization members see.
-
Under Select an authorization method, pick one option.
- Central (recommended). Use Glean's managed OAuth app, which needs no configuration.
- Custom. Use your own Azure OAuth app. You provide a Client ID and Client secret.
See Central and custom authentication for Microsoft 365 tools for the full instructions. The same steps apply to OneDrive, SharePoint, and Outlook.
-
Select Continue. You return to Glean to set up indexing.
Step 2. Set up indexing
Provide the Azure app credentials Glean needs to build a permission-aware index of email. This is a separate Azure app from the one you authorized in Step 1. If you already set up the Microsoft 365 parent connector, Outlook can share its tenant, but you still register Outlook's own client ID and certificate here. There is no tenant ID field on this step, because the tenant ID is inherited from the Microsoft 365 suite.
-
Sign in to the Azure portal. Select Microsoft Entra ID, then Manage → App registrations → New registration. Register the app with these values.
- Set Name to Glean.
- Set Supported account types to Accounts in this organizational directory only (single tenant).
- Leave Redirect URI blank.
Select Register.
-
In the app, add the Microsoft Graph Application permissions. Select Manage → API Permissions → Add a permission, choose Microsoft Graph, then Application permissions, and add the following (all read-only).
Mail.Readgrants read access to email messages.Calendars.Readsurfaces calendar events in the Glean Today card.User.Read.Allgrants user identities for permission mapping.GroupMember.Read.Allgrants group memberships for the product access group.
-
Grant admin consent. Signed in as a Global, Application, or Cloud Application Administrator, use the search box to open Enterprise applications, select the Glean app, open Permissions under Security, and select Grant admin consent.
-
Generate a certificate. Follow Generate a certificate and private key.
-
Upload the certificate to Azure. Save the Application (client) ID from the app Overview page.
-
Back in Glean, enter the Application (client) ID, upload the certificate (
.crt) and private key (.key) files, and select Continue. -
Set the crawl scope. See Outlook crawl restrictions for mailbox, domain, and message-history limits.
Step 3. Review and begin
Review the connector, then start it.
- User access. Make the connector available to all users, or to a test group only.
- Data access. Confirm the mailbox, domain, and message-history scope.
- Begin indexing to start the first crawl. Indexing runs in the background, and permission-aware search switches on once the first crawl completes.
Manage users (optional)
To limit who Glean can index, restrict the app to specific users or groups in Azure. See Manage users for the steps.
Manage tools
Connecting Outlook makes its tools available. You can see all available tools on the Tools tab of your connector and edit permissions through Advanced settings.
Tool settings you can change afterwards
- Which tools are on. Keep read tools enabled and leave write tools off until you are ready for agents to act in Outlook. See Enabling or disabling individual tools.
- Where they appear. Across Glean Assistant, Agents, and the Glean MCP server. See Enabling tools for Chat and Agents.
- Who can use them. Scope each tool to specific users or groups. See Tool visibility scoping and role-based access to tools.
- How write tools run. Control whether a tool runs without user confirmation. See Run tools without user confirmation and Allowing in-line execution of write tools.
For the full guide, see Tools overview.
Permissions and security
- Permission propagation. Glean maps document-level permissions from Outlook and enforces search-result visibility from those mappings at query time.
- Read-only access. The Microsoft Graph app uses only read-only application permissions (
Mail.Read,Calendars.Read,User.Read.All, andGroupMember.Read.All), with admin consent and no delegated user privileges. Glean never writes to, sends, or modifies Outlook data. The connector supports Exchange Online only.
After setup
- Refine what is indexed with mailbox, domain, and message-history restrictions. See Outlook crawl restrictions.
- Check progress any time from the Outlook connector page in the Admin console.
See also
- Choose your Outlook setup shows which setup is yours and how permission-aware indexing fits into each.
- Outlook overview covers what gets indexed, permissions, and limitations.
- Existing setup is the existing connector setup reference.