-
Notifications
You must be signed in to change notification settings - Fork 147
Description
I have been struggling to figure out what the issue is. In explorer I can get onenote and todo and create/modify. I have the app setup functioning with oauth and token works. I have created the list of permissions in my app as well as modified the app_config to include the scope needed for access and even more just because of this issue. I searched and experimented for 8 hours before writing here because I cannot find anything conclusive to explain the behavior.
I have everything set up with my personal 365 account. using the graph endpoints for testing, I am attempting to simply list my notebooks from onenote. If I use the https://graph.microsoft.com/v1.0/me/onenote/sections/0------------/pages endpoint, I get "Onedrive for Business for this user account cannot be retrieved"
if I use the users/user-email endpoint, i get an error stating that "The tenant does not have a valid sharepoint license"
Do I need licensing for sharepoint or enterprise to use these fetaures?
When using the explorer, I thought this was going to be easy. Not only does the error not make sense, I cannot find anything online describing the issue or how to resolve. Why do all explorer features work without reporting anything like this?
I am close to giving up on graph altogether. I just want to write to onenote pages with my chatbot and create todo entries.