使用 Graph 获取 Sharepoint 网站集的所有者

Getting a Sharepoint site collection's owner with Graph

如何使用图表 API 获取 Sharepoint Online 网站集的所有者?

This page 的文档似乎建议获取网站集的根站点 returns 它的所有者,但是当我在 Graph Explorer 中测试它时它不起作用。

我是否遗漏了某些参数,还有其他 API 参数,还是根本不可能?

Am I missing some parameters

没有

are there other APIs

没有

or is it simply impossible?

有可能,但 api 仍在开发中。当前endpoint主要是为了预览和评估。

Important: APIs under the /beta version in Microsoft Graph are in preview and are subject to change. Use of these APIs in production applications is not supported.

稳定版端点响应格式:

{
  "id": "contoso.sharepoint.com,2C712604-1370-44E7-A1F5-426573FDA80A,2D2244C3-251A-49EA-93A8-39E1C3A060FE",
  "displayName": "OneDrive Team Site",
  "name": "1drvteam",
  "createdDateTime": "2017-05-09T20:56:00Z",
  "lastModifiedDateTime": "2017-05-09T20:56:01Z",
  "webUrl": "https://contoso.sharepoint.com/teams/1drvteam"
}

制作场景请按照production版本