Microsoft Q&A

Microsoft Graph Notes API

53 questions

A Microsoft API that lets your app get authorized access to a user's OneNote notebooks, sections, and pages in a personal or organization account.

53 questions with Microsoft Graph Notes API tags

Sort by: Updated
1 answer

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…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
2,051 questions
Microsoft Graph Notes API
Microsoft Graph Notes API
A Microsoft API that lets your app get authorized access to a user's OneNote notebooks, sections, and pages in a personal or organization account.
53 questions
OneNote Management
OneNote Management
OneNote: A family of Microsoft products that enable users to capture, organize, and reuse notes electronically.Management: The act or process of organizing, handling, directing or controlling something.
148 questions
asked 2023-09-18T13:48:54.0466667+00:00
Prakash Verma 5 Reputation points
answered 2023-09-19T10:23:52.1866667+00:00
CarlZhao-MSFT 28,196 Reputation points
1 answer

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…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
2,051 questions
Microsoft Graph Notes API
Microsoft Graph Notes API
A Microsoft API that lets your app get authorized access to a user's OneNote notebooks, sections, and pages in a personal or organization account.
53 questions
Microsoft Graph SDK
Microsoft Graph SDK
A Microsoft software developer kit designed to simplify building high-quality, efficient, and resilient applications that access Microsoft Graph.
988 questions
OneNote Management
OneNote Management
OneNote: A family of Microsoft products that enable users to capture, organize, and reuse notes electronically.Management: The act or process of organizing, handling, directing or controlling something.
148 questions
asked 2023-08-16T05:26:31.3133333+00:00
RakeshKumar-4431 236 Reputation points
edited a comment 2023-08-18T18:54:47.4733333+00:00
Ab-8756 795 Reputation points
0 answers

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…

OneNote
OneNote
A family of Microsoft products that enable users to capture, organize, and reuse notes electronically.
97 questions
Microsoft Graph Notes API
Microsoft Graph Notes API
A Microsoft API that lets your app get authorized access to a user's OneNote notebooks, sections, and pages in a personal or organization account.
53 questions
asked 2023-08-13T03:56:26.9633333+00:00
Tom Brant 5 Reputation points
commented 2023-08-15T21:38:42.27+00:00
Tom Brant 5 Reputation points
1 answer

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…

OneNote
OneNote
A family of Microsoft products that enable users to capture, organize, and reuse notes electronically.
97 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
2,051 questions
Microsoft Graph Notes API
Microsoft Graph Notes API
A Microsoft API that lets your app get authorized access to a user's OneNote notebooks, sections, and pages in a personal or organization account.
53 questions
asked 2023-07-12T06:00:16.87+00:00
Deepak Sharma 31 Reputation points
commented 2023-07-17T01:52:47.42+00:00
CarlZhao-MSFT 28,196 Reputation points
1 answer

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
OneNote
A family of Microsoft products that enable users to capture, organize, and reuse notes electronically.
97 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
2,051 questions
Microsoft Graph Notes API
Microsoft Graph Notes API
A Microsoft API that lets your app get authorized access to a user's OneNote notebooks, sections, and pages in a personal or organization account.
53 questions
asked 2023-07-03T09:05:03.1+00:00
Kaustubh Nangare 0 Reputation points
commented 2023-07-06T02:23:09.54+00:00
CarlZhao-MSFT 28,196 Reputation points
0 answers

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…

OneNote
OneNote
A family of Microsoft products that enable users to capture, organize, and reuse notes electronically.
97 questions
Microsoft Graph Notes API
Microsoft Graph Notes API
A Microsoft API that lets your app get authorized access to a user's OneNote notebooks, sections, and pages in a personal or organization account.
53 questions
Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
2,822 questions
asked 2023-06-05T06:18:32.4366667+00:00
Rizza 96 Reputation points
2 answers

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…

Microsoft Graph Notes API
Microsoft Graph Notes API
A Microsoft API that lets your app get authorized access to a user's OneNote notebooks, sections, and pages in a personal or organization account.
53 questions
asked 2023-05-22T21:06:35.14+00:00
Paul Smith 20 Reputation points
answered 2023-05-26T13:06:47.05+00:00
Maisa Rissi 1 Reputation point Microsoft Employee
5 answers

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…

