Skip to main content

Sign in to SharePoint site

Sign in to one SharePoint site through its own REST API, Online or on premises, for the SharePoint steps after it; it is checked now.

Command in the Microsoft 365 toolkit · id ooa.microsoft365/sharepoint_connect · 7 inputs (1 required), 1 output

Inputs​

InputTypeRequiredDefaultWhat it is
Site address (URL)StringYesThe site's address, as the browser shows it (without a page).
Access tokenCredentialNoAccess token for SharePoint (its audience is the SharePoint host, not Graph).
Windows userStringNoWindows user name, e.g. svc-robot or CONTOSO\svc-robot.
Windows domainStringNoWindows domain; empty when the user name has it.
Windows passwordCredentialNoWindows password from the vault.
SessionStringNosharepointSession name the later SharePoint steps use.
ShareBooleanNofalseAgents this one runs use the same site session.

Outputs​

OutputTypeWhat it is
titleStringThe site's title.