Anomalous Entra Device Code Sign-In Targeting Finance/Admin Users

This rule detects authentication events using the Device Code OAuth flow where the user account name contains keywords associated with sensitive or privileged roles (such as 'finance', 'admin', 'accounts'), originating from non-private (external) IP addresses. This activity is indicative of potential device code phishing attacks targeting sensitive user accounts.