DataverseActivity joined with SigninLogs
4 rules join them.
Keys
UserPrincipalName == UserId2
IPAddress == ClientIp1
IPAddress == IPAddress1
UserId == UserId1
Time conditions after the join
TimeGenerated between (FirstSeen .. (FirstSeen + 2h))1
TimeGenerated between (SigninTime .. (SigninTime + 1h))1
Rules
Rules are from Azure/Azure-Sentinel (MIT licence) at commit 9ea9f7c. VeriKQL stores facts its parser read from each rule and links the rule; it does not copy rule text. Counts are what the rules do: practice, not guidance, and not Microsoft's recommendation.