我正在嘗試按如下方式查詢 Microsoft GRAPH REST API:
https://graph.microsoft.com/beta/auditLogs/signIns$filter=location/any(c:c/countryOrRegion eq 'CA')
但是我收到400:無效的過濾器子句錯誤。
如果我做一個簡單的查詢,比如$filter=userDisplayName eq 'Bob Smith'我的查詢就可以正常作業。
在 Graph 中按國家/地區過濾登錄的正確方法是什么?
uj5u.com熱心網友回復:
過濾器子屬性的語法 - $filter=property/subProperty eq 'value-to-match'
您可以嘗試使用以下查詢
https://graph.microsoft.com/beta/auditLogs/signins?$filter=location/countryOrRegion eq 'IN'

有關更多資訊,您可以查看過濾器查詢引數的檔案 - https://learn.microsoft.com/en-us/graph/filter-query-parameter
轉載請註明出處,本文鏈接:https://www.uj5u.com/qiye/533628.html
標籤:休息微软图形API
上一篇:PowerBI分頁::如何使用“NextPageLink”從API中提取所有資料
下一篇:Firebase不支持macos
