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