Onenote: Update page title by .net Ms-Graph-sdk in c#

KusiTec Markus Reichlin 1 Reputation point
2021-04-06T20:58:54.05+00:00

Ther are a lot of example to patch entities, but no one, for update the title of a Onenote page with the graph service client, like

var modelPage = new OnenotePage() { Title = adjustedPage.Title };

 resultPage = await GraphServiceClient.Me.Onenote.Pages[adjustedPage.Id].Request().UpdateAsync(modelPage);

This snippet cause an error: The property "Title" ist not supported for PATCH commands..

Anyone can help?

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