@Log Analytics (Azure Monitoring)
@Azure/M365 Legends - How to query ACTIVE Azure AD Guest Users that has EMPLOYEE TYPE as "Something" using KQL in Azure Log Analytics? Thanks all.
I tried using the below but it doesn't bring up the accurate result.
SigninLogs
| search "Something"
| where UserType == "Guest"
| project UserDisplayName
Followed Microsoft-Document and I have reproduced in my environment and got below results:
Firstly, I have tested below command to check if I am getting Logs or not:
And I got logs as below:
Then I checked the attributes of
SinginLogsusing below command:I have observed that in SigninLogs there is No Attribute Called
EmployeeTypeAnd you can also Check Microsoft-Document to verify that.So You cannot filter on Users based on employeetype in
SinginLogsof Azure AD.