We are utilizing Microsoft Graph's Create OneNote Page API to generate a page in a user's OneNote through our application. This endpoint typically creates the page successfully and returns the links to the newly created page in the response.
However, for some customers, the links to the page are not being returned even though the call succeeded with a 201 status code.
Below are the endpoint and request IDs for reference:
Endpoint:
POST: https://graph.microsoft.com/v1.0/me/onenote/sections/{SectionId}/pages
Response headers:
{
"cache-control": "no-cache",
"client-request-id": "0c0c1c4b-39e4-44b8-9003-48c8f4c728aa",
"content-type": "application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8",
"location": "https://graph.microsoft.com/v1.0/users/acc70163-aae8-4292-ad0d-4b9d193ee369/onenote/pages/1-a8d315e2f262406ebc5556412b7221af!131-3c62425a-f936-434b-b927-609495fb06f5",
"preference-applied": "odata.include-annotations=*",
"request-id": "74d74f2d-072c-42ad-8ae2-191aa2caf186"
}