Hi @vandana Ratnaparkhi ,
Using onenote-post-notebooks, we can create notebooks and they will be stored directly in users OneDrive and can be accessed using onenote.
Here is an example snippet,
GraphServiceClient graphClient = new GraphServiceClient( authProvider );
var notebook = new Notebook
{
DisplayName = "My Private notebook"
};
await graphClient.Me.Onenote.Notebooks
.Request()
.AddAsync(notebook);
If the query is regarding sticky notes(can only be found in users mailbox https://outlook.office.com/mail/notes) currently is not supported from Microsoft Graph API.
Hope this helps.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have further questions about this answer, please click "Comment".