Content
Fetching OneNote Section Returns 504 Gateway Timeout Error All The Time via Microsoft Graph API
We are using Microsoft Graph API List sections to get list of sections from the specified notebook. But this API keeps failing with 504 Gateway Timeout error for some groups for our customer. Endpoint: GET…

Consistent 504 Gateway Timeout Error When Fetching OneNote Page via Graph API
We are currently leveraging the Graph API to retrieve a OneNote page within a group notebook. However, one of our customers frequently encounters a 504 gateway timeout error when attempting to load the page using this endpoint. Endpoint: GET…

OneNote Graph API is way out of sync on my tenant
*Using a personal account and trying to access the pages matching a particular title filter in a particular section of my notebook returns results consisting of pages that have been deleted permanently from the OneNote store. I know the pages were…
Microsoft Graph OneNote get sections api does not returns next link when used with $top
We are using the following endpoint to list all sections of the notebook. If I specify $top=x, the response does not contain next link even if there are more sections. Link to…

Graph api not returning createdBy for OneNote for specific account
While getting OneNote note from graph api I am not getting createdBy in the response Request :…

OneNote API default location when creating a page
I'm using the OneNote API for a browser extension to create a page in OneNote. I'm learning JavaScript, and I'm not quite up to the task of using React sample code for the section picker, so I'm just trying to use a POST request on…
C# code to post a new page to Onenote
I am trying to add a page to Onenote using C#. I can create notebooks and sections, so I believe I have the necessary scopes and permissions. Graph Explorer has code snippets for Java, but not C#, so I don't have any sample to work from. The last line…

Graph API not returning all pages
When calling the graph api with the following request, me/onenote/pages, I only get a partial list of my pages. If I call me/onenote/notebooks, I get all my notebooks and sections. If I traverse the sections using me/onenote/sections/{id}/pages, I…
Graph API nd OneNote API copyToSection endpoint now fails with 20280 error
For the last 2 days all calls to the POST /me/onenote/pages/{id}/copyToSection end point fail with error 20280 "Transient error occured while processing request. {0}". Making it impossible to programmatically copy a page from one notebook to…
Pagination on the OneNote Graph API - Missing @odata.nextLink
Hi guys, I'm working with Onenote through Graph API and today I saw the @odata.nextLink was missing when using the $top to limit the result. Does anybody know if this change was planned or if this is a bug in Onenote API :(.
Copy to Notebook Endpoint returns 202 but doesn't do anything
Recently the Endpoint to copy notebook-sections to another notebook stopped working. the response of the copy-call is 202 with a status: "not started". the notebooks (new and old) exist, but nothing is copied. when I try to check the Operation,…
How can I get predictable results when calling OneNote Graph API?
I am reading a list of notes from a section. Today, I moved several pages to a different section. When I called the API to list the pages for the section, it showed pages from 2021 combined with the remaining pages. The pages from 2021 are stored in a…
Unable to download OneNote file using Microsoft Graph API
Hi, I'm trying to download OneNote (.one) file inside the OneDrive using MS Graph API but always get 503 Service Unavailable Error. I have tried 2 ways of downloading it. First, using the URL available through the @microsoft.graph.downloadUrl…
Creating a Onenote notebook with special characters fails with SDK and Graph API, but succeeds from the Onedrive UI
I can create a notebook named Test#% from the Onedrive web, but when I try to do the same with API or SDK I see the calls failing. Is this a known issue? Are there any workarounds for this?

Documentation and/or Endpoints for MS Graph Class Notebooks?
The objective is to automate the creation of OneNote Class Notebooks. The template notebook will be copied to all teachers and students on MS Teams. I want to use the Microsoft Graph API to construct the notebooks: Copy and rename the…

Graph API: Notes - List Pages Doesn't Support $count as Path Segment?
Starting with the Notes - List Pages doc, I see that: GET /me/onenote/pages… supports the OData Query Parameters Following that link and scrolling down to the $count documentation, I read that: $count can be used… as a URL segment…
How can I get OneNote Content using oneNoteClientUrl or oneNoteWebUrl using Graph API?
Hi, I want to know how to get onenote object/content using oneNoteClientUrl or oneNoteWebUrl in GraphAPI. Currently I have a large number of onenote pages urls, and I want to get their contents. All I can find is the…
Can you update the contents of a page reliably with PATCH ../notes/pages/{id}/content
I have been using OneTastic / Gem / OneMore and all authors say (from memory) that you can't reliably update a page content without rewriting it all, i.e. any of the add-ins that inject something into the page (e.g. formatted text / Links) always set the…
Graph OneNote API changes Paragraph ID on Patch Request
I have successfully used the Graph API Explorer to update a paragraph todo item as completed. However, after the replace action, the id of the paragraph is changed so I cannot reliably make any further changes to that paragraph nor track its status. …
Operation not supported response when create upload session
Hi, I try to add a file ( Untitled Section.one ), which has already exist, to an onenote folder. When I create an upload session by POST /drives/{driveId}/items/{itemId}:/Untitled Section.one:/createUploadSession { …
