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

# Sharepoint

> Follow these steps to connect Sharepoint via the StackOne Hub successfully.

> [!WARNING]
>
> Ensure that your Sharepoint account has Admin or Owner privileges.

If you've been directed to StackOne to integrate with Sharepoint, the following steps will help you understand the process and any necessary actions to configure a successful integration.

## OAuth + File Picker

### Log in to Sharepoint

**1. Get your SharePoint Base URL**

Your SharePoint base URL follows this format:

```
https://{your-domain}.sharepoint.com
```

You can find this URL by:

1. Opening your Microsoft SharePoint site
2. Copying the base URL from your browser's address bar

**2. Log in to Microsoft Azure**

Log in to your [Microsoft Azure](https://portal.azure.com/) portal.

![Azure Login Pn](https://mintcdn.com/stackone-hub/TJXu2uA7nDGkPLKz/images/sharepoint/azure-login.png?fit=max\&auto=format\&n=TJXu2uA7nDGkPLKz\&q=85\&s=9f90d6bb65899dad4a03299277b36460)

**3. Obtain your Tenant ID**

Search Microsoft Entra ID and navigate to the **Overview** page.

**Copy**  the Tenant ID and store safely to be used in a later step:

* Directory (tenant) ID

  ![Ms Entra App Client Tenant Ids Sharepoint Pn](https://mintcdn.com/stackone-hub/TJXu2uA7nDGkPLKz/images/sharepoint/tenant-id.png?fit=max\&auto=format\&n=TJXu2uA7nDGkPLKz\&q=85\&s=ca86209517c760ee01114d43c1acaefb)

**4. Connect to Sharepoint**

Enter the credentials in the fields below and click the Connect button to start the login process. You will be redirected to Sharepoint.

![Connect to GoogleDrive](https://mintcdn.com/stackone-hub/TJXu2uA7nDGkPLKz/images/sharepoint/image-2.png?fit=max\&auto=format\&n=TJXu2uA7nDGkPLKz\&q=85\&s=3504efc8ace33a6ec366cf8f712effe9)

**5. Grant OAuth Application Consent**

A window will appear and may prompt you to log in to your Sharepoint account.

After logging in, you will be displayed the OAuth consent screen.

Click the **Allow** button to grant the application access to your Sharepoint account.

## OAuth

**1. Connect to Sharepoint**

Enter the credentials in the fields below and click the Connect button to start the login process. You will be redirected to log in to Microsoft.

![Connect to Sharepoint](https://mintcdn.com/stackone-hub/TJXu2uA7nDGkPLKz/images/sharepoint/image-1.png?fit=max\&auto=format\&n=TJXu2uA7nDGkPLKz\&q=85\&s=355e53d789e21a68b5f3d7464d9097fd)

**2. Authorize the Application**

After logging in to Microsoft, a consent screen will be displayed with the permissions required for the connecting application.

Click the **Accept** button to grant access.

![Authorize Sharepoint application](https://mintlify.s3.us-west-1.amazonaws.com/stackone-hub/connection-guides/documents/images/sharepoint/sharepoint-stackone-consent-2.png)

## Available data

This integration has the following [DOCUMENTS Resources](https://docs.stackone.com/reference/getting-started-with-your-api) available from the provider:

* Drives
* Files
* Folders


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