Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/sharepoint/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Sharepoint 搜索网站返回403拒绝访问_Sharepoint_Microsoft Graph Api - Fatal编程技术网

Sharepoint 搜索网站返回403拒绝访问

Sharepoint 搜索网站返回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.

我们已经看到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.",
        "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}