无法为我的租户检索安全分数结果

时间:2017-06-20 11:07:57

标签: security office365 reporting

我正在尝试Secure Score API

curl -XGET "https://graph.microsoft.com/v1.0/reports/getTenantSecureScores(period=1)/content" -H "Authorization: Bearer ..." -H "Content-Type: Application/json"

但我收到以下错误

{
"error": {
"code": "BadRequest",
"message": "Resource not found for the segment 'reports'.",
"innerError": {
  "request-id": "ba775602-1e27-43e3-858f-4203801b072d",
  "date": "2017-06-20T10:49:08"
}

}

我使用的令牌具有所提及的here

所需的权限集
"roles":["User.ReadWrite.All","Group.ReadWrite.All","Files.ReadWrite.All","Reports.Read.All"]

我错过了什么吗?

1 个答案:

答案 0 :(得分:0)

让我们从v1.0更改为测试版,您的问题已修复。