【发布时间】:2016-04-27 17:03:02
【问题描述】:
我正在尝试访问图形 api 来阅读笔记页面,我收到了这个错误。
{
"error": {
"code": "40004",
"message": "The OAuth token provided does not have the necessary scopes to complete the request. Please make sure you are including one of the following scopes: Notes.ReadWrite.All,Notes.Read.All",
"innerError": {
"request-id": "d333a0ee-fe7c-4743-8498-350dc340dd8e",
"date": "2016-04-27T16:52:22"
}
}
}
我已将新应用添加到工作帐户,并为我的应用添加了所需的委派权限。权限详情如下。
资源:Microsoft Graph 权限范围:阅读用户笔记本
资源:OneNote 权限范围:查看一个笔记笔记本,查看您组织中的一个笔记笔记本。
我正在使用的端点: https://graph.microsoft.com/beta/me/notes/pages
我没有在之前提出的同一个问题中找到答案 OneNote API - no HTTP Resource found?
【问题讨论】:
标签: office365 onenote microsoft-graph-api