Microsoft Graph API 报告 GCC High 的端点不起作用? [英] Microsoft Graph API reports endpoint for GCC High not working?

查看:67
本文介绍了Microsoft Graph API 报告 GCC High 的端点不起作用?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试通过 Microsoft Graph API 访问 GCC 高 O365 租户的 O365 报告.我收到错误消息找不到用于‘报告’段的资源".这应该有效还是我构建请求的方式有问题?

I'm trying to access O365 reports via the Microsoft Graph API for a GCC High O365 tenant. I'm getting an error "Resource not found for the segment 'reports'". Should this be working or is there an issue with how I'm constructing the request?

完整的跟踪如下,

请求 =>

GET https://graph.microsoft.us/v1.0/reports/getOffice365ActiveUserDetail(period='D7') HTTP/1.1
SdkVersion: Graph-dotnet-1.10.0
Authorization: Bearer <JWT TOKEN REMOVED>
Cache-Control: no-store, no-cache
Host: graph.microsoft.us

响应 =>

HTTP/1.1 400 Bad Request
Cache-Control: private
Transfer-Encoding: chunked
Content-Type: application/json
request-id: 6d491a27-7343-48d5-b4df-0b47b26c5cb6
client-request-id: 6d491a27-7343-48d5-b4df-0b47b26c5cb6
x-ms-ags-diagnostic: {"ServerInfo":{"DataCenter":"USGov Iowa","Slice":"SliceC","Ring":"4","ScaleUnit":"000","Host":"AGSFE_IN_4","ADSiteName":"USI"}}
Duration: 2.1605
Strict-Transport-Security: max-age=31536000
Date: Tue, 24 Jul 2018 18:03:44 GMT

f1
{
  "error": {
    "code": "BadRequest",
    "message": " .",
    "innerError": {
      "request-id": "6d491a27-7343-48d5-b4df-0b47b26c5cb6",
      "date": "2018-07-24T18:03:44"
    }
  }
}
0

推荐答案

https://docs.microsoft.com/en-us/graph/deployments

据 Microsoft.com 称,US Gov Graph 尚不支持报告

Reports is not yet supported for US Gov Graph according to Microsoft.com

这篇关于Microsoft Graph API 报告 GCC High 的端点不起作用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