Notes.Read.All
Allows the app to read all the OneNote notebooks in your organization, without a signed-in user.
Permission Details
Read all OneNote notebooks
Allows the app to read all the OneNote notebooks in your organization, without a signed-in user.
3aeca27b-ee3a-4c2b-8ded-80376e2134a4
Read all OneNote notebooks that user can access
Allows the app to read OneNote notebooks that the signed-in user has access to in the organization.
dfabfca6-ee36-4db2-8208-7a28381419b3
Properties
Properties is shown from stable Microsoft Graph v1.0 metadata.
| Property | Type | Description |
|---|---|---|
id |
string |
The unique identifier for an entity. Read-only. |
notebooks |
notebook collection |
The collection of OneNote notebooks that are owned by the user or group. Read-only. Nullable. |
operations |
onenoteOperation collection |
The status of OneNote operations. Getting an operations collection isn't supported, but you can get the status of long-running operations if the Operation-Location header is returned in the response. Read-only. Nullable. |
pages |
onenotePage collection |
The pages in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. |
resources |
onenoteResource collection |
The image and other file resources in OneNote pages. Getting a resources collection isn't supported, but you can get the binary content of a specific resource. Read-only. Nullable. |
sectionGroups |
sectionGroup collection |
The section groups in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. |
sections |
onenoteSection collection |
The sections in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. |
JSON Representation
JSON representation is shown from stable Microsoft Graph v1.0 metadata.
{
"notebooks": [
{
"@odata.type": "microsoft.graph.notebook"
}
],
"operations": [
{
"@odata.type": "microsoft.graph.onenoteOperation"
}
],
"pages": [
{
"@odata.type": "microsoft.graph.onenotePage"
}
],
"resources": [
{
"@odata.type": "microsoft.graph.onenoteResource"
}
],
"sectionGroups": [
{
"@odata.type": "microsoft.graph.sectionGroup"
}
],
"sections": [
{
"@odata.type": "microsoft.graph.onenoteSection"
}
]
}
Relationships
Relationships is shown from stable Microsoft Graph v1.0 metadata.
| Relationship | Type | Description |
|---|---|---|
notebooks |
notebook collection |
The collection of OneNote notebooks that are owned by the user or group. Read-only. Nullable. |
operations |
onenoteOperation collection |
The status of OneNote operations. Getting an operations collection isn't supported, but you can get the status of long-running operations if the Operation-Location header is returned in the response. Read-only. Nullable. |
pages |
onenotePage collection |
The pages in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. |
resources |
onenoteResource collection |
The image and other file resources in OneNote pages. Getting a resources collection isn't supported, but you can get the binary content of a specific resource. Read-only. Nullable. |
sectionGroups |
sectionGroup collection |
The section groups in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. |
sections |
onenoteSection collection |
The sections in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. |
Graph Methods
Microsoft Graph v1.0 endpoints are mapped directly from refreshed Microsoft Learn permissions tables.
Microsoft Graph beta endpoints are mapped directly from refreshed Microsoft Learn permissions tables.
Microsoft Graph PowerShell v1.0 commands are mapped directly from refreshed Microsoft Learn PowerShell snippets.
Microsoft Graph PowerShell beta commands are mapped directly from refreshed Microsoft Learn PowerShell snippets.
Code Examples
// Code snippets are only available for the latest version. Current version is 5.x
// To initialize your graphClient, see https://learn.microsoft.com/en-us/graph/sdks/create-client?from=snippets&tabs=csharp
var result = await graphClient.Me.Onenote.Notebooks["{notebook-id}"].GetAsync();
const options = {
authProvider,
};
const client = Client.init(options);
let notebook = await client.api('/me/onenote/notebooks/1-e13f257d-78c6-46cf-ae8c-13686517ac5f')
.get();
Import-Module Microsoft.Graph.Notes
# A UPN can also be used as -UserId.
Get-MgUserOnenoteNotebook -UserId $userId -NotebookId $notebookId
# Code snippets are only available for the latest version. Current version is 1.x
from msgraph import GraphServiceClient
# To initialize your graph_client, see https://learn.microsoft.com/en-us/graph/sdks/create-client?from=snippets&tabs=python
result = await graph_client.me.onenote.notebooks.by_notebook_id('notebook-id').get()
App Registration
Navigate to Azure Portal
Go to App registrations in Microsoft Entra admin center
Add API Permission
Select your app → API permissions → Add a permission → Microsoft Graph
Select Permission Type
Choose Application permissions or delegated permissions and search for Notes.Read.All
Grant Admin Consent
Application permissions always require admin consent.