Skip to main content
File from OneDrive ingests CSV files from Microsoft 365 accounts through the Microsoft Graph API. Because Graph exposes personal OneDrive, OneDrive for Business, and SharePoint document libraries as drives behind a single API, the same connector reaches all three — watching a selected file and refreshing its contents on schedule.

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

The Microsoft account either lacks access to the target drive or did not approve all requested scopes. Reconnect using an account with the necessary access and grant consent for files and sites.
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.
File downloads time out after ten seconds. Split large CSVs into smaller files or host them on a faster drive.

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.