Microsoft Graph API报告GCC高的终结点无法正常工作?

时间:2018-07-24 18:25:32

标签: microsoft-graph

我正在尝试通过Microsoft Graph API访问GCC高O365租户的O365报告。我收到错误消息“找不到段'报告'的资源”。这应该工作还是我构造请求的方式有问题?

完整的踪迹在下面,

请求=>

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

1 个答案:

答案 0 :(得分:0)

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

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

NotSupportedonUsGov