Sharepoint 搜索网站返回403拒绝访问
我们已经看到Microsoft GraphSharepoint 搜索网站返回403拒绝访问,sharepoint,microsoft-graph-api,Sharepoint,Microsoft Graph Api,我们已经看到Microsoft Graph/sites?search端点的功能发生了变化 在过去几天内,拨打此电话时: https://graph.microsoft.com/v1.0/sites?search= 对于某些租户,我们现在收到: { "error": { "code": "accessDenied", "message": "The caller does not have permission to perform the action.
/sites?search
端点的功能发生了变化
在过去几天内,拨打此电话时:
https://graph.microsoft.com/v1.0/sites?search=
对于某些租户,我们现在收到:
{
"error": {
"code": "accessDenied",
"message": "The caller does not have permission to perform the action.",
"innerError": {
"request-id": "a37ae18e-dcd2-481d-bb06-0a0f5cade4f4",
"date": "2018-09-28T13:54:56"
}
}
}
我们正在对以下角色使用仅应用程序身份验证:
"roles": [
"Directory.Read.All",
"User.Read.All"
],
此呼叫所需的权限是否有更改?,您需要站点.Read.All
或站点.ReadWrite.All
才能使用/Sites?search={query}