Move Folder

Moves the folder to the destination folder. If NewName is empty, the source folder name is kept.


⬅️INPUT

Parameter

Type

Required

Description

ConnectionSettings

PAWOffice365ConnectionSettings

✅Yes

OneDrive or SharePoint connection settings

SourcePath

String

✅Yes

Source folder path

DestinationFolderPath

String

✅Yes

Destination folder path

NewName

String

❌No

New folder name at the destination

Overwrite

Boolean

❌No

Overwrite if a folder with the same name exists (default: false)


➡️OUTPUT

Parameter

Type

Description

IsOffice365MoveFolderSuccessful

Boolean

Operation success status

Office365MoveFolderMessage

String

Status/error message

Office365MoveFolderPath

String

Path of the moved folder


⬇️MISC

Parameter

Type

Default

Description

ThrowException

Boolean

❌No

Specifies whether an exception is thrown when the operation fails. The default value is "No".