FlowmageDocs

Get SharePoint site

BetaReads data

Reads one SharePoint site by its address or id, or the tenant's root site.

Settings

SettingWhat it is
ConnectionRequiredThe Microsoft Graph connection the step signs in with.
Host nametext
PathThe site's path after the host name. Leave the host name and path empty for the tenant's root site.
Site idInstead of a path: the id a site read answered — host name, site GUID and web GUID, comma-separated.
Technical details
KeyValue
connectiontexta connection id from `requires.connections` (provider `microsoft-graph`)
hostnametext
pathtext
siteIdtext

Output

FieldType
idSite idstring
webUrlAddress in SharePointstring
siteobject
site.displayNamestring
Sample output, and the expression for each field
  • id"contoso.sharepoint.com,1,2"
  • site
    • displayName"Marketing"
    • id"contoso.sharepoint.com,1,2"
  • webUrl"https://contoso.sharepoint.com/sites/marketing"

Errors

When a step of this node stops a run, the run page shows a code. Look it up:

Example step

The step as a flow file holds it. Replace each value in <…>.

{
  "config": {
    "connection": "<connection id>",
    "hostname": "",
    "path": "",
    "siteId": ""
  },
  "label": "Get SharePoint site",
  "type": "graph.getSite",
  "version": 1
}