Register Your Application in Microsoft Entra ID
To connect SharePoint with StackOne, you need to register an application in Microsoft Entra ID to obtain OAuth 2.0 credentials.
Sign in to Microsoft Entra Admin Center
Sign in to the Microsoft Entra admin center as at least an Application Developer. If you have access to multiple tenants, click the Settings (gear) icon in the top-right corner, then select the desired tenant from the list under Directory + subscription.
Create a New App Registration
Navigate to Entra ID > App registrations and select New registration.
- Enter a meaningful Name for your app (e.g., StackOne SharePoint Integration).
- Under Supported account types, select Accounts in this organizational directory only (single tenant) unless multi-tenant access is required.
- Select Register to create the app registration.
Configure Redirect URI
Set up the OAuth 2.0 callback URL to enable authentication flow between StackOne and SharePoint.
Navigate to Authentication Settings
From your app’s Overview page, select Authentication from the left menu under Manage.
Set the Redirect URI
In the Redirect URIs field, enter the StackOne OAuth callback URL (https://api.stackone.com/connect/oauth2/sharepoint/callback) and click Configure.
Configure API Permissions
Grant your application the necessary Microsoft Graph API permissions to access SharePoint data. API access is controlled by the permissions granted here, not by scopes requested in the OAuth token.
Add Microsoft Graph Permissions
Click Add a permission, then select Microsoft Graph.
- Select Delegated permissions to view the list of permissions.
- For read-only access, add Sites.Read.All and Files.Read.All.
- For read-write access, add Sites.ReadWrite.All and Files.ReadWrite.All.
- Click Add permissions to save.
Grant Admin Consent
Click Grant admin consent for [tenant name] and select Yes to consent on behalf of all users in your tenant. After granting, verify that Granted for [tenant name] appears under the Status column. Without admin consent, API calls will return 403 Forbidden errors regardless of token contents.
Generate Client Secret
Create a client secret that will be used to authenticate your application with SharePoint.
Create a New Client Secret
Under the Client secrets tab, click New client secret.
- Add a Description (e.g., StackOne Integration Secret).
- Select an expiration period.
- Click Add.
Creating the StackOne Connector Profile
To create the Connector Profile in StackOne for SharePoint:Navigate to Connector Profiles