SigninLogs
| where TimeGenerated > ago(1d)
| where ResultType == 0
| where RiskState == "atRisk" or NetworkLocationDetails has "anonymizer" or IPAddress has_any ("tor", "vpn")
| project TimeGenerated, UserPrincipalName, IPAddress, Location, AppDisplayName, RiskLevelDuringSignIn, ConditionalAccessStatus
| sort by TimeGenerated desc