Before you connect
The following are required:- A Microsoft account (personal or work/school) with access to the target drive.
- A CSV file located in OneDrive, OneDrive for Business, or a SharePoint document library.
- Authority to grant read access to files and sites during the OAuth flow.
Connect File from OneDrive
1
Authorize a Microsoft account
On the Data Sources page, search for File from OneDrive and select it. Sign in to the Microsoft account in the pop-up window and approve the requested read scopes for files and sites.
2
Configure the required fields
On the data source settings, fill in the required fields:
- Name — an identifiable name for the data source.
- Drive — choose the target drive from the dropdown list.
- File Type — choose from the dropdown list. Only CSV is currently supported.
3
Configure the optional fields
Set any of the following optional fields to narrow down the file(s) to process:
- First Depth Folder Name — the name of a folder located directly under the selected directory that contains the file(s) to be processed.
- File Name to Filter — a word found within the file name(s), used for filtering. Ensure accurate capitalization for best results.
- Alternative Channel Name — an alternative display name for the data source. No icon is provided by default, but some channels can display an internally saved icon next to the name entered. See the Alternative Channel Name guide for the correct value to display the icon.
4
Submit
Click Submit to complete the connection. Initial data availability can take up to one business day.
What gets imported
The first row of the file is treated as the header. Numeric columns become metrics and text columns become breakdowns. Only the configured file is ingested; importing multiple files requires creating multiple data sources. For the complete field list, see the File from OneDrive data reference.Troubleshooting
Sync stops working after a long pause
Sync stops working after a long pause
The OAuth grant was revoked in the Microsoft account portal. Only the refresh token is persisted, so revocation breaks all subsequent syncs. Reconnect the data source to issue new tokens.
Download timeouts on large files
Download timeouts on large files
File downloads time out after ten seconds. Split large CSVs into smaller files or host them on a faster drive.
Related
File from OneDrive data reference
Fields, metrics, breakdowns, and limits for File from OneDrive.
File from OneDrive FAQs
Common questions and expected behaviors for the File from OneDrive data source.
How to connect File from Email
Ingest CSV attachments delivered by email.
How to connect File from SFTP
Ingest CSV files from an SFTP server.
