question

VictorSijtsmaBeEmpowered-3477 avatar image
0 Votes"
VictorSijtsmaBeEmpowered-3477 asked ZehuiYaoMSFT-7151 commented

OneNote Copy Notebook via Graph Api results in broken link to open in desktop app

Situation:

I copy an OneNote from a Sharepoint site to another Sharepoint Site via the Graph API (notebook: copyNotebook - Microsoft Graph v1.0 | Microsoft Docs).

This works and the new OneNote is available in the other sharepoint site.

When opening the new notebook in the browser it works. But if you then click on "Open in Desktop App", the Desktop app will open the original file in the the other location instead of the new file.

The Id of the original notebook and the new notebook are identical, made this has something to do with it?

on further investigation, it seems to only be happening on the "Open in Desktop Button".

Opening it directly from the OneNote App does work.

Only not from browser to app.

i was redirected to this channel
https://answers.microsoft.com/en-us/msoffice/forum/all/onenote-copy-notebook-via-graph-api-results-in/b0b43f0b-abf9-4679-b085-bbf65fd4fce5


microsoft-graph-notes
· 2
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.

Hi @VictorSijtsmaBeEmpowered-3477, would you mind providing the endpoint and request body you are using?

0 Votes 0 ·

Hello @VictorSijtsmaBeEmpowered-3477, do you still have this problem, please comment here if you any confusions.

0 Votes 0 ·

0 Answers