Get a Root 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 root folder from the document library

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 — The document library from which to retrieve the root folder must be specified for the document library.

Examples

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

get site from sharepoint whose name is "Human Resources"
get some site's document libraries
use the above as the testing libraries
get a root folder from the first testing library

Last updated

Was this helpful?