Skip to main content

Connect Microsoft SharePoint for documents

Register a Microsoft Entra ID (Azure AD) application, grant it least-privilege access to your SharePoint site, and use its credentials to connect SharePoint to PlanOps so your documents synchronise automatically.

Audience

This guide is designed for project manager.

Steps

Step 1: Confirm you can register an app in Microsoft Entra ID

The connection uses application-only (app registration) access to Microsoft Graph rather than a personal login, so a single connection can sync documents in the background. You need permission to register an application in Microsoft Entra ID (formerly Azure AD), or an Entra administrator who can do it for you.

tip

Each organisation can have a single SharePoint connection, and only PlanOps organisation admins can create or manage it. It can run alongside a Trimble Viewpoint connection.

Step 2: Register an application in Microsoft Entra ID

In the Microsoft Entra admin centre, go to 'App registrations' and create a new registration (a single-tenant app is sufficient; no redirect URI is required for app-only access). Once created, note the application's Directory (tenant) ID and Application (client) ID from the overview page.

tip

The Directory (tenant) ID and Application (client) ID are GUIDs. You will paste both into PlanOps later.

Step 3: Add Microsoft Graph application permissions

In the app registration, open 'API permissions', choose 'Add a permission', select 'Microsoft Graph', then 'Application permissions' (not Delegated). Add 'Sites.Selected' for least- privilege access to a single site (recommended), or 'Sites.Read.All' if you prefer broader, tenant-wide read access.

tip

Application permissions let the integration read documents without a signed-in user. Sites.Selected is the most secure option and is the default PlanOps expects.

Still on the 'API permissions' page, choose 'Grant admin consent for [your tenant]'. The permission status must show as granted before the app can call Microsoft Graph.

tip

Admin consent requires a Global Administrator or Privileged Role Administrator. Consent alone is not enough for Sites.Selected — you must also grant the site in the next step.

Step 5: Grant the app access to your SharePoint site (Sites.Selected only)

With Sites.Selected, the app has no access until an administrator grants it for a specific site. An admin grants read access to the target site via Microsoft Graph (a POST to /sites/{site-id}/permissions with the 'read' role and your app's client ID), or using SharePoint PowerShell. Skip this step if you chose Sites.Read.All.

tip

Without this grant, PlanOps will authenticate successfully but see no documents. If you chose Sites.Read.All, no per-site grant is needed.

Step 6: Create a client secret

In the app registration, open 'Certificates & secrets', choose 'New client secret', set an expiry that suits your security policy, and copy the secret 'Value' immediately.

tip

Copy the secret Value, not the Secret ID, and store it securely — Entra only shows it once. Note the expiry date so you can rotate the secret in PlanOps before it lapses.

Step 7: Find your SharePoint site ID and optional drive ID

Note the Graph site identifier for the SharePoint site you want to read from (the site URL is also accepted). Optionally note a default document library (drive) ID if you want to set one; otherwise you can pick a library and folder per project after connecting.

tip

The site can be entered either as a Graph site ID (for example contoso.sharepoint.com,{siteId},{webId}) or as the site URL.

Step 8: Open the connection dialog in PlanOps

In PlanOps, go to Settings and open 'Document system links'. Under 'Add new connection', select Microsoft SharePoint and choose 'Connect' to open the 'Connect Microsoft SharePoint' dialog.

tip

The SharePoint option is only available to organisation admins. If it is disabled, ask an organisation admin to set up the connection.

Step 9: Enter your SharePoint details

Give the connection a recognisable name, then enter the Tenant ID, the Site (Graph site ID or URL), an optional default Drive ID, the Application (client) ID, and the Client Secret value you copied.

tip

Credentials are stored encrypted and are only used to synchronise documents.

Step 10: Choose your synchronisation settings

Turn on Automatic synchronisation if you want PlanOps to keep documents up to date, and pick a sync frequency (manual, hourly, daily or weekly) to suit your project.

Step 11: Connect and verify

Click 'Connect'. PlanOps saves the configuration and then verifies the credentials against Microsoft Graph. When both steps show as successful, the connection is active.

tip

If verification fails, check the Tenant ID, Client ID and Client Secret first. A common cause is an expired secret, or copying the Secret ID instead of the secret Value.

Once connected, expand the connection and choose 'Browse folders'. Navigate from the site into a document library and then into folders, and choose 'Use this folder' to sync that folder and its subfolders to your current PlanOps project.

tip

Selecting a document library at the top level syncs the whole library; selecting a folder syncs that folder and everything beneath it.


Last updated: 2026-06-22