@Azure/M365 Legends -如何在Azure日志分析中使用KQL查询员工类型为“某个内容”的活动Azure AD访客用户?谢谢大家

u0sqgete  于 2023-03-13  发布在  其他
关注(0)|答案(1)|浏览(103)

@日志分析(Azure监视)
@Azure/M365 Legends -如何在Azure日志分析中使用KQL查询员工类型为“某个”的活动Azure AD访客用户?谢谢大家。
我试着使用下面的,但它不能带来准确的结果。

SigninLogs
| search "Something"
| where UserType == "Guest"
| project UserDisplayName
svmlkihl

svmlkihl1#

遵循Microsoft-Document,我已经在我的环境中重现,并得到以下结果:
首先,我测试了以下命令,以检查我是否正在获取日志:

SigninLogs
| where UserType contains "Guest"
|project  UserDisplayName

我得到的日志如下:

然后我使用以下命令检查SinginLogs的属性:

SigninLogs
| where UserType contains "Guest"

我观察到SigninLogs中没有名为EmployeeType的属性,您也可以检查Microsoft-Document以验证这一点。
因此,您无法在Azure AD的SinginLogs中基于employeetype筛选用户。

相关问题