Microsoft Graph Notes API
Microsoft Graph Notes API
A Microsoft API that lets your app get authorized access to a user's OneNote notebooks, sections, and pages in a personal or organization account.
53 questions
asked 2022-08-18T19:53:05.563+00:00
Don Morris 11 Reputation points
commented 2023-05-09T13:00:31.6533333+00:00
Don Morris 11 Reputation points
1 answer

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…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
2,051 questions
Microsoft Graph Notes API
Microsoft Graph Notes API
A Microsoft API that lets your app get authorized access to a user's OneNote notebooks, sections, and pages in a personal or organization account.
53 questions
asked 2023-04-23T02:09:53.78+00:00
iDoc 5 Reputation points
answered 2023-05-01T09:38:08.3566667+00:00
Zehui Yao_MSFT 5,706 Reputation points
1 answer One of the answers was accepted by the question author.

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 :(.

Microsoft Graph Notes API
Microsoft Graph Notes API
A Microsoft API that lets your app get authorized access to a user's OneNote notebooks, sections, and pages in a personal or organization account.
53 questions
asked 2023-04-21T05:59:16.6733333+00:00
Hieu Phan Trung 20 Reputation points
accepted 2023-04-25T05:31:55.0733333+00:00
Hieu Phan Trung 20 Reputation points
0 answers

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,…

Microsoft Graph Notes API
Microsoft Graph Notes API
A Microsoft API that lets your app get authorized access to a user's OneNote notebooks, sections, and pages in a personal or organization account.
53 questions
asked 2023-04-24T13:42:36.71+00:00
Matthias Gmür 0 Reputation points
commented 2023-04-24T23:21:19.0766667+00:00
iDoc 5 Reputation points
1 answer

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…

OneNote
OneNote
A family of Microsoft products that enable users to capture, organize, and reuse notes electronically.
97 questions
Microsoft Graph Notes API
Microsoft Graph Notes API
A Microsoft API that lets your app get authorized access to a user's OneNote notebooks, sections, and pages in a personal or organization account.
53 questions
asked 2023-03-26T19:53:29.6466667+00:00
Mark Ward 15 Reputation points
answered 2023-03-29T10:58:16.33+00:00
Gopinath Chennamadhavuni 2,411 Reputation points
1 answer

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…

Microsoft Graph Notes API
Microsoft Graph Notes API
A Microsoft API that lets your app get authorized access to a user's OneNote notebooks, sections, and pages in a personal or organization account.
53 questions
asked 2021-03-18T03:13:25.647+00:00
Edwin Fajar 146 Reputation points
commented 2023-03-21T10:19:40.66+00:00
Abin Simon 11 Reputation points
1 answer

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?

OneNote
OneNote
A family of Microsoft products that enable users to capture, organize, and reuse notes electronically.
97 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
2,051 questions
Microsoft Graph Notes API
Microsoft Graph Notes API
A Microsoft API that lets your app get authorized access to a user's OneNote notebooks, sections, and pages in a personal or organization account.
53 questions
Microsoft Graph SDK
Microsoft Graph SDK
A Microsoft software developer kit designed to simplify building high-quality, efficient, and resilient applications that access Microsoft Graph.
988 questions
Microsoft Graph Workbooks API
Microsoft Graph Workbooks API
A Microsoft API that allows web and mobile applications to read and modify Excel workbooks stored in OneDrive for Business, SharePoint site or Group drive.
73 questions
asked 2023-02-16T05:41:16.7+00:00
Vinanth S Bharadwa 26 Reputation points
edited the question 2023-02-17T02:18:11.9466667+00:00
CarlZhao-MSFT 28,196 Reputation points
0 answers

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…

Microsoft Graph Notes API
Microsoft Graph Notes API
A Microsoft API that lets your app get authorized access to a user's OneNote notebooks, sections, and pages in a personal or organization account.
53 questions
asked 2022-12-17T09:00:33.433+00:00
Michael Kimber 6 Reputation points
commented 2022-12-31T08:31:08.48+00:00
Zehui Yao_MSFT 5,706 Reputation points
2 answers

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…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
2,051 questions
Microsoft Graph Notes API
Microsoft Graph Notes API
A Microsoft API that lets your app get authorized access to a user's OneNote notebooks, sections, and pages in a personal or organization account.
53 questions
Microsoft Graph Applications API
Microsoft Graph Applications API
A Microsoft API that enables you to manage these resources and actions related to applications in Azure Active Directory.
646 questions
asked 2022-12-09T20:03:26.307+00:00
Sean DeNigris 1 Reputation point
answered 2022-12-12T09:31:32.19+00:00
Zehui Yao_MSFT 5,706 Reputation points
1 answer

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…

Microsoft Graph Notes API
Microsoft Graph Notes API
A Microsoft API that lets your app get authorized access to a user's OneNote notebooks, sections, and pages in a personal or organization account.
53 questions
asked 2022-11-08T09:48:49.06+00:00
Zhonglin Sun 1 Reputation point
commented 2022-11-23T08:19:30.9+00:00
Zehui Yao_MSFT 5,706 Reputation points
2 answers

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…

Microsoft Graph Notes API
Microsoft Graph Notes API
A Microsoft API that lets your app get authorized access to a user's OneNote notebooks, sections, and pages in a personal or organization account.
53 questions
asked 2022-08-02T08:34:11.313+00:00
Jason Chapman 21 Reputation points
commented 2022-11-22T17:52:14.583+00:00
Jason Chapman 21 Reputation points
0 answers

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

Microsoft Graph Notes API
Microsoft Graph Notes API
A Microsoft API that lets your app get authorized access to a user's OneNote notebooks, sections, and pages in a personal or organization account.
53 questions
asked 2022-11-01T05:55:51.317+00:00
Troy Christmas 1 Reputation point
commented 2022-11-02T10:03:46.557+00:00
Zehui Yao_MSFT 5,706 Reputation points
1 answer

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 { …

Microsoft Graph Notes API
Microsoft Graph Notes API
A Microsoft API that lets your app get authorized access to a user's OneNote notebooks, sections, and pages in a personal or organization account.
53 questions
Microsoft Graph Files API
Microsoft Graph Files API
A Microsoft API to create an app that connects with files across OneDrive, OneDrive for Business, and SharePoint document libraries.
390 questions
Microsoft Graph Site Lists API
Microsoft Graph Site Lists API
A Microsoft API that "supports access to SharePoint sites, lists, and drives; read-only support for site resources; read-write support for lists, listItems, and driveItems; and address resources by SharePoint ID, URL, or relative path.
359 questions
asked 2022-10-04T09:32:28.48+00:00
howard tseng 1 Reputation point
commented 2022-10-19T09:42:13.49+00:00
CarlZhao-MSFT 28,196 Reputation points