Back to Microsoft OneDrive
Connect Knoon AI with Microsoft OneDrive (Microsoft) to automate AI workflows.
Move a OneDrive or SharePoint file to another folder, with optional rename.
microsoftOneDriveMoveFile
BETA
Permissions
Optional permissions
Parameters
| Name | Type | Description | Required |
|---|---|---|---|
| fileId | file | Select the file to move. | Yes |
| destinationFolderId | file | Select the destination folder. | Yes |
| newFileName | mustache | Optional. Rename the file while moving (e.g. "report-final.pdf"). | No |
Returns
| Name | Type | Description |
|---|---|---|
| status | string | MOVED or ERROR. |
| sensitive.fileId | string | DriveItem ID. |
| sensitive.name | string | File name after move. |
| sensitive.mimeType | string | File MIME type. |
| sensitive.size | string | Size (bytes). |
| sensitive.parentReference | object | Parent reference metadata after move. |
| confidential.webUrl | string | Web URL to open the item (if available). |



