Questions tagged [microsoft-graph-onenote]

Microsoft Graph OneNote refers to the OneNote APIs in Microsoft Graph. This tag should always be used in conjunction with the [microsoft-graph] tag.

57 questions
0
votes
1 answer

Add OneNote page using C#

I am trying to add a page to a Onenote notebook using C#, and the code below. I can create notebooks and sections in notebooks, so I think the client and scopes are valid, but the last line throws an exception:…
user3673052
  • 147
  • 1
  • 7
0
votes
0 answers

How does OneNote store line height in HTML? How can I set it?

I'm trying to create OneNote-pages via Graph API with some formatting. One of it is line height. And I can't get line height to work, so I tried reading the html-code: Overflow
ABär
  • 11
0
votes
0 answers

Power Apps - Error code 20143 when trying to retireve sections in OneNote Notebook

When using 'OneNote(Business)'.GetSectionsInNotebook() in Power Apps, one Notebook returns the error: Error; unknown error code encountered when attempting to retrieve notebook details. Code: 20143 The Notebook key comes directly from…
0
votes
1 answer

Update specific task of page in OneNote using API

I am working on OneNote API where I want to update a specific task. But I didn't find any way/API to do that. Here is what I go to so far using graph API I need to update/replace the whole div which isn't the use case. I might have other text…
0
votes
0 answers

MS Graph API: Note Page Results Not Up-To-Date

When I load pages via https://graph.microsoft.com/v1.0/me/onenote/sections/{ID}/pages?$top=100&$orderby=createdDateTime%20desc the results are not up-to-date, even though changes have been synced across other devices. There should be 4 pages in the…
0
votes
1 answer

Creating OneNote file using MS Graph API similar to file creation in MS Teams

I want to create OneNote file using MS Graph API. functionality should be same as creating OneNote file in Teams channel as in below Image, I created OneNote file from Documents> Genaral>Folder One location. But I couldn't do same thing from graph…
DevÁsith
  • 1,072
  • 12
  • 38
0
votes
1 answer

MS Graph recent file api return different name for OneNote file

https://graph.microsoft.com/v1.0/me/drive/microsoft.graph.recent Above Microsoft graph api is used to get recent files. However if I create new OneNote file with specific name, this recent api returns OneNote file name as 'Untitled Section.one'…
0
votes
1 answer

Use OneNote GraphAPI to insert handwritten notes

Good Evening, I am trying to insert handwritten notes into OneNote pages (specifically OneNote for Windows 10) using the OneNote GraphAPI. Basically i'm looking for a way to insert a set of points or splines depending on how OneNote represents them…
CoderHD
  • 1
  • 2
0
votes
0 answers

Unable to list OneNote notebook from Graph API

I created notebook by following my previous question answer: Create new OneNote notebook Bad request But when I am trying to list that notebook including few optional query parameters like below: GET…
ShaliniP
  • 23
  • 3
0
votes
1 answer

Get content from several Pages and Sections from OneNote to Excel

I am very new to all of this so please bare with me. I have a OneNote Notebook with several Sections each containing hundreds of pages. I need to retrieve all the content of the pages (while keeping the structure of the page titles / section titles)…
thomast
  • 23
  • 3
0
votes
1 answer

MS Graph API Onenote page create/update request size limit

According to the first item of limitations we can't upload files bigger than 4 Mb to OneNote page via create or update page request (using multipart request). But using UI we can upload such or even larger files to OneNote page. Is there some…
0
votes
0 answers

Create multipart page in onenote with PDF attachment, inserting binary data

I am creating pages in onenote, using the Microsoft Graph API, which works fine with plain HTML. To create a multipart page like here Create Onenote page with MS Graph API, the API expects binary data. I wanted to attach a multi page PDF file, but…
Oakley
  • 3
  • 3
0
votes
1 answer

Microsoft OneNote Graph API page creation with background

I am using the Microsoft one-note graph API for creating pages according to their demand in HTML. Is there any possibility to create a page with a background image? Because I would like to use it as the background of a fillable form. I should be…
0
votes
1 answer

How to get all pages of a notebook MS Graph

Can i get all pages from a notebook using something like : GET /sites/{id}/onenote/notebooks/{id}/pages Currently, to get pages i use : GET /sites/{id}/onenote/notebooks/{id} GET /sites/{id}/onenote/notebooks/{id}/sectionGroups GET…
MoMo19
  • 3
  • 2
0
votes
1 answer

How to get Paragraph Ids of a onenote created using graph api?

I have created a OneNote page using graph api, now I want to retrieve the links to the paragraphs in the OneNote to update in a separate document. I tried the content url but it doesn't return anything. Can someone suggest what would be the endpoint…