@日志分析(Azure监视)@Azure/M365 Legends -如何在Azure日志分析中使用KQL查询员工类型为“某个”的活动Azure AD访客用户?谢谢大家。我试着使用下面的,但它不能带来准确的结果。
SigninLogs | search "Something" | where UserType == "Guest" | project UserDisplayName
svmlkihl1#
遵循Microsoft-Document,我已经在我的环境中重现,并得到以下结果:首先,我测试了以下命令,以检查我是否正在获取日志:
SigninLogs | where UserType contains "Guest" |project UserDisplayName
我得到的日志如下:
然后我使用以下命令检查SinginLogs的属性:
SinginLogs
SigninLogs | where UserType contains "Guest"
我观察到SigninLogs中没有名为EmployeeType的属性,您也可以检查Microsoft-Document以验证这一点。因此,您无法在Azure AD的SinginLogs中基于employeetype筛选用户。
EmployeeType
1条答案
按热度按时间svmlkihl1#
遵循Microsoft-Document,我已经在我的环境中重现,并得到以下结果:
首先,我测试了以下命令,以检查我是否正在获取日志:
我得到的日志如下:
然后我使用以下命令检查
SinginLogs
的属性:我观察到SigninLogs中没有名为
EmployeeType
的属性,您也可以检查Microsoft-Document以验证这一点。因此,您无法在Azure AD的
SinginLogs
中基于employeetype筛选用户。