In this article:
Objective
Prerequisites
Steps to follow
Validation and confirmation
Tips
Related topics and articles
Objective
Learn how to configure an alert that notifies administrators whenever a new service principal is created in Entra ID, enabling early detection of potential application registrations or unauthorized access attempts within the environment.
Prerequisites
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.
Steps to follow
Use an account with either the administrator role or a technician account with delegated permissions to create/modify alerts.
Navigate to Alerts from the top menu.
Click New Alert Profile (top-right corner).
Enter a relevant Alert Name and Description (e.g., Member Added to Entra ID Role).
Click the + symbol next to Report Profiles.
Under Domain, select the Cloud Account.
Choose Applications Created as the report profile.
Scroll down to the Filter section and enable it.
Set the first filter as follows:
Attribute: Activity
Operator: Equals
Value: Add service principal
This will generate alerts whenever service principal creation happens in Entra ID.
In the Alert Actions section, check the E-mail Notification box.
Enter the 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 check boxes to select the details you would like to include in the email:
Alert Message
Alert Profile Name
Event Details
Check the Throttle Notification box 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), check the SMS Notification box for real-time updates.
Check the Execute Script box 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), check the Configure Auto Ticketing box to automatically generate tickets for alerts.
Note: You can also use Throttle Ticket Generation to avoid creating a ticket for every alert and instead generate one for a group of alerts meeting certain conditions.
Click Save to activate the alert profile.
Validation and confirmation
Manually add a test user to any Entra ID role using the Azure portal.
Go to Alerts > Expand Cloud account under Profile based alerts.
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.
Tips
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.
Related topics and articles
How to configure an alert to notify when MFA authentication methods are modified.