Get a Folder

Retrieves the root folder of a given SharePoint document library using the Microsoft Graph API.

Syntax

Below is a line-by-line overview of the automation syntax. Expand each line to learn more.

get a folder at the path

What does it do? This is the base syntax for the procedure.

Where does it go? This phrase should be written on a new line.

Is it required? ✅ Yes — This phrase is required in the syntax.

Does it require input data? ✅ Yes — A text value must be specified in place of the path.

Examples

1. Retrieve the root folder of the document library "My Documents" in the site "My Site"

get a folder at "/My Site/My Documents"

2. Retrieve the folder "My Folder" within the document library "My Documents" in the site "My Site"

get a folder at "/My Site/My Documents/My Folder"

Last updated

Was this helpful?