I am integrating OneNote in my application. Using the OneNote API I am able to fetch all the Notebooks that belong to a particular user.
Let's say a user A has 5 Notebooks of his own and 2 shared Notebooks.
Let's say NoteBook6
is shared by user which is part of organization same A and NoteBook7
is shared by external user.
In my application I want to access all these 7 notebooks which user can access. I tried this using Microsoft Graph as well as the OneNote API but I am only able to access the 5 notebooks owned by the user.
Is there any way to access Notebook6
and Notebook7
using any API, provided I am unaware of who has shared the content with my user?
Microsoft Graph provides:
https://graph.microsoft.com/v1.0/users/{id}/onenote/notebooks
I don't want to use these endpoints to access shared content as this requires details about user who has shared notebooks with me.