首页 文章

MS Graph / sites?search =不返回任何结果

提问于
浏览
0

当我使用MS Graph API并调用 https://graph.microsoft.com/v1.0/sites?search= 时,我得到了这个响应

{“@ odata.context”:“https://graph.microsoft.com/v1.0/$metadata#sites”,“value”:[]} request-id→cfb68a16-eb50-42ab-950c-fbfeec4def5c

但是我可以使用带有响应的 https://graph.microsoft.com/v1.0/sites/root 获取根网站详细信息

{“@ odata.context”:“https://graph.microsoft.com/v1.0/$metadata#sites/$entity”,“createdDateTime”:“2014-12-03T12:55:35.73Z”, “description”:“”,“id”:“fake.sharepoint.com,2d114e0b-41de-4069-b821-6f48b3f58dcb,25f9f0b9-d0bc-4c8b-aee8-03d9ed04532d”,“lastModifiedDateTime”:“2018-04-17T09: 59:59Z“,”name“:”“,”webUrl“:”https://fake.sharepoint.com“,”displayName“:”假队部“,”root“:{},”siteCollection“:{ “hostname”:“fake.sharepoint.com”}} request-id→6635a7a2-babb-4473-9057-d467c4f1eaaa

/sites?search= 不应该返回租户内的所有网站吗?

1 回答

相关问题