Query Details
//Microsoft Entra Identity Attack Threat Detection //https://www.linkedin.com/pulse/microsoft-entra-identity-attack-threat-detection-steven-lim-tycnc/ let companydomain = "@contoso.com"; //update your corporate domain AzureActivity | where TimeGenerated > ago(1h) | where CategoryValue == "Administrative" | where Caller contains "@" and Caller !contains companydomain
This query is designed to detect potential identity attacks within the last hour by focusing on administrative activities in Microsoft Entra (formerly Azure AD). Here's a simple breakdown:
In summary, this query helps identify administrative actions performed by external users (not from the company's domain) within the last hour.

Steven Lim
Released: August 2, 2024
Tables
Keywords
Operators