How to receive notifications when licenses are assigned or removed from user accounts

How to receive notifications when licenses are assigned or removed from user accounts

In this article:

    • Objective

    • Prerequisites

    • Steps to follow

    • Validation and confirmation

    • Tips

    • Related topics and articles

 

Objective

To guide users in configuring an alert that notifies administrators whenever a license is assigned or removed from a user account in Entra ID, this enables better tracking of license usage, compliance, and potential unauthorized changes.

Prerequisites  

    • Access to the ADADAudit 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

  1. Use an account with the administrator role or a technician account with delegated permissions to create/modify alerts.

  2. Navigate to Alerts from the top menu.

  3. Click New Alert Profile (top right corner).

  1. Enter a relevant Alert Name and Description (e.g., Member Added to Azure AD Role).

  2. Click the "+" symbol next to Report Profiles.

  1. Under Domain, select the Cloud Account.

  2. Choose User Modified as the report profile.

  3. Scroll down to the Filter section and enable it.

  4. Set the first filter as follows:

    1. Attribute: Activity

    2. Operator: Equals

    3. Value: Change user license

  5. Set the condition as AND

  6. Set the second filter as follows:

    1. Attribute: Property Name

    2. Operator: equals

    3. Value: AssignedLicense

  7. This will generate alerts whenever a License Assignment or Removal on User Accounts happens in Entra ID.

  1. In the Alert Actions section, check the E-mail Notification box.

  2. Enter the recipient email addresses.

  3. Provide a clear and relevant subject line for the email notification.

  4. Select the preferred format for the alert email, either HTML or plain text.

  5. Use the check boxes to select the details you would like to include in the email:

    1. Alert Message

    2. Alert Profile Name

    3. Event Details

  6. 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.

  7. If SMS provider settings are configured in ADAudit Plus (Admin > General Settings > Server Settings > SMS), check the SMS Notification box for real-time updates.

  8. 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.

  9. 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.

  1. 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 a user is disabled.

                  New to ADSelfService Plus?

                    • Related Articles

                    • How to check when a user was removed from a security group

                      In this article : Objective Prerequisites Steps to follow Validation and confirmation Tips Related topics and articles Objective This article explains how to track when a user was removed from a security group using ManageEngine ADAudit Plus. It ...
                    • How to Configure an alert to notify when a Member is Removed from Any Role

                      In this article: Objective Prerequisites Steps to follow Validation and confirmation Tips Related topics and articles Objective This article explains how to configure an alert in ManageEngine ADAudit Plus to notify administrators whenever a user is ...
                    • How to create an alert for user accounts created outside business hours

                      In this article: Objective Prerequisites Steps to follow Validation and confirmation Tips Related topics and articles Objective This article explains how to configure a real-time alert in ADAudit Plus that will notify you whenever a new user account ...
                    • How to exclude user accounts in ADAudit Plus

                      In this article : Objective Prerequisites Steps to follow Validation and confirmation Tips Related topics and articles Objective This article explains how to exclude specific user accounts from being audited in ADAudit Plus. Prerequisites Access to ...
                    • How to exclude user accounts in ADAudit Plus

                      In this article : Objective Prerequisites Steps to follow Validation and confirmation Tips Related topics and articles Objective This article explains how to exclude specific user accounts from being audited in ADAudit Plus. Prerequisites Access to ...