从Sharepoint在线帐户列出siteCollections所需的权限 [英] Privileges required to list siteCollections from Sharepoint Online Account
问题描述
您好,
我们正在使用以下API 列出Sharepoint Online中存在的所有网站集:
We are using following APIs to list all the site collections present inside Sharepoint Online:
https://graph.microsoft.com/v1.0/sites?search = *& select = *,sharePointIds
https://graph.microsoft.com/v1.0/sites?search=*&select=*,sharePointIds
https://graph.microsoft.com/v1.0/sites?search=%s&select=*,sharePointIds
https://graph.microsoft.com/v1.0/sites?search=%s&select=*,sharePointIds
https://graph.microsoft.com/v1.0/sites/%s?select=*,sharepointIds
https://graph.microsoft.com/v1.0/sites/%s?select=*,sharepointIds
我们有一些siteCollections,主要管理员下的用户和siteCollection的administrators字段不同。我们目前正在使用Global Admin / Sharepoint Admin来调用上述API。但这些siteCollections没有从API中回复列出
。只列出那些主要管理员为全局管理员/共享点管理员的siteCollections。
We have some siteCollections for which user under primary administrator and administrators field for siteCollection is different. We are currently using Global Admin/Sharepoint Admin to invoke the above APIs. But these siteCollections are not getting listed in response from the API. Only those siteCollections are getting listed for which primary administrator is Global Admin/ Sharepoint Admin.
例如:
在上面的屏幕截图中:
In the above Screenshot :
我们使用nehadi调用上述API,nehadi是一个全局管理员,也是管理员的一部分。
We are invoking above mentioned APIs using nehadi, which is a global admin and also part of administrators.
但是这个siteCollection没有列在API响应中。
But this siteCollection is not getting listed in the API response.
是否还需要从API获取siteCollections的其他权限?
Are there any other privileges required to get the siteCollections from API?
有人可以帮忙吗?
谢谢,
Ketaki
推荐答案
嘿
如果全局管理员或SharePoint管理员没有网站集管理员权限,他将无法访问网站集。您可以在https://domain-admin.sharepoint.com/_layouts/15/online/SiteCollections.aspx中试用。
If the global admin or SharePoint admin don't have site collection admin rights, he will be not able to access the site collection. You can try it in https://domain-admin.sharepoint.com/_layouts/15/online/SiteCollections.aspx.
这篇关于从Sharepoint在线帐户列出siteCollections所需的权限的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!