Questions tagged [onenote-api]

The OneNote API is used to interact with Microsoft OneNote programmatically.

329 questions
2
votes
0 answers

Onenote MS graph API return only old pages

I use OneNote Graph API for personal MS account, and have an issue with GET, I don't get newly created pages, only old updates, more than 10 days ago. as I understand this problem is not in the Work/School account, but various Graph's procedures…
2
votes
1 answer

Microsoft Graph api not returning new pages added for Onenote Personal account

We have Onenote app to access MS Graph apis, with which we try to resend the Onenote files. When we request the pages from “https://graph.microsoft.com/v1.0/me/onenote/pages" or “https://graph.microsoft.com/v1.0/me/onenote/sections/SECTION_ID/pages"…
2
votes
2 answers

Onenote API (once again) not returning new pages

As of yesterday, it appears that the Onenote /pages endpoint is not working properly for my account. The data returned for the first two pages is recent, however all other pages and their respective HTML content links are last updated as of Feb 28th…
2
votes
2 answers

Why is the OneNote API lagging by roughly 3 days on my account?

In short, getting page information for my notes through the OneNote API has data that lags by about 3 days. Why is this the case (I assume only for me) and how can this be fixed? I'm working on a personal R program to read my OneNote Notes. Got it…
2
votes
0 answers

OneNote API: get list of Pages from Section, filtering out the deleted pages

When I use https://graph.microsoft.com/v1.0/me/onenote/sections//pages either from IOS SDK, Android SDK or even demo Graph Explorer the result will contain pages that are deleted. Is there a way to specify request params to return only pages…
AndroidGecko
  • 14,034
  • 3
  • 35
  • 49
2
votes
0 answers

Adding new divs (blocks of content) inside OneNote page using the Microsoft Graph API

I am using the Microsoft Graph API to programmatically add content to a OneNote Page on my Office365 OneNote Notebook. For an example page like this: OneNote snip consisting of Title & 2 separate divs/blocks, this is the generated HTML that I get by…
2
votes
1 answer

Replace operation breaks a nested list in OneNote (Graph API)

User organizes his todos in OneNote as nested list which looks like this: user's page I need to mark "Task A" as completed. According to a documentation I should perform replace action for todo. First I call GET…
2
votes
2 answers

Working with OneNote Page Content via the Graph API

I have a number of issues when working with OneNote via the graph api. I understand that what OneNote uses is not straight html and they need to convert it back and forward for the API... but this would not appear to be that complex a task. I am…
Paul M
  • 35
  • 4
2
votes
1 answer

How to port OneNote 2010 vba scripts (hosted in a XLSM file) to work in Onenote 2016

I would need help to get unstuck in porting from Onenote 2010 to OneNote 2016 an Excel VBA host toolkit I made TLDR: a) what object libraries should I actually see/reference if I want to use Excel 2016 VBA host to automate OneNote 2016 (desktop…
2
votes
1 answer

401 Unauthorized on Graph and OneNote API after getting token succesfully

I've registered an native app on Azure Active Directory and given all permissions for Graph and OneNote APIs, obtaining tokens succesfully on behalf of users using username and password credentials. I've been able to create and update notebooks and…
2
votes
0 answers

A query to the content of a OneNote page in Microsoft Graph returns a 10019 error

Some pages in one section fail API calls with a 500 error. The query URL is https://graph.microsoft.com/v1.0/me/onenote/pages/{page-id}/content The response is: { "error": { "code": "10019", "message": "The service detected a…
dalyIsaac
  • 702
  • 8
  • 17
2
votes
2 answers

Throttling of OneNote (Graph) API

We have developed an importing solution for one of our clients. It parses and converts data contained in many OneNote notebooks, to required proprietary data structures, for the client to store and use within another information system. There is…
Risto Uibo
  • 118
  • 5
2
votes
1 answer

Using MS graph API in production environment

I am integrating Onenote with my application. I am using MS Graph API's for getting data from Onenote. To consume the api's I am generating the token as mentioned at link get auth tokens. I am registering my application at MS application…
Pooja Dhannawat
  • 263
  • 2
  • 8
2
votes
0 answers

Null User with MSAL

On multiple machines, I am having no problem, however, on one machine (Win 10, x64) I'm getting the following error: Null user was passed in AcquiretokenSilent API. Pass in a user object or call acquireToken authenticate. The code is the basic MSAL…
Trey Balut
  • 1,355
  • 3
  • 19
  • 39
2
votes
0 answers

504 Gateway Timeout when searching OneNote Pages via Graph

Microsoft Graph often returns a 504 Server Error: Gateway Timeout after ~30 seconds when trying to search for a OneNote Page having links/oneNoteClientUrl/href ending with a specific string. Here is the type of query I'm…
strgx
  • 21
  • 2
1 2
3
21 22