Get Sites
Retrieves SharePoint sites accessible via the Microsoft Graph API.
To use this procedure, make sure your agent has learned the Sharepoint Book (BDK).
Syntax
Below is a line-by-line overview of the automation syntax. Expand each line to learn more.
Examples
1. Retrieve accessible sites from SharePoint
2. Retrieve a single site by name
Using a Single SharePoint Site
Even if you're getting just one site, SharePoint returns a set of matching results. So after this line:
get sites from sharepoint whose name is "Human Resources"
You'll need to add a line to specify a single site from the set of matching results:
use the first site as the site
Last updated
Was this helpful?