Register an application in Microsoft Entra ID
An app registration in Microsoft Entra ID holds the OAuth 2.0 credentials and the Microsoft Graph permissions for Microsoft OneDrive.
Start the registration
Sign in to the Microsoft Entra admin center, then open Entra ID > App registrations.
- Click New registration.

Fill in the registration form
The Redirect URI is where Microsoft returns the authorization response, so it has to match the address StackOne listens on.
- Name:
StackOne Integration - Supported account types: Single tenant only if only your organization will use this integration, or a multitenant option if you need to support users from other Microsoft Entra directories
- Redirect URI: select Web, then enter the Callback URL from your Connector Profile
- Click Register.

Copy the Client ID
On the Overview page, copy the value into your Connector Profile.
- Client ID: the Application (client) ID

Add the Microsoft Graph permissions
Delegated permissions let the application act on behalf of the signed-in user, which is what the authorization code flow uses.
Open the permission picker
From the left menu under Manage, select API permissions.
- Click Add a permission.
- Select Microsoft Graph.
- Select Delegated permissions.

Select the permissions
Use Select permissions to filter the catalog, then select the checkbox beside each permission.
- Click Add permissions.

Grant admin consent
Consent approves the delegated permissions for everyone in your directory, so each user is not prompted individually.
- Click Grant admin consent for [your organization].
- Click Yes on Grant admin consent confirmation.
- Check that the Status column reads Granted for [your organization] for every permission.

Create a client secret
The client secret is the credential the application presents when it exchanges the authorization code for an access token.
Add the secret
From the left menu under Manage, select Certificates & secrets, then open the Client secrets tab.
- Click New client secret.
- Description:
Integration with StackOne - Expires: an expiration period
- Click Add.

Copy the Client Secret
Copy the Value of the new secret into your Connector Profile.
- The Value is only displayed when the secret is created and cannot be retrieved later.
- Copy the Value, not the Secret ID.

Find your tenant ID (single-tenant apps only)
The Tenant ID identifies the Microsoft Entra directory that holds your OneDrive accounts. It is also called the Directory ID.
Copy the Tenant ID
Sign in to the Microsoft Entra admin center, then open Entra ID > Overview.
- Under Basic information, copy the Tenant ID into StackOne Hub.

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