Add OneDrive Account
How to add a Microsoft OneDrive account to Document
OneDrive Setup
These steps need to be completed within the Azure portal to register an application and obtain the credentials PlaidCloud needs to access OneDrive.
Register an Application in Azure
- Sign in to the Azure portal and navigate to Microsoft Entra ID.
- In the left sidebar, select App registrations.
- Click + New registration.
- Enter a name for the application (e.g.,
PlaidCloud). - Under Supported account types, select the option that matches your organization:
- Accounts in this organizational directory only — for a single-tenant setup (most common)
- Accounts in any organizational directory — for multi-tenant access
- Leave the Redirect URI blank.
- Click Register.
Copy the Client ID and Tenant ID
After registration, you will land on the application overview page.
- Copy the Application (client) ID — this is your Client ID. Save it for the PlaidCloud Document setup below.
- Copy the Directory (tenant) ID — this is your Tenant ID. Save it as well.
Both values are displayed on the application overview page immediately after registration.
Create a Client Secret
- In the left sidebar, select Certificates & secrets under Manage.
- Click + New client secret.
- Enter a description (e.g.,
PlaidCloud) and choose an expiration period. - Click Add.
- Copy the Value of the newly created secret immediately — this is your Client Secret. It will not be shown again after you leave this page.
Grant API Permissions
- In the left sidebar, select API permissions under Manage.
- Click + Add a permission.
- Select Microsoft Graph.
- Select Delegated permissions or Application permissions depending on your access model:
- Use Application permissions for unattended/service access (most common for PlaidCloud Document)
- Search for and select the following permissions:
Files.Read.All— to read files and foldersFiles.ReadWrite.All— if PlaidCloud Document needs to write filesSites.Read.All— if accessing SharePoint-backed OneDrive for Business libraries
- Click Add permissions.
- Click Grant admin consent for [your organization] and confirm.
Find the OneDrive Drive Path (Start Path)
The Start Path in PlaidCloud Document controls which folder in OneDrive is used as the root for the account. To find the correct path:
- Open OneDrive or your organization's SharePoint-based OneDrive for Business in a browser.
- Navigate to the folder you want to use as the root for this PlaidCloud Document account.
- The path shown in the browser's address bar or the folder breadcrumb reflects the folder hierarchy within OneDrive.
- Use the relative path from the root of the drive as the Start Path — for example,
/Documents/Financeor/Shared/Data.
Note: To use the entire OneDrive as the root, leave the Start Path blank. To restrict PlaidCloud Document to a specific folder and its contents, enter the path to that folder.
You should now have everything you need to add your OneDrive account to PlaidCloud Document.
PlaidCloud Document Setup
- Sign into PlaidCloud
- Select the workspace that the new Document account will reside
- Go to
Document > Manage Accounts - Select the
+ New Accountbutton - Select
OneDriveas the Service Type - Fill in a name and description
- Enter the folder path identified above into the Start Path field, or leave it blank to use the root of the drive
- Select an appropriate Security Model for your use case. Leave it
Privateif unsure. - Paste the Client ID copied from the Azure app registration into the Public Key/User text field under Auth Credentials
- Paste the Client Secret copied from the Azure app registration into the Private Key/Password text field under Auth Credentials
- Paste the Tenant ID copied from the Azure app registration into the Tenant ID field under Auth Credentials
- Select the Save button and your new Document account is live