Entra ID App Permission Grant by Rare User

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

About

Identifies the first time, within a lookback window, a user grants application permissions in Entra ID ("Add app role assignment to service principal" or "Add delegated permission grant"). Adversaries abuse application role assignments and delegated permission grants to obtain durable, token-based access to tenant data without requiring interactive consent. This is a New Terms rule keyed on the granting user; known cloud-provider egress networks are excluded.
Tags
Domain: CloudData Source: AzureData Source: Microsoft Entra IDData Source: Microsoft Entra ID Audit LogsDomain: IdentityPlatform: AzureTactic: PersistenceRule Type: New TermsLanguage: kuery
Severity
medium
Risk Score
47
MITRE ATT&CK™

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

False Positive Examples
Administrators grant application and delegated permissions as part of legitimate onboarding and integration work. The New Terms logic baselines known administrators; a newly seen user granting permissions, especially from an unusual network, 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 app role assignment to service principal" or "Add delegated permission grant") and event.outcome: "success" and not source.as.organization.name: ( "Google LLC" or "Amazon.com, Inc." or "Microsoft Corporation" or "GOOGLE-CLOUD-PLATFORM" or "MICROSOFT-CORP-MSN-AS-BLOCK" or "AMAZON-AES" or "AMAZON-02" )

Install detection rules in Elastic Security

Detect Entra ID App Permission Grant by Rare User 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).