Skip to main content

Move File

Moves a file from an One Drive location to another.

Category: Microsoft Office 365 & OneDrive · Group: Office 365 · Activity name: MoveFile

The MoveFile activity in the designer

Example

outputVariable = MoveFile("<filePath>", targetPath="<targetPath>")

Inputs

NameTypeRequiredDefaultDescription
File PathstringYesPath to file in OneDrive like 'MyDir/file.pdf'
Target PathstringPath to folder in OneDrive like 'MyDir' or just ''

Outputs

NameTypeDescription
outputVariablestringSpecifies the name of the variable that will store the new file path.