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

# Connect SharePoint with OAuth 2.0 – StackOne Hub

> Link a SharePoint account in the StackOne Hub using OAuth 2.0. End-user guide to authorize the integration and start using SharePoint actions.

<section data-guide-section data-guide-scopes="">
  <h2>Find Your Tenant ID</h2>

  <p>Your Microsoft Entra tenant ID is required to establish the connection to SharePoint.</p>

  <Steps>
    <Step title="Locate the Tenant ID">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>In the <a href="https://entra.microsoft.com" target="_blank" rel="noopener noreferrer">Microsoft Entra admin center</a>, in the left sidebar click <strong>Entra ID</strong>, then select <strong>Overview</strong>. The <strong>Tenant ID</strong> is displayed in the <strong>Basic information</strong> section. Click the copy icon next to it and paste the value into the <strong>Tenant ID</strong> field in the StackOne connection form.</p>

        <img src="https://mintcdn.com/stackone-60/uIHx_QC2fViT21bw/connectors/sharepoint/images/oauth2-config-tenant-id.png?fit=max&auto=format&n=uIHx_QC2fViT21bw&q=85&s=16b11950aeb487145f654e06dde24262" alt="Entra ID Overview page showing the Basic information section with the Tenant ID field and copy icon" width="1280" height="577" data-path="connectors/sharepoint/images/oauth2-config-tenant-id.png" />
      </div>
    </Step>
  </Steps>
</section>

<div data-whitelabel-hide>
  <h2>Linking the Account from the Hub</h2>

  <Steps>
    <Step title="Navigate to the Hub">
      Use one of the three <a href="/guides/accounts-section#linking-accounts">Linking Account Methods</a> to access the Hub.
    </Step>

    <Step title="Fill out the fields">
      Fill out the following fields using details from your provider:

      <ul>
        <li><strong>Tenant ID</strong></li>
      </ul>
    </Step>

    <Step title="Connect">
      <ul>
        <li>Click <strong>Connect</strong></li>
        <li>If applicable, the provider will redirect you to a sign-in or authorization page. Complete the provider's authorization flow.</li>
        <li>Once authorization is successful, you will see a confirmation popup</li>
      </ul>
    </Step>
  </Steps>

  <p>If the account linking is successful, you will see the newly linked account in your <a href="/guides/accounts-section">Accounts</a> page.</p>
</div>
