我正在调用Microsoft Graph planner API,并且它始终返回403状态代码。
这是API网址:我正在调用的https://graph.microsoft.com/v1.0/users/ {EMAIL} / planner / tasks。
我已将应用设置中所有必需的读写权限更新为必需。
{
"error": {
"code": "",
"message": "You do not have the required permissions to access this item.",
"innerError": {
"request-id": "90b22f0a-6d22-4770-93dc-bf7fa2d9bcbb",
"date": "2019-05-20T10:58:07"
}
}
}
另外,当我从“图形资源管理器”进行测试时,也会收到以下响应:
答案 0 :(得分:2)
要能够读取Planner任务,您的应用需要具有Groups.Read.All权限,而上述请求中没有该权限。