通过对象 ID 或主体名称获取特定用户的审核日志
我正在尝试从给定对象ID发出来宾用户的Tofind。
据我所知, 只能通过审核日志找到。但是,我似乎不能只找到给定用户的审计图。我尝试了:
var directoryAudits = await graphClient.AuditLogs.DirectoryAudits.Request().Filter($"targetResources/any(c:c/id eq '{id}'").GetAsync();
但是我得到了一个不好的请求例外。有任何指示可以为特定用户获取审核日志吗?
I am trying tofind who issued a guest user from a given object id.
As far as I know this can only be found through audit logs. However I cannot seem to find auditlogs from a given user only. I tried:
var directoryAudits = await graphClient.AuditLogs.DirectoryAudits.Request().Filter(quot;targetResources/any(c:c/id eq '{id}'").GetAsync();
But I get an bad request exception. Any pointers to get audit logs for a specific user?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
看起来过滤器查询缺少
any
的右括号)
Looks like that filter query is missing right bracket
)
forany