Graph OneNote API changes Paragraph ID on Patch Request

Troy Christmas 1 Reputation point

I have successfully used the Graph API Explorer to update a paragraph todo item as completed. However, after the replace action, the id of the paragraph is changed so I cannot reliably make any further changes to that paragraph nor track its status.

Three questions:

  1. While the todo item itself has an id, I could not target it via API explorer and just got an error that element was not found. Should I be able to target the todo item directly given it has an id? If not, what is the id there for?
  2. While I was able to target the parent p element to change the todo item to completed, shouldn't the id of the p element remain unchanged or if not, on what actions should we expect the id of an element to change?
  3. Is there a way to reliable target a todo item repeatedly with PATCH to make changes?


Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,322 questions
{count} votes