Connect Active Directory

AD Pro Toolkit connects to your Active Directory domains on the Settings > Connections > Active Directory tab. The first domain is connected by the setup wizard when you install AD Pro Toolkit. Use this tab to add more domains, or to change how a domain connects.

To connect a Microsoft 365 tenant, see Connect Microsoft 365.

Add a domain

  1. Go to Settings > Connections > Active Directory and select Add domain.
  2. Enter the Domain (FQDN), for example contoso.com.
  3. Enter the Username and Password of the account AD Pro Toolkit should connect with, as DOMAIN\username. If AD Pro Toolkit's service runs as a managed service account, these fields aren't shown; it connects to every domain as that account.
  4. Tick Use LDAPS (port 636) if your domain controllers require encrypted LDAP.
  5. Select Test connection. The test finds a domain controller for you and checks the account has the Replicating Directory Changes permission. If the permission is missing, a warning shows the command to grant it. AD Pro Toolkit still works without it, but syncs are slower.
  6. Select Save.

The new domain is synced at the next scheduled sync.

Switch between domains

When more than one domain is connected, a domain list appears in the title bar. Choose a domain to see its reports and manage its objects. AD Pro Toolkit remembers the last domain each person chose.

The Default domain is the one people see first. To change it, edit a domain and tick Default domain.

Managed service accounts

The account the service runs as is chosen in the setup wizard, not on this page. To switch to or from a managed service account, run the setup wizard again from the AD Pro Toolkit Setup shortcut in the Start menu.

Troubleshooting

  • "The username or password was rejected by the domain": check the account and password. Use DOMAIN\username.
  • "Could not reach a domain controller": check the domain name, and that port 389 (or 636 with LDAPS) is open from the computer AD Pro Toolkit is installed on to your domain controllers.
  • The sync permission warning: the account doesn't have Replicating Directory Changes. Run the command shown in the warning on a domain controller, then select Test connection again.
  • The domain list doesn't appear in the title bar: it only shows when more than one domain is connected and enabled.