OneDrive is a file hosting service and synchronization service operated by Microsoft as part of its web version of Office.

Changelog

17 versions
v1.5.0 Latest
  • NewFile: the delta backlog is now processed page by page with the resume link persisted after every page, so a redelivered notification or a late failure no longer replays the whole backlog.
  • NewFile: the component lock is taken with an explicit TTL and extended before every Graph call, and at most 20 delta pages are processed per run - the rest continues on the next tick.
  • NewFile: the webhook renewal in tick() no longer retries a contended lock 30 times, which used to throw 'LockError: Exceeded 30 attempts to lock the resource' every minute while a notification was being processed.
  • All Microsoft Graph calls made through the legacy request helper now have a 30 s timeout so a hung call cannot hold a component lock indefinitely.
  • NewFile: the 'created since' cutoff now advances to when the delta chain was started rather than when it was finished, so a file created while a backlog was being processed is no longer skipped, and recently emitted files are remembered so it does not fire twice. An expired delta link (410) is replaced by a fresh baseline, a transient failure is retried on the next tick, and the subscription renewal runs even when that retry fails.
  • Output examples for every output field of CreateFolder, ExportFile, GetFile, ListDrives, ListGroups, ListSites, ListUsers, MoveFileOrFolder, NewFile and UploadFile.
  • CreateFolder: a missing folder name is reported as a clear error instead of a failed Graph call.
v1.4.0
  • Added MakeApiCall component for performing arbitrary authorized API calls to the Microsoft Graph (OneDrive) API.
v1.3.0
  • Added test() (Flow Test Mode) to the NewFile trigger.
v1.2.6
  • The authentication flow now displays an account selection screen.
v1.2.5
  • Connection can now be created with custom tenant. To see the option while creating the connection, in the Admin -> Connector Configuration add configuration 'appmixer:microsoft' and inside it, add item 'microsoftTenant' and set its value to true.
v1.2.4
  • Fix for possible connection with empty label.
v1.2.3
  • Improved download file in ExportFile component.
v1.2.1
  • Added `redirectUri` to OneDrivePicker component.
v1.2.0
  • Configurable redirectUri param for the OneDrivePicker.
v1.1.4
  • GetFile, ListFiles, CreateFolder, MoveOrCreateFolder: handle user's permissions for dynamic inputs (userId, groupId, siteId, driveId).
v1.1.3
  • Added new components and updated input fields.
v1.1.2
  • Added groups and updated components.
v1.1.1
  • Fix output types on the ListFiles component.
v1.1.0
  • Upgraded OneDrive SDK and added new components.
v1.0.3
  • NewFile uses lock in tick method to update its state.
v1.0.2
  • NewFile recreates webhook if webhook gets deleted in OneDrive.
  • NewFile uses locks to update its state.
  • NewFile uses lock in tick method to update its state.
v1.0.0
  • Initial version

Authentication

TypeDetails
OAuth 2
Scopes:
offline_access user.read

Triggers

1
New File icon

New File

This trigger fires every time there's a new file uploaded. It does not download the file! If you need the content of the file, use the ExportFile component.
Additional Scopes:
Files.ReadWrite.All

Actions

7
Create Folder icon

Create Folder

Create a folder in Microsoft OneDrive.
Additional Scopes:
Files.ReadWrite.All
Export File icon

Export File

Export file from Microsoft OneDrive.
Additional Scopes:
Files.ReadWrite.All
Get File icon

Get File

Returns the details of a child in a folder.
Additional Scopes:
Files.Read.All
List Files icon

List Files

List files in Microsoft OneDrive.
Additional Scopes:
Files.Read.All
Make Api Call icon

Make Api Call

Generic method for making API calls to a 3rd party service.
Additional Scopes:
Files.ReadWrite.All Sites.Read.All
Move File Or Folder icon

Move File Or Folder

Move/Rename a file or folder in Microsoft OneDrive.
Additional Scopes:
Files.Read.All
Upload File icon

Upload File

Upload file into Microsoft OneDrive.
Additional Scopes:
Files.ReadWrite.All