azure-active-directory - Graph Beta RiskDetection API 对“小于”$filter 与“$top”组合的查询失败
问题描述
我一直在查询 riskDetection API 并通过“DetectedDateTime”进行分页过滤,并仅在特定时间范围内获取事件。今天早上,这个 API 调用开始失败,只针对我们的一个租户,并且只针对 riskDetection 端点(identityRiskEvents 工作正常)
对于涉及的查询,我收到以下错误le
:
{
"error": {
"code": "UnknownError",
"message": "",
"innerError": {
"request-id": "29ec0904-8655-43d2-a422-7e7554313906",
"date": "2020-01-22T19:18:29"
}
}
}
// This one works
https://graph.microsoft.com/beta/riskDetections?$orderby=detecteddatetime+desc&top=500&filter=(detectedDateTime+ge+2020-01-19T18:06:04Z)
// This one returns UnknownError
https://graph.microsoft.com/beta/riskDetections?$orderby=detecteddatetime+desc&top=500&filter=(detectedDateTime+ge+2020-01-19T18:06:04Z)
// This one works
https://graph.microsoft.com/beta/riskDetections?$orderby=detecteddatetime+desc&filter=(detectedDateTime+le+2020-01-19T18:06:04Z)
似乎 $top 和 $filter=detectedDateTime+le+... 的组合导致错误。有没有人最近遇到过这个问题/知道这是 Microsoft 的问题,还是我的查询语法/其他问题?
解决方案
推荐阅读
- python - 我应该使用 f 弦吗?
- javascript - 如何使用 JavaScript 读取/访问多维对象
- java - 我已经添加了 autoReconnect = true 的任何解决方案?
- java - 是否可以在哈希图中进行冒泡排序?
- python - 配置动态生成文件的最佳实践
- c++ - C++ 位掩码和移位
- go - 使用 Golang viper 读取地图切片
- java - 是否有适当的方法来检测和处理突然断开的服务器
- reactjs - 在反应中为管理页面创建单独的应用程序是否明智?
- asp.net-core - 如何使用 dotnet core 控制台应用程序在控制台上以“设计格式”重现自定义文本?