Register the app in Microsoft Entra ID
An app registration in Microsoft Entra ID holds the OAuth 2.0 credentials and Microsoft Graph permissions for OneNote.
Create the app registration
Sign in to the Microsoft Entra admin center.
- If you have access to multiple tenants, click the Settings (gear) icon in the top-right corner.
- Select the desired tenant from the list under Directory + subscription.
- Navigate to Entra ID > App registrations.
- Select New registration.
- Name: A name for your app
- Supported account types: Single tenant if only your organization will use this integration, or Multitenant if you need to support users from multiple Microsoft Entra ID tenants
- Redirect URI (optional): select Web, then enter the Callback URL from your Connector Profile
- Click Register to create the app registration.
Copy the Client ID
On the Overview page, 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.
To use actions that take a user ID on another person’s notebooks, also add Notes.Read.All to read or Notes.ReadWrite.All to write. That person must have shared the notebooks with the signed-in user. To look up another user with Get User, also add User.ReadBasic.All.
- Click Add a permission.
- Select Microsoft Graph.
- Select Delegated permissions.
- Add each scope listed.
- Click Add permissions.
Grant admin consent
Click Grant admin consent for [Your Organization] to authorize these permissions for use across your tenant.
Create the client secret
From the left menu under Manage, select Certificates & secrets.
- Under the Client secrets tab, click New client secret.
- Description: A description for the client secret
- Select an expiration period.
- Click Add.
Copy the Client Secret
Copy the Value of the new client secret to Client Secret in your Connector Profile. Microsoft shows this value once and it cannot be retrieved again.
Find your tenant ID (single-tenant apps only)
Your Tenant ID identifies your Microsoft Entra directory.
Copy the Tenant ID
Sign in to the Azure Portal and navigate to Microsoft Entra ID > Overview.
- Copy the Tenant ID value (also called Directory ID) across.
Create the StackOne Connector Profile
Create a Connector Profile
Link an Account