Azure Audit Logs: Service Principal Created via Add service principal

Alerts on Azure audit log events that add a new service principal.

FreeReviewedSigma · Medium · v5
Product
azure
Service
auditlogs
Author
Austin Songer @austinsonger (SigmaHQ), DRL 1.1
Published
2021-09-02
Updated
2026-07-31

What it detects

This rule flags Azure audit events where an operation named "Add service principal" occurs, indicating a new service principal was created. Attackers commonly create service principals to obtain non-human identities for accessing resources and maintaining persistence while avoiding interactive logon activity. Detection relies on Azure audit log telemetry capturing the operationName field for directory changes.

Changelog

v5
  1. v5
    Candidate ingested via manual entry.2026-07-31
  2. v4
    Candidate ingested via manual entry.2026-07-31
  3. v3
    Candidate ingested via manual entry.2026-07-31
  4. v2
    Candidate ingested via manual entry.2026-07-31
  5. v1
    No changelog recorded for this version.2026-07-30

Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.