Hello Team, I wanted to" list all pages" under my sharepoint site. I have used the below API, but I am getting error as "code": "20266", "message": The number of maximum sections is exceeded https://graph.microsoft.com/v1.0/sites/{Site-ID}/onenote/pages

HCL 0 Reputation points
2024-03-06T12:39:07.4533333+00:00

Hello Team, I wanted to" List pages" of notebooks under my sharepoint site. I have used the below API, but I am getting error as "code": "20266", "message": The number of maximum sections is exceeded. But in official Microsoft page it is mentioned as "The default query for pages returns the top 20 pages ordered by lastModifiedTime desc". Can someone clarify if this is an issue or not ?

API used: https://graph.microsoft.com/v1.0/sites/{Site-ID}/onenote/pages

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,448 questions
0 comments No comments
{count} votes