问题
I am integration onenote with my application. I am using below mentioned API to retrieve all notebooks that a user can potentially access to.
https://graph.microsoft.com/v1.0/me/onenote/notebooks?includesharednotebooks=true
I am able to retrieve all the notebooks owned by me and shared with me. The problem is in case on business account I am not able to further access the pages and sections which are inside shared notebooks. For all owned notebooks I can still access the pages and sections. How I can resolve this issue ?
This is a blocker for me. Kindly revert
回答1:
Have you tried accessing the notebooks by site?
- Call the API
- For any given notebook that doesn't belong to the owner, look for the site id given the site URL
- Use that site id to do a ~sites/id/notes/... request
In Graph, you might be able to look up the site by keyword. Example:
https://graph.microsoft.com/v1.0/sites?search=contoso
来源:https://stackoverflow.com/questions/46440803/accessing-shared-notebooks-pages-and-sections-for-onenote-for-business-acoount