Multiple Service Principals Created by User

Last updated on:

About the rule

Rule Type

Standard

Rule Description

Detects cases where one user registers over three distinct OAuth applications in Entra ID within a 10-minute window.

Severity

Trouble

Rule Requirement

Criteria

Action1: actionname = "DETECTION_ACTION_M365_APPLICATION_ADDED" AND (TARGETTYPE = "serviceprincipal") | timewindow 10m | groupby CALLER having COUNT > 3 select Action1.timewindow.CALLER,Action1.timewindow.TARGET,Action1.timewindow.RESULT,Action1.timewindow.MODIFIED_PROPERTIES_GD,Action1.timewindow.TARGETTYPE,Action1.timewindow.OPERATION

Detection

Execution Mode

realtime

Log Sources

Microsoft 365