Skip to main content

Clean Up AD Plugin

Summary

This document outlines the cleanup process for the Active Directory Plugin in ConnectWise Automate. It involves removing all rows from the following tables:

  • plugin_ad_computers
  • plugin_ad_memberofxrefs
  • plugin_ad_userproxyaddresses
  • plugin_ad_users

Additionally, it removes all rows with ObjectType 1 or 2 from plugin_ad_entries.

Requirements

  • The AD plugin needs to be up to date.

Dependencies

  • The "Run Full Active Directory Sync" script from Automate's Active Directory plugin.

Implementation

  1. Import the 'Clean Up AD Plugin' script.
  2. Schedule the client script to run.