The OneDrive connector synchronizes supported text files from Microsoft OneDrive via Microsoft Graph API.
Authentication
OAuth — requires scope: Files.Read
Configuration
| Field | Type | Required | Description |
|---|---|---|---|
| Folder Path | Input | No | Specific folder (default: root) |
| Max Files | Input | No | Limit the number of synced files |
Supported File Types
.txt, .md, .html, .htm, .csv, .json, .xml, .yaml, .yml, .log, .rst, .tsv
Size Limit
10 MB per file.
How It Works
- Folder Resolution — Resolves folder path to item ID
- Recursive Listing — Lists files with
$orderby=lastModifiedDateTime desc - Subfolder Queue — Collects subfolder IDs for recursive traversal
- Content Fetching — Downloads file content; converts HTML to plain text
- Content Deferred — Stubs during listing; full content on demand
Document Format
Raw file text. HTML converted to plain text.
Metadata Tags
| Tag | Type | Description |
|---|---|---|
| Path | Text | Parent folder path |
| Last Modified | Date | Last modification time |
| File Size | Number | File size in bytes |
| Created By | Text | Original creator |

