PUBLISHED scoped; WAITING HOST #75/!129 and #72/!127. Published source · Release scope · Intake evidence.
38 npm tests including lint/TypeScript compilation on Node 24.13.0; 12 exact cases across five entries; 4 additional attachment worker cases; require allowlist and secret scan PASS; zero network attempts.
All five documented entries are exercised: Create Folder, Delete File, Get File, Upsert File, and New/Updated Objects Polling. Each invocation has a fresh stored-OAuth client. Drive/path segments are encoded separately; public HTTPS file downloads receive no Graph token. OAuth lifecycle remains host #57.
Files are limited to 5 MiB each and 20 upload mappings per invocation. Upsert uses direct content PUT; large upload sessions are not implemented. attachmentReference replaces attachmentUrl; upsert accepts exactly one HTTPS url or scoped reference, plus path. Optional storage needs an injected scoped store. Short-lived Graph download capabilities are omitted from metadata.
Polling drains pages/descendants before data emission, filters inclusive start/exclusive end, preserves the caller snapshot, and saves the end bound only after success. Limits are 100 pages, 100 visited folders and 10,000 scanned items; exceeding a limit fails without cursor advance. Delivery and multi-file writes are not transactional. cfg.retries 0..10 replaces inherited environment knobs. Retrieve Sample-specific debug behavior is not implemented.
Installation is handed off through the single #62 install table. Publication is not installation. No live vendor account, customer data, server access or deployment was used to establish these results.
The older reference below describes its source version. The scope and limits above supersede any conflicting runtime, attachment, environment-variable, or availability claim; historical release facts remain preserved.
Microsoft OneDrive Component is designed to manage files and folders in OneDrive service using Microsoft Graph API.
| Name | Mandatory | Description | Values |
|---|---|---|---|
API_RETRIES_COUNT |
false | Set how many time system try to make request to API on server errors (3 by default) | integer above 0 and below 5 |
API_REQUEST_TIMEOUT |
false | HTTP requests timeout in milliseconds (15000 by default) | integer above 500 and below 20000 |
Current release of component tested on Graph API v1 (https://graph.microsoft.com/v1.0/).
Microsoft OneDrive uses OAuth 2.0.
How to register an application look here.
Redirect URI for platform can be found here, f.e. https://{your-tenant-address}/callback/oauth2.
OAuth2.Add New Auth Client:
Application (client) ID.Client credentials.https://login.microsoftonline.com/common/oauth2/v2.0/authorize.https://login.microsoftonline.com/common/oauth2/v2.0/token.offline_access Files.ReadWrite.All.Warning: To maintain a smooth experience, we recommend reusing stored credentials where possible. Duplicating secrets across OAuth clients can result in errors and complications.
Retrieve all the updated or created objects within a given time range.
Please Note: this will increase the number of API calls.
Last Modified): Select which date will be used to track files - Last Modified or Created.Emit individually): Defines the way result objects will be emitted, one of Emit page or Emit individually.YYYY-MM-DDThh:mm:ssZ. The default value is the beginning of time (January 1, 1970, at 00:00).YYYY-MM-DDThh:mm:ssZ. Default value is flow execution time.There is no Input or Output metadata in this trigger.
Depends on Enable File Attachments and Emit behavior fields.
Emit behavior field is equal to Emit page - object with property results that contains array of files.Emit behavior field is equal to Emit individually, file information will fulfill whole message.Enable File Attachments is checked, for each file there will be an additional field - attachmentUrl.Emit page does not always emit records according to Page Size.Include subfolders increase amount of API calls - additional call for each subfolder and inner folders.Create a new folder in provided path. If path does not exist component will fail.
Fail by default) - Select one of options to handle case when folder already exists:
path.path then will be created a new folder with a different name. Examples: folder_name (already exist) -> folder_name 1 (will be created), folder_name 1 (already exist) -> folder_name 1 1 (will be created).Monthly reports/November.Metadata of created folder.
Action to delete item from OneDrive by provided path in selected disc.
Emit nothing by default) - select one of options to handle case when file not exist:
{}.Monthly reports/November/Cars sales.pdf.Monthly reports/November/Cars sales.pdf.Lookup a single file by its path.
Monthly reports/November/Cars sales.pdf.File information as JSON object, if Enable File Attachments checked, there also will be additional field attachmentUrl with link to file on platform.
Updates (if record exist) or creates a new file.
If Upload single file checked, there will be 2 fields:
Monthly reports/November/Cars sales.pdf.If Upload single file unchecked:
Monthly reports/November/Cars sales.pdf.Result object from upsert.