Skip to main content
Access to the Microsoft Entra admin center as at least an Application Developer is required to register applications.

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.

1

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

Copy the Client ID

On the Overview page, copy the Application (client) ID to Client ID in your Connector Profile.

3

Add the Microsoft Graph permissions

Enables actions: Copy Notebook, Copy Page To Section, Copy Section To Notebook, Copy Section To Section Group, Create Notebook, Create Page, Create Section, Create Section In Group, Create User Notebook, Create User Page, Delete Page, Get Notebook, Get Operation Status, Get Page, Get Page Content, Get Page Preview, Get Page Resource, Get Recent Notebooks, Get Section, Get Section Group, Get User, Get User Notebook, Get User Section, List All Pages, List All Section Groups, List All Sections, List Nested Section Groups, List Notebook Section Groups, List Notebook Sections, List Notebooks, List Section Group Sections, List Section Pages, List User Notebooks, List User Pages, List User Section Groups, List User Sections, List Users

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

Grant admin consent

Click Grant admin consent for [Your Organization] to authorize these permissions for use across your tenant.

5

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

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.

1

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

1

Create a Connector Profile

Enable the connector and create a Connector Profile in your project. See Setup Connector Profile.
2

Link an Account

Once the Connector Profile is created, continue to link an account.