SharePoint and OneDrive
Setup
Connect to OneDrive and SharePoint
Required permissions for setup
- The user setting up this data source must be the Global Admin.
Register a new app
-
Sign into the Azure portal. Select Azure Active Directory, then App registrations > New registration.
-
On the Register an application page, register an app with the following:
Field Value Name Glean Supported account types Accounts in this organizational directory only (Single tenant) Redirect URI (Leave this field blank) -
Click Register.
Configure permissions
- On the left side navigation on the overview page, click on Manage > API Permissions.
- Click Add a permission and select Microsoft Graph. Choose Application permissions and add the following:
- User.Read.All
- GroupMember.Read.All
- Files.ReadWrite.All (for subscriptions over drives)
- Reports.Read.All
- Sites.FullControl.All
- Member.Read.Hidden
- Click Add a permission and select Sharepoint. Choose Application permissions and add the following:
- Sites.FullControl.All
Grant admin consent
- Ensure you are signed into Azure as a Global, Application or Cloud Application Administrator.
- Use the search box to navigate to Enterprise applications. Select the Glean app you just created from the list of applications.
- Click on Permissions under Security. Review the permissions shown, and then click Grant admin consent. By this step, you should have the following permissions provisioned on the API Permissions page
Fill out keys
- Scroll to the top of the left sidebar and click Overview.
- Copy the following content from the center Essentials panel and enter it in Glean:
- Application (client) ID
- Directory (tenant) ID
- Enter your Sharepoint domain in Glean. Your Sharepoint domain should end with “sharepoint.com”
- (Strongly Recommended) To increase the full crawl indexing speeds, Glean recommends between 1 and 10 additional applications with the same permission settings as the initial app created. Repeat the setup steps from “Register a new app” until this step, saving the client ID and uploading the certificate to Azure in the process. Paste the client ID into the Glean web app.
- Click Save. If the credentials save, you’re all set!
Was this page helpful?