https://<tenant>.sharepoint.com/sites/<site-collection-name>
.https://<tenant>.sharepoint.com
.https://<tenant>-admin.sharepoint.com
.Documents
.
my-folder/my-subfolder
.
The following video shows how to get the site URL and a path within the site:
Sites.ReadWrite.All
(if both reading and writing are needed)
User.Read.All
Learn more.
https://login.microsoftonline.com
<name>
(required) - A unique name for this connector.<site>
(required) - The base URL of the SharePoint site to connect to.<library>
- The display name of the SharePoint library to use. The default is Documents
.<path>
- The path to use within the library. The default is the root of the target library. To use a different path, specify the correct path format as described previously in this article.recursive
, set to true
to recursively process data from subfolders within the target path. The default is false
if not otherwise specified.<client-id>
(required) - The client ID provided by SharePoint for the app registration.<tenant>
(required) - The Directory (tenant) ID for the Microsoft Entra ID app registration with the correct set of Microsoft Graph access permissions.<authority-url>
- The authentication token provider URL for the Entra ID app registration. The default is https://login.microsoftonline.com.<client-cred>
(required) - The Client secret for the Entra ID app registration.<user-pname>
(required for username and password authentication) - For username and password authentication, the UPN for the OneDrive account in the Entra ID tenant.<password>
(required for username and password authentication) - For username and password authentication, the password for the target UPN.