Register an app in Microsoft Entra ID
An app registration in Microsoft Entra ID holds the OAuth credentials for SharePoint. API access depends on the permissions granted to the app, not on the scopes in the OAuth token.
Create the app registration
Sign in to the Microsoft Entra admin center, then open Entra ID > App registrations. If you do not see it, search for App registrations in the search bar at the top of the page. If you have access to multiple tenants, use the Settings (gear) icon in the top-right corner to select the correct directory.
- Click New registration.
- Name: A name that identifies this integration
- Supported account types: Accounts in this organizational directory only for single-tenant access, or the option that matches your organization
- Redirect URI (optional): Web as the platform, then the Callback URL from your Connector Profile
- Click Register.

Copy the Client ID
The Overview page of the new app shows the Essentials section.
- Copy the Application (client) ID to Client ID in your Connector Profile.

Add the Microsoft Graph permissions
From the left menu under Manage, select API permissions.
- Click + Add a permission.
- Select Microsoft Graph from the Microsoft APIs tab.
- Select Delegated permissions.
- Search for Sites or Files and expand the matching group.
- Check the box for each scope listed.
- Click Add permissions.

Grant admin consent
On the API permissions page of your app, grant consent for the permissions you added.
- Click Grant admin consent for [tenant name].
- Select Yes to consent on behalf of all users in your tenant.
- Check that the Status column shows consent granted for each permission.

Create the client secret
From the left menu under Manage, select Certificates & secrets.
- Under the Client secrets tab, click + New client secret.
- Description: A short description of what the secret is for
- Expires: How long the secret stays valid
- Click Add.

Copy the Client Secret
The Client secrets table shows the Value of the new secret. Microsoft shows it only once.
- Copy the Value to Client Secret in your Connector Profile.
Find your tenant ID (single-tenant apps only)
Your Microsoft Entra tenant ID identifies the directory your SharePoint sites belong to. Leave Tenant ID blank on a multi-tenant app registration — sign-in then goes through the shared organizations endpoint and Microsoft resolves the tenant from the account signing in.
Copy the Tenant ID
Sign in to the Microsoft Entra admin center, then open Entra ID > Overview. The Tenant ID is in the Basic information section.
- Copy the Tenant ID across.

Create the StackOne Connector Profile
Create a Connector Profile
Link an Account