To provide step-by-step guidance on configuring an alert that notifies administrators when a sign-in attempt is made using a disabled account in Entra ID, enabling early detection of unauthorized access attempts or misconfigured account usage.
Access to the ADAudit Plus web console.
A user account with administrator privileges or a technician account with delegated permissions to configure alerts under Cloud Directory.
The Entra ID module must be properly configured and licensed in ADAudit Plus.
Audit Logs must be actively collected from Entra ID (i.e., ensure the Audit module under Cloud Directory shows a healthy sync status).
If you want alert notifications sent via email, ensure that SMTP settings are configured under Admin > General Settings > Server Settings in ADAudit Plus.
Click New Alert Profile (top-right corner).
Enter a relevant Alert Name and Description (e.g., Member Added to Azure AD Role).
Click the "+" symbol next to Report Profiles.
Under Domain, select the Cloud Account.
Choose Logon Failure as the report profile.
Scroll down to the Filter section and enable it.
Set the first filter as follows:
Attribute: Failure Error Code
Operator: Equals
Value: 50057
This will generate alerts whenever sign-in attempts happen using disabled accounts in Entra ID and whenever a user account is locked in Entra ID.
In the Alert Actions section, enable the E-mail Notification checkbox.
Enter recipient email addresses.
Provide a clear and relevant subject line for the email notification.
Select the preferred format for the alert email, either HTML or Plain Text.
Use the checkboxes to select the details you would like to include in the email:
Alert Message
Alert Profile Name
Event Details
Enable the Throttle Notification checkbox to suppress multiple alerts into a single notification based on defined criteria.
Example: If multiple logon failures are detected from the same user within 15 minutes, consolidate them into one alert.
If SMS provider settings are configured in ADAudit Plus (Admin > General Settings > Server Settings > SMS), enable the SMS Notification checkbox for real-time updates.
Enable the Execute Script checkbox to trigger a script automatically when a specific alert is generated.
Example: Lock a user account temporarily after detecting 10 consecutive logon failures from that account.
If a ticketing tool is integrated with ADAudit Plus (Admin > Configuration > Ticketing system Integration), enable the Configure Auto Ticketing checkbox to automatically generate tickets for alerts.
Note:
Click Save to activate the alert profile.
Choose the Alert profile that was created and view alerts in the ADAudit Plus console.
Verify that the alert appears with the correct event details (user, role, time).
Ensure the alert email is received at the specified address.
Include key details in the alert message.
Add dynamic values such as:
Username
Time of action
Who performed the action
Client IP or source
Create dedicated alert profiles for administrators or critical service accounts to monitor user disablement more closely.
Store alert history for audit trails and compliance reporting.