Share via

Onenote /pages endpoint in Graph API returns empty list of pages.

Timur Kushukov 0 Reputation points Microsoft Employee
2026-03-04T13:56:33.0433333+00:00

https://graph.microsoft.com/v1.0/users/piiremoved/onenote/sections/piiremoved/pages

{

...

"value": []
}

Pages endpoint returns empty list of pages for any section in any notebook in my corp account. This endpoint works fine in my personal account.

It looks like something is broken in my corp account. I tried to debug it myself and found there are a lot of section groups that don't belong to any notebook:

[https://graph.microsoft.com/v1.0/me/onenote/sectionGroups?$select=displayName]()

I can't delete them because I don't have a permission for that.
Microsoft 365 and Office | Development | Other
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Steven-N 21,805 Reputation points Microsoft External Staff Moderator
    2026-03-04T14:38:29.4966667+00:00

    Please note that Q&A forum is a public platform, and moderators will modify the question to hide personal information in the description. Kindly ensure that you hide any personal or organizational information the next time you post an error or other details to protect personal data.

    Hi Timur Kushukov

    Thank you for reaching out to Microsoft Q&A forum

    As far as I know, if the library contains orphaned folders, corrupted .one files, or legacy local notebooks (such as an old "Quick Notes.one" file) that are not properly attached to a valid notebook structure, the Graph API incorrectly interprets them as section groups with a null parentNotebook property.

    This breaks the API's internal query, causing it to fail silently and return a successful 200 OK HTTP response with an empty array instead of throwing an error or returning the remaining valid pages.

    To fix this, the orphaned folders and misaligned files must be cleared from the backend document library. Since you do not have the required permissions, you need to contact your IT or SharePoint administrator. Instruct them to access your corporate OneDrive or SharePoint document library and either delete or relocate any stray folders, corrupted sections, or legacy "Quick Notes.one" files that do not belong to an active, web-synchronized OneNote notebook.

    You can read here for more information:

    Microsoft Graph API OneNote Overview (Note on SharePoint dependencies): Interact with OneNote notebooks

    Hope my answer will help you.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".   

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.  

    1 person found this answer helpful.

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.