> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stackone.com/llms.txt
> Use this file to discover all available pages before exploring further.

# SharePoint

> How to set up the SharePoint connector, plus the actions that are available.

![SharePoint](https://stackone-logos.com/api/sharepoint/filled/svg)

v2.1.0[See changelog](https://docs.stackone.com/connectors/sharepoint/changelog.md)

[33 actions](#actions) · 2 auth methods

Documents

## Getting Started

**1. Create or Select a Project**

Set up a new project or select an existing one. See [Organizations & Projects](https://docs.stackone.com/gateway/concepts/organizations-and-projects.md).

**2. Configure the Connector**

Enable the connector and create a Connector Profile in your project. See [Setup Connector Profile](https://docs.stackone.com/gateway/quickstart.md#setup-connector-profile).

> [card] [OAuth 2.0 · Connector Profile](https://docs.stackone.com/connectors/sharepoint/guides/connector-profile/oauth-2-0.md)
>
> Requires registering an OAuth app in Microsoft Entra ID. API access depends on the permissions granted to the app regist...

> [card] [OAuth 2.0 (Client Credentials) · Connector Profile](https://docs.stackone.com/connectors/sharepoint/guides/connector-profile/oauth-2-0-client-credentials.md)
>
> App-only access to every SharePoint site in the tenant, without a signed-in user. The Microsoft Graph application permis...

**3. Link an Account**

Link an account [from the dashboard](https://docs.stackone.com/connect/managing-connectors/linking-accounts.md#link-from-the-dashboard) (or via [StackOne Hub](https://docs.stackone.com/embed/account-linking/overview)).

See the guide for the authentication type chosen in the Connector Profile:

> [card] [OAuth 2.0 · Link Account](https://docs.stackone.com/connectors/sharepoint/guides/link-account/oauth-2-0.md)

> [card] [OAuth 2.0 (Client Credentials) · Link Account](https://docs.stackone.com/connectors/sharepoint/guides/link-account/oauth-2-0-client-credentials.md)

**4. Use Actions**

Connect an AI platform to the linked account's actions. See [AI Platforms](https://docs.stackone.com/ai-platforms/overview.md).

Other ways to call actions are listed in [Protocols & SDKs](https://docs.stackone.com/connect/protocols-and-sdks.md).

## Actions

Authentication type

Select all
|
Clear

OAuth 2.0

OAuth 2.0 (Client Credentials)

No auth methods found

Scopes

Select all
|
Clear

Files.Read.All

Files.ReadWrite.All

Sites.Read.All

Sites.ReadWrite.All

No scopes found

33 actions

ActionDescriptionRequired scopes

List Sites`sharepoint_list_sites`

Search and retrieve SharePoint sites across the organization using keyword search. This is the primary entry point for d...

`Sites.Read.All`

Get Site`sharepoint_get_site`

Retrieve complete metadata for a specific SharePoint site by its unique identifier, including configuration details, tim...

`Sites.Read.All`

Get Site By Path`sharepoint_get_site_by_path`

Retrieve a SharePoint site using its URL hostname and server-relative path instead of an opaque ID. This is the preferre...

`Sites.Read.All`

List Subsites`sharepoint_list_subsites`

Retrieve all immediate child subsites nested under a parent SharePoint site. Use this to navigate site hierarchies, disc...

`Sites.Read.All`

Get Root Site`sharepoint_get_root_site`

Retrieve the tenant's root SharePoint site collection without needing to know its ID. This is the primary entry point fo...

`Sites.Read.All`

Search Sites`sharepoint_search_sites`

Find SharePoint sites matching a keyword search query with relevance-ranked results. Use this when you have a search ter...

`Sites.Read.All`

Get Site Columns`sharepoint_get_site_columns`

Retrieve all site column definitions available at the site level for schema discovery. Site columns are reusable metadat...

`Sites.Read.All`

Get Site Content Types`sharepoint_get_site_content_types`

Retrieve all content type definitions available at a SharePoint site for understanding document and item templates. Cont...

`Sites.Read.All`

List Site Lists`sharepoint_list_site_lists`

Retrieve all SharePoint lists in a site including document libraries, custom data lists, task lists, and system lists. U...

`Sites.Read.All`

Get List`sharepoint_get_list`

Retrieve detailed metadata for a specific SharePoint list including its template type, content type settings, creation d...

`Sites.Read.All`

Get List Columns`sharepoint_get_list_columns`

Retrieve the complete schema of all columns in a SharePoint list including their data types, validation rules, and confi...

`Sites.Read.All`

Get List Operations`sharepoint_get_list_operations`

Retrieve the status of long-running background operations on a SharePoint list such as bulk imports, content type synchr...

`Sites.Read.All`

List Items`sharepoint_list_items`

Retrieve all items from a SharePoint list as structured data records with their field values. Supports filtering by colu...

`Sites.Read.All`

Get Item`sharepoint_get_item`

Retrieve a single item from a SharePoint list by its ID with complete metadata and field values. Use this to get detaile...

`Sites.Read.All`

List Site Drives`sharepoint_list_site_drives`

Retrieve all document libraries (drives) available in a SharePoint site including their storage quota, ownership, and co...

`Files.Read.All`

Get Drive`sharepoint_get_drive`

Retrieve detailed metadata for a specific SharePoint document library including current storage quota status, ownership...

`Files.Read.All`

List Drive Root Children`sharepoint_list_drive_root_children`

List all files and folders at the root level of a SharePoint document library. Returns item metadata including name, siz...

`Files.Read.All`

List Drive Item Children`sharepoint_list_drive_item_children`

List all files and folders within a specific folder in a SharePoint document library. Use this to navigate into subfolde...

`Files.Read.All`

Get Drive Item`sharepoint_get_drive_item`

Retrieve complete metadata for a specific file or folder in SharePoint, including size, MIME type, permissions, and shar...

`Files.Read.All`

Download Drive Item Content`sharepoint_download_drive_item_content`

Download a file from a SharePoint document library in its original format as base64-encoded content, optionally as a byt...

`Files.Read.All`

Convert Drive Item Content`sharepoint_convert_drive_item_content`

Download a file from a SharePoint document library converted to PDF, HTML or a preview image, as base64-encoded content.

`Files.Read.All``Files.ReadWrite.All`

List Drive Item Versions`sharepoint_list_drive_item_versions`

List the version history of a file in a SharePoint document library, newest first. Use the returned version ids with dow\...

`Files.Read.All`

Download Drive Item Version Content`sharepoint_download_drive_item_version_content`

Download an earlier version of a file in a SharePoint document library as base64-encoded content, optionally as a byte r...

`Files.Read.All`

Download Drive Item Thumbnail Content`sharepoint_download_drive_item_thumbnail_content`

Download a thumbnail image of a file in a SharePoint document library as base64-encoded content, in a standard or custom...

`Files.Read.All`

Download Shared Drive Item Content`sharepoint_download_shared_drive_item_content`

Download a SharePoint or OneDrive file from a share id or an encoded sharing URL as base64-encoded content, without know\...

`Files.ReadWrite.All`

Upload Drive Item Content`sharepoint_upload_drive_item_content`

Upload a file (up to about 4 MB) from base64-encoded content into a SharePoint document library folder, creating a new f...

`Files.ReadWrite.All`

Replace Drive Item Content`sharepoint_replace_drive_item_content`

Replace the content of an existing file in a SharePoint document library (up to about 4 MB) from base64-encoded content,...

`Files.ReadWrite.All`

Create Upload Session`sharepoint_create_upload_session`

Start a resumable upload session for uploading a new large file to a SharePoint document library folder in chunks.

`Files.ReadWrite.All``Sites.ReadWrite.All`

Create Upload Session For Existing File`sharepoint_create_upload_session_for_existing_file`

Start a resumable upload session for replacing the content of an existing file in a SharePoint document library with a l...

`Files.ReadWrite.All``Sites.ReadWrite.All`

Upload Bytes To Upload Session`sharepoint_upload_bytes_to_upload_session`

Upload one byte range of a file to an upload session created with create\_upload\_session or create\_upload\_session\_for\_exi...

`Files.ReadWrite.All``Sites.ReadWrite.All`

Get Upload Session`sharepoint_get_upload_session`

Get the status of an upload session, including which byte ranges are still missing, to resume an interrupted upload.

`Files.ReadWrite.All``Sites.ReadWrite.All`

Cancel Upload Session`sharepoint_cancel_upload_session`

Cancel an upload session and discard the bytes uploaded to it so far.

`Files.ReadWrite.All``Sites.ReadWrite.All`

Complete Upload Session`sharepoint_complete_upload_session`

Create the file from an upload session that was started with deferCommit set to true, after all byte ranges have been up...

`Files.ReadWrite.All``Sites.ReadWrite.All`


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.