[英]Microsoft Graph get sharepoint sites analytics not working
我尝试使用 Microsoft Flow 中的 Microsoft Graph 查询 SharePoint 站点的分析。 在我这样做之前,我在 Graph Explorer 中尝试了这个。
使用以下网址。
https://graph.microsoft.com/v1.0/sites/xxxx.sharepoint.com,xxxx,xxxx/analytics
显示此错误消息。
我们在将此请求发送到 Graph API 时遇到了问题。 如需帮助,请使用标签 [microsoftgraph] 在 StackOverflow 上与我们联系。
我对这两个查询没有问题:
https://graph.microsoft.com/v1.0/sites/xxxx.sharepoint.com,xxxx,xxxx
https://graph.microsoft.com/v1.0/sites/xxxx.sharepoint.com,xxxx,xxxx/lists
它只是不适用于分析。
根据文档,并非所有国家部署都提供 Analytics,但我在全球租户中,因此我认为它受支持。
在 url 末尾添加“lastSevenDays”或“allTime”说明符可能会对您有所帮助
https://graph.microsoft.com/v1.0/sites/xxxx.sharepoint.com,xxxx,xxxx/analytics/lastSevenDays
https://graph.microsoft.com/v1.0/sites/xxxx.sharepoint.com,xxxx,xxxx/analytics/allTime
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.