Forum Discussion
pacoy
Sep 07, 2023Copper Contributor
Something is wrong in AADSignInEventsBeta?
Hello everybody.
Today I'm running this code in "Advanced hunting":
// Users with multiple countries
// Get list of users that signed in from multiple countries for the last day.
AADSignInEventsBeta
| where Timestamp > ago(1d)
| summarize CountPerCountry = dcount(Country), countrySet = make_set(Country) by AccountUpn
| where CountPerCountry > 4
| order by CountPerCountry desc
Unexpectedly, the result is not correct in all rows, and It shows AccountUpn who have accesses from countries that do not correspond to reality (I have verified this by checking the Sign-in logs of the AccountUpn from the Microsoft Azure dashboard).
I have run this code on previous occasions with seemingly good results.
Regards.
No RepliesBe the first to reply