Entra ID User Created or Deleted by Unusual UPN

Last updated 9 days ago on 2026-11-12
Created 9 days ago on 2026-11-12

About

Identifies the first time, within a lookback window, a user-initiated principal creates or deletes an Entra ID user ("Add user" / "Delete user"). Adversaries with compromised privileged identities create users for persistence or delete users for impact. This is a New Terms rule keyed on the initiating user principal; app/service-initiated lifecycle events (e.g. HR/SCIM provisioning) are intentionally out of scope.
Tags
Domain: CloudData Source: AzureData Source: Microsoft Entra ID Audit LogsDomain: IdentityPlatform: AzurePlatform: Entra IDTactic: PersistenceTactic: ImpactRule Type: New TermsLanguage: kuery
Severity
low
Risk Score
21
MITRE ATT&CK™

Persistence (TA0003)(external, opens in a new tab or window)

Impact (TA0040)(external, opens in a new tab or window)

False Positive Examples
IT administrators and IGA tooling create and delete users as part of normal operations. The New Terms logic baselines known human initiators; a newly seen initiating user warrants review.
License
Elastic License v2(external, opens in a new tab or window)

Definition

Rule Type
New Terms Rule
Integration Pack
Prebuilt Security Detection Rules
Index Patterns
logs-azure.auditlogs-*
Related Integrations

azure(external, opens in a new tab or window)

Query
text code block:
data_stream.dataset: "azure.auditlogs" and event.action: ("Add user" or "Delete user") and event.outcome: "success"

Install detection rules in Elastic Security

Detect Entra ID User Created or Deleted by Unusual UPN in the Elastic Security detection engine by installing this rule into your Elastic Stack.

To setup this rule, check out the installation guide for Prebuilt Security Detection Rules(external, opens in a new tab or window).