question

Mike-0671 avatar image
0 Votes"
Mike-0671 asked ZehuiYaoMSFT-7151 commented

OneNote Graph Sync Issues

When I use the Graph Explorer "https://developer.microsoft.com/en-us/graph/graph-explorer" to look at pages within a section, there are a lot of pages missing. There's no "@odata.nextLink" field in the response and only 18 pages are returned. When I look at OneNote for Windows 10, I can see it's fully synced (I can see the same pages on my iPhone) but there are supposed to be 50+ pages in the section. If I wait a couple day (after creating 5 new pages per day roughly) I will see only 1 of those new pages coming through Graph Explorer API. Is the data that gets pulled via Graph Explorer fully synced?

microsoft-graph-notes
· 10
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hello @Mike-0671, would you mind providing the URL you are using?

0 Votes 0 ·
Mike-0671 avatar image Mike-0671 ZehuiYaoMSFT-7151 ·

Here's the URL: https://graph.microsoft.com/v1.0/users/me/onenote/sections/0-548D937F799FEFBF!7531/pages

Not sure if there'll be an issue with access from your end. I've focused on this specific section because it's where I put my work notes. Currently when I run this, the latest page is one I'm currently working on, but the second most recent page is from 2 weeks ago, even though there should be 10+ pages in between.

0 Votes 0 ·

Hi @Mike-0671, have you tried using postman to get the page?
I just ran a test requesting OneNote in Postman and Graphics Explorer on my WIndows 11 system and they both work.
At the same time, you can add $top={number} to the URL to expand the display range of the request result.

179547-image.png
179571-image.png
179410-image.png


0 Votes 0 ·
image.png (123.3 KiB)
Show more comments

0 Answers