Create a Folder in a Document Library
Overview
This procedure creates a new folder at the root of the given SharePoint document library using the Microsoft Graph API.
Input Concepts
Concept
Description
Type
Required
Default Value
document library
The document library where the folder will be created.
sharepoint document library
Yes
folder name
The name of the folder to be created.
text
Yes
conflict behavior
The behavior when a conflict occurs. Possible values are 'fail', 'replace', 'rename'.
text
No
rename
Output Concepts
Concept
Description
Type
folder
A sharepoint document library folder representing the created folder.
sharepoint folder reference
Examples
Create a folder named "My New Folder" in the document library "My Documents" the folder name is "My New Folder"
Last updated
Was this helpful?