Back to Microsoft OneDrive

Connect Knoon AI with Microsoft OneDrive (Microsoft) to automate AI workflows.

Upload an attachment file to OneDrive or SharePoint, optionally inside a specific folder. Maximum supported file size is 100MB.
microsoftOneDriveUploadAttachment
BETA
Permissions
  • Files.ReadWrite
Optional permissions
  • Files.ReadWrite.All
  • Sites.ReadWrite.All
Parameters
NameTypeDescriptionRequired
parentFolderIdfile Optional. Select a OneDrive or SharePoint folder to upload the file into. If not set, uploads to the root of the connected drive.No
contentattachment Attachment file must not exceed 100MB.Yes
Returns
NameTypeDescription
statusstring UPLOADED or ERROR.
sensitive.fileIdstring DriveItem ID of the uploaded file.
sensitive.namestring Name of the uploaded file.
sensitive.mimeTypestring MIME type as stored in OneDrive.
sensitive.sizestring Size of the uploaded file in bytes as a string, or null if unavailable.
confidential.webUrlstring Web URL to open the file (if available).