OneDrive
The OneDrive connector indexes files in users' OneDrive for Business.
These connectors link the firm's own cloud account. They appear in the catalogue only after an administrator turns on Firm cloud connectors on Admin → Connectors. The switch is off by default. Cloud connectors must be private and shared with one or more groups.
Register an app in Microsoft Entra
The connector signs in as an app registration in the firm's Microsoft Entra tenant, using application permissions.
- In the Microsoft Entra admin centre, open App registrations and create a new registration.
- Note the Application (client) ID and the Directory (tenant) ID.
- Under Certificates & secrets, add a client secret, or upload a
certificate. For a certificate, keep the matching
.pfxfile and its password. The.pfxfile must be under 10 KB. - Under API permissions, add the Microsoft Graph application permissions listed below, then choose Grant admin consent.
When you save the connector, NorthLock checks the permissions. If one is missing, the check names it.
Permissions
User.Read.Allto list the users whose OneDrive is indexed.Sites.Read.All, or a selected read grant on each personal site, to read the files.
Set it up
- Go to Admin → Connectors and choose OneDrive.
- Create a credential with the client ID, directory ID, and either the client
secret or the
.pfxcertificate and its password. - Choose whose files to index: - General: every eligible user the app can reach. - Specific: list each user's user principal name or primary email address.
- Optional settings:
- Excluded Paths: glob patterns matched against each path and file
name, such as
*.tmporArchive/*. - Treat organization links as public: when on, files shared through an organization-wide link are visible to every NorthLock user. - Authority Host and Graph API Host: leave the defaults unless the tenant is in a government cloud such as GCC High. - Save. Indexing starts on the box.