event.dataset:(azure.activitylogs or azure.signinlogs)
and azure.signinlogs.properties.authentication_protocol:deviceCode
and azure.signinlogs.properties.conditional_access_audiences.application_id:29d9ed98-a469-4536-ade2-f981bc1d605e
and event.outcome:success or (
azure.activitylogs.properties.appId:29d9ed98-a469-4536-ade2-f981bc1d605e
and azure.activitylogs.properties.authentication_protocol:deviceCode)
Install detection rules in Elastic Security
Detect Entra ID Device Code Auth with Broker Client 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(opens in a new tab or window).