question

vandanaRatnaparkhi-8204 avatar image
0 Votes"
vandanaRatnaparkhi-8204 asked ZehuiYaoMSFT-7151 edited

How to create sticky notes using microsoft graph sdk ?

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

microsoft-graph-applicationsmicrosoft-graph-notes
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hello @vandanaRatnaparkhi-8204, I need to give a test for this issue and get back to you later.

0 Votes 0 ·

1 Answer

SrinivasaRaoDarna-MSFT avatar image
0 Votes"
SrinivasaRaoDarna-MSFT answered ZehuiYaoMSFT-7151 edited

Hi @vandanaRatnaparkhi-8204,

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

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hello @vandanaRatnaparkhi-8204, does the answer above help you?

0 Votes 0 ·