Automated 'Inactive Users' clean up

    Say you have a little complex scenario unlike the one mentioned in Use case 1.Let us assume that the administrator has to move all the inactive users to a separate OU at the end of every month, retain them there for a period of 150 days and then delete them.

    We shall now configure an ADManager Plus automation to automate these tasks.

    As the process involves a sequence of tasks we shall first configure an automation policy and then apply it to an automation.

    Configuring an automation policy

    1. Click Automation tab
    2. From the left pane under Configuration, select Automation policy.
    3. A page with the display of all existing automation policies and their details will appear; to create a new automation policy, click Create New Automation Policy on the top-right corner.
    4. In the page that appears configure the settings for the automation policy with the help of the labels
      • Automation policy Name:delete inactive users
      • Description: delete users who have been inactive in the past month
      • Automation Category: choose the Active Directory management category under which the task will be carried out, which in this case will be "user automation"
      • Select Domain : choose the domain and OUs where the task should be run
      • Instant tasks: choose a task from the drop down list box that has to be run immediately, which in this case will be "move users"
      • Successive tasks:choose the time period after which the successive tasks have to be run, and then choose the task from the drop down list box, which in this case will be "150 days" and "delete users" respectively
    5. Finally click save and the automation policy will hence be saved

    As the next step configure an automation that implements this automation policy.

    Steps in configuring automation

    1. Click on Automation tab
    2. From the left pane choose "Automation"
    3. A page with the display of all existing automations and their details will appear; to create a new automation click on create new automation on the top-right corner
    4. In the page that appears configure the settings with the help of the labels
      • Automation Name :delete inactive users
      • Description :delete users who have been inactive for a long time
      • Automation Category: choose the Active Directory management category under which the task will be carried out, which in this case will be "user automation"
      • Select Domain : Enter the complete name of your domain
      • Automation Task/Policy:choose an AD task or automation policy from the drop down list box, which in this case would be automation policy -"delete inactive users"
      • From Reports: choose the "inactive users report"
      • Run at: choose monthly,1st at 8 hours and 0 minutes
    5. Finally click save and save the automation
    6. Once this automation is configured and saved, the inactive users will be automatically moved to an separate OU at the end of every month on the 1st at 8:00 am, and the follow up tasks will happen at scheduled intervals.

    Note
    • Once the inactive users have been moved to an OU, the same set of users will be taken for the successive task irrespective of whether they are active or inactive after that.
    • The policy defined will be displayed in the policy list only if it has been defined for the same domain and automation category as chosen in automation.

    Back to Automation usecases

    Don't see what you're looking for?

    •  

      Visit our community

      Post your questions in the forum.

       
    •  

      Request additional resources

      Send us your requirements.

       
    •  

      Need implementation assistance?

      Try onboarding