How to create sticky notes using microsoft graph sdk ?

vandana Ratnaparkhi 1 Reputation point
2022-04-15T05:25:26.59+00:00

Can I get method to create sticky notes in Office 365?

Microsoft Security Microsoft Graph
{count} votes

1 answer

Sort by: Most helpful
  1. Srinivasa Rao Darna 6,761 Reputation points Microsoft External Staff
    2022-04-15T12:43:12.547+00:00

    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".


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.