Create Folder

Creates a new folder under the specified parent folder in OneDrive or SharePoint.


⬅️INPUT

Parameter

Type

Required

Description

ConnectionSettings

PAWOffice365ConnectionSettings

✅Yes

OneDrive or SharePoint connection settings

ParentFolderPath

String

✅Yes

Parent folder path (‘/’ is the root)

NewFolderName

String

✅Yes

New folder name


➡️OUTPUT

Parameter

Type

Description

IsOffice365CreateFolderSuccessful

Boolean

Operation success status

Office365CreateFolderMessage

String

Status/error message

Office365CreateFolderPath

String

Path of the created folder


⬇️MISC

Parameter

Type

Default

Description

ThrowException

Boolean

❌No

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