Microsoft 365 overview
The Microsoft 365 connector syncs users and groups for SharePoint and OneDrive. Set up its identity app first, then configure separate content apps for the SharePoint and OneDrive connectors.
Choose the Microsoft 365 setup instructions that match your Admin console. For Outlook, use its setup guide.
How it works
The Microsoft 365 connector uses its identity app to sync users and groups and stores the directory tenant ID. SharePoint and OneDrive each use that tenant ID with their own Microsoft Entra app's client ID and certificate credentials to index content.
If a connector's setup shows inherited credentials instead, keep the existing shared app and manage its credentials on Microsoft 365. You don't need to recreate working connections or replace their app registrations.
Customize source profile links
Glean adds a Microsoft 365 source link to each indexed user's people profile. Glean Support can customize these links when crawled user metadata contains the values needed to build the destination.
A custom template can reference a top-level string field, such as %{userPrincipalName}, or a nested string field with the %{field.path} format. Glean encodes each named field value before adding it to the link. Existing profile-link templates that use %s continue to work.
If a referenced field is missing or isn't a string, Glean leaves the source profile link empty. Contact Glean Support to configure a custom template.
Child connectors
Set up each content connector after saving the Microsoft 365 parent.
| Connector | What it indexes | Setup |
|---|---|---|
| SharePoint | Sites, pages, document libraries, files, and lists | SharePoint setup |
| OneDrive | Personal drives and shared files | OneDrive setup |
Permissions
Grant identity permissions to the Microsoft 365 app and content permissions to each service's app. You can request approval for all the apps together, but grant admin consent separately for each registration. See Request all suite permissions upfront for app-specific scopes, and Microsoft 365 setup for the full setup walkthrough.