Teams and SharePoint permissions
OneNote uses different permissions for personal notebooks and notebooks stored in Teams or SharePoint. Personal notebooks use the scopes without.All in the first table column. Teams and SharePoint notebooks use the scopes in the second table column because Microsoft Graph treats them as shared resources.
Action versions
Teams and SharePoint support ships as new versions of the OneNote actions. The new versions request the scopes in the second table column. The previous versions stay available with the personal notebook scopes, and existing workspaces keep using them until an admin switches an action to its new version in the integration’s action settings. Each version’s changelog names the scopes it needs. Create notebook always creates personal notebooks, so its new version keeps a personal scope. Without a notebook ID or link, discovery covers personal notebooks plus a bounded set of teams and followed SharePoint sites. To reach a notebook outside that set, search for its team or site by name, or paste its link.Teams notebooks
Teams notebooks
Teams notebooks are shared notebooks created within Microsoft Teams channels or group workspaces. Because Microsoft Graph treats them as organizational resources rather than personal files, accessing them requires broader permissions.To view content in Teams notebooks, you need
Notes.Read.All. To create or modify pages, sections, or notebooks, you need Notes.ReadWrite.All.Langdock requires Team.ReadBasic.All to list the teams you belong to and discover the notebooks located inside those teams. Without this scope, Langdock cannot find your Teams notebooks automatically and can only interact with a notebook when you provide its direct link or identifier.Minimal scopes per action
Each Microsoft OneNote connection also requests
openid, offline_access, and User.Read. These connection scopes apply in addition to the action scopes in the table.Choose the column that matches your desired notebook discovery.| Action | Description | Minimum scopes without Teams/SharePoint support | Minimum scopes with Teams/SharePoint support |
|---|---|---|---|
| Append to page | Appends content to a page. | Notes.ReadWrite | Notes.ReadWrite.All |
| Copy page | Copies a page to another section. | Notes.Create | Notes.ReadWrite.All |
| Create notebook | Creates a notebook. | Notes.Create | Notes.Create |
| Create page | Creates a page in a section. | Notes.Create | Notes.ReadWrite.All |
| Create section | Creates a section in a notebook. | Notes.Create | Notes.ReadWrite.All |
| Delete page | Deletes a page. | Notes.ReadWrite | Notes.ReadWrite.All |
| Get page | Retrieves a page with its text content. | Notes.Read | Notes.Read.AllSites.Read.All |
| Find notebooks | Finds personal, Teams, and SharePoint notebooks. | Notes.Read | Notes.Read.AllSites.Read.AllTeam.ReadBasic.All |
| List recent pages | Lists recently modified pages. | Notes.Read | Notes.Read.AllSites.Read.AllTeam.ReadBasic.All |
| List sections | Lists sections across notebooks. | Notes.Read | Notes.Read.All |
| Replace page content | Replaces the content of a page. | Notes.ReadWrite | Notes.ReadWrite.All |
| Resolve notebook | Resolves a notebook by ID or name. | Notes.Read | Notes.Read.AllSites.Read.AllTeam.ReadBasic.All |
| Resolve page | Resolves a page by ID or title. | Notes.Read | Notes.Read.AllSites.Read.AllTeam.ReadBasic.All |
| Resolve section | Resolves a section by ID or name. | Notes.Read | Notes.Read.AllSites.Read.AllTeam.ReadBasic.All |
| Search pages by title | Searches pages by title and filters. | Notes.Read | Notes.Read.AllSites.Read.AllTeam.ReadBasic.All |
| Update page title | Updates the title of a page. | Notes.ReadWrite | Notes.ReadWrite.All |
Sites.Selected and OneNote
Microsoft Graph does not provide a Notes.Read.Selected permission or any similar granular scope for OneNote. OneNote permissions operate across the tenant through Notes.Read.All and Notes.ReadWrite.All, with no native mechanism to restrict note access to specific sites or resources.
Because Langdock uses the Sites.Read.All scope to search SharePoint for notebook locations, applying Sites.Selected can restrict the notebooks that the integration can discover to specific sites. When you grant permissions only to selected sites, Langdock only discovers notebooks residing within those designated SharePoint sites during search or browsing operations.