Azure AD Graph logs now visible in Elastic, enabling detection of legacy enumeration
Azure AD Graph Activity Logs can be ingested into Elastic and used to reliably detect legacy enumeration activity.
Security & privacy Elastic Security Labs 19 Jun 2026 Defense Real-world evidence
Published as “Azure AD Graph Activity Logs: Ingestion and threat detection to close the visibility gap”
Why it matters
Enabling Azure AD Graph logs gives defenders visibility into a previously blind attack surface, allowing detection of legacy enumeration tools.
Summary
The post shows how to enable the AzureADGraphActivityLogs diagnostic setting, route the logs to an Event Hub, and ingest them into Elastic with full ECS extraction. Using ROADrecon they generate ~2,000 Graph calls in a minute and demonstrate five detection queries that flag suspicious user-agents, internal API misuse, client-ID mismatches, and 4xx error bursts. The evidence comes from a live tenant test, and the detection rules are provided in the Elastic detection-rules repository.
What they found 3
- AAD Graph Activity Logs can be ingested into Elastic with full ECS extraction.
“AAD Graph Activity Logs ride into Elastic through the Azure integration and land in logs-azure.aadgraphactivitylogs-* with full ECS extraction.”
- Five hunts reliably catch the activity.
“Five hunts reliably catch the activity: tooling user-agents, endpoint breadth, *-internal API misuse, FOCI client-ID mismatches, and 4xx surges.”
- ROADrecon enumeration generated about 2,000 Graph calls in roughly one minute in the test tenant.
“From the tenant's perspective, the run produced just over ~2,000 AAD Graph calls and logs in roughly 1 minute.”
Caveats 4
- There's no single tenant-wide AAD Graph kill-switch in the portal.
- Blocking at scale means walking through every app registration and flipping it manually or programmatically.
- The prerequisite for any AAD Graph detection is having the logs in the first place.
- The detections in this post are a starting point. Once you have AAD Graph traffic landing in your stack and a baseline of what normal looks like in your tenant, the same patterns generalize.
What’s new here 4
- Azure AD Graph Activity Logs are now exposed via a diagnostic setting and ingestible into Elastic with full ECS field extraction.
- Step-by-step pipeline for Azure integration, Event Hub forwarding, and validation in a live tenant.
- Five ready-to-use detection queries covering user-agent fingerprints, endpoint breadth, internal API misuse, FOCI client-ID mismatches, and 4xx surge patterns.
- Detection rules released in the Elastic detection-rules repo, including high-severity ROADrecon burst detection and device-code sign-in sequence detection.