> ## Documentation Index
> Fetch the complete documentation index at: https://stackone-hub-claude-issue-384-20260409-1436.mintlify.site/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.
</Warning>

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

<Steps>
  <Step title="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
  </Step>

  <Step title="Log in to Microsoft Azure">
    Log in to your [Microsoft Azure](https://portal.azure.com/) portal.

    <img src="https://mintcdn.com/stackone-hub-claude-issue-384-20260409-1436/knyftILoDWacwCGB/images/sharepoint/azure-login.png?fit=max&auto=format&n=knyftILoDWacwCGB&q=85&s=0312aec241532224e2ae63a250f1b3cb" alt="Azure Login Pn" width="494" height="578" data-path="images/sharepoint/azure-login.png" />
  </Step>

  <Step title="Obtain your Tenant ID">
    Search Microsoft Entra ID and navigate to the **Overview** page.

    **Copy** <Icon icon="clipboard" color="#333333" /> the Tenant ID and store safely to be used in a later step:

    * Directory (tenant) ID

          <img src="https://mintcdn.com/stackone-hub-claude-issue-384-20260409-1436/knyftILoDWacwCGB/images/sharepoint/tenant-id.png?fit=max&auto=format&n=knyftILoDWacwCGB&q=85&s=fe037763dd58c08086ca0aa01126e5bf" alt="Ms Entra App Client Tenant Ids Sharepoint Pn" width="2152" height="906" data-path="images/sharepoint/tenant-id.png" />
  </Step>

  <Step title="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.

    <Frame>
      <img className="rounded-md" style={{ margin:"0 auto",border:"1px solid #efefef" }} alt="Connect to GoogleDrive" src="https://mintcdn.com/stackone-hub-claude-issue-384-20260409-1436/knyftILoDWacwCGB/images/sharepoint/image-2.png?fit=max&auto=format&n=knyftILoDWacwCGB&q=85&s=4e107a3d71a83ce1aed4e1753f84605b" width="980" height="1500" data-path="images/sharepoint/image-2.png" />
    </Frame>
  </Step>

  <Step title="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.
  </Step>
</Steps>

## OAuth

<Steps>
  <Step title="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.

    <Frame>
      <img className="rounded-md" style={{ margin:"0 auto",border:"1px solid #efefef" }} alt="Connect to Sharepoint" src="https://mintcdn.com/stackone-hub-claude-issue-384-20260409-1436/knyftILoDWacwCGB/images/sharepoint/image-1.png?fit=max&auto=format&n=knyftILoDWacwCGB&q=85&s=d21d691713571697336494eb9a3101a9" width="970" height="1472" data-path="images/sharepoint/image-1.png" />
    </Frame>
  </Step>

  <Step title="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.

    <Frame>
      <img className="rounded-md" style={{ margin:"0 auto",border:"1px solid #efefef" }} alt="Authorize Sharepoint application" src="https://mintlify.s3.us-west-1.amazonaws.com/stackone-hub-claude-issue-384-20260409-1436/connection-guides/documents/images/sharepoint/sharepoint-stackone-consent-2.png" title="" />
    </Frame>
  </Step>
</Steps>

<br />

Congratulations, you're all set! If you face any issues with the steps mentioned above,
please contact us by emailing [integrations@stackone.com](mailto:integrations@stackone.com). We're always here to assist you!

## 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
