Support
 
Phone Live Chat
 
Support
 
US: +1 888 720 9500
US: +1 800 443 6694
Intl: +1 925 924 9500
Aus: +1 800 631 268
UK: 0800 028 6590
CN: +86 400 660 8680

Direct Inward Dialing: +1 408 916 9393

 
 
 
 
 
Knowledge Base

How to automatically remove licenses from disabled/inactive Office 365 users

Objective : Automate delete/disable users and revocation of licenses of Office 365 users

Solution:

ADManager Plus provides automation feature to Delete and Disable users. The corresponding Office 365 account and license settings can be configured through the Disable / Delete policy in Admin tab.

a ) Configure Office 365 settings using Delete/Disable policy

  1. Click Admin tab.
  2. Go to Custom Settings → Policy
  3. Select the domain in which you want to configure the Delete/Disable Policy.
  4. Select the Delete Policy tab. Under the O365/G Suite section, select Delete Office 365 account. Selecting this option will also remove the Office 365 licenses associated with the accounts.
  5. Select the Disable policy tab. Under O365/G Suite section, select the check box against Revoke Office 365 user license. Selecting this option will also revoke the Office 365 licenses associated with the accounts.
  6. Once the Delete / Disable policy is configured in the Admin settings, the next step is to automate Delete / Disable the desired users.

b ) Automate Delete / Disable Users

  1. Click Automation tab.
  2. Go to Automation → Create New Automation.
  3. In the window which opens, enter a suitable Automation name and Description in the given text boxes.
  4. In Automation Category, select User Automation from the drop down list. Select the domain, and if necessary, select the OU from the Select Domain and Add OUs fields.
  5. Under Tasks to Automate → Automation Task/Policy , select Delete Users.
  6. Under Select objects → From Report , select any category of users you want to delete or you can upload a CSV file by clicking More and giving the location of the CSV file , e.g. \\server_name\share_name\folder.
  7. Under the Execution Time section, select from the drop down list in the Run At field, the desired time and set the interval in the For Each field. Thus at the specified time and interval the automation will run.
  8. When the Delete users automation runs, the settings configured for Office 365 account for Delete Policy ensures that the corresponding Office 365 accounts will be deleted. Thus associated the licenses will be revoked when the account is removed.
  9. The disable users automation is quite similar to Delete users. In step 5, select Disable users instead of Delete users . The steps 6 and 7 will be same as that explained in the Delete users automation.
  10. When the Disable Users automation runs , the settings configured for Office 365 account in the Disable Policy ensures that the licenses associated with the Office 365 account will be revoked when the user account is disabled.

Thus at the specified frequency, the automation runs for deleting/disabling users. Each time the user accounts gets deleted/disabled, the settings configured in the Delete/Disable policy for Office 365 accounts will ensure that the accounts and the associated licenses are removed.

 

Request Support

Need further assistance? Fill this form, and we'll contact you rightaway.

  • Name
  • Email*
  • Phone Number
  • Country
  • Problem Description
  •  
    By clicking 'Submit', you agree to processing of personal data according to the Privacy Policy.
  •  

Select a language to translate the contents of this web page:

ADManager Plus Trusted By

The one-stop solution to Active Directory Management and Reporting
Email Download Link