Install and configure the Active Directory / LDAP Harvester V3

Modified on Mon, Nov 2 at 4:45 PM

I
ITSupportPanel · Domain Harvester · Version 3

Install and configure the Active Directory / LDAP Harvester

Use the Active Directory / LDAP Harvester to import users from your clients’ Active Directory or LDAP directory into ITSupportPanel and your PSA contacts. This guide walks you through installing and configuring the Harvester, importing your clients’ users, and keeping them in sync.

Overview

What the Harvester does

  • Imports users from client Active Directory / LDAP into ITSupportPanel and your PSA contacts.
  • Runs as a scheduled Windows service on the client’s server.
  • Uploads data to Invarosoft servers for processing.
  • Syncs automatically, on a schedule you configure in Windows Task Scheduler (for example, every 1–2 hours).
  • Supports multiple named harvest profiles for independent client configurations.
  • Supports manual uploads, scripted XML configuration and command-line control.
  • Collects: first name, last name, email, phone, mobile, SID, SID History, sAMAccountName and UPN.

What’s new in version 3

  • Multiple named harvest profiles: configure multiple AD sources independently.
  • CONFIGURECL command: one-step command-line setup and activation.
  • Per-profile processing with PROCESS <profilename>.
  • SID History, sAMAccountName and userPrincipalName fields are now collected.
  • Three-panel data preview: eligible, missing info, and excluded by group membership.
  • Portal links (Harvester Page, Client User List) directly from the Harvester form.
  • Approval Required status shown as a clickable link to the portal.
!
Before you start: make sure you have the following.
  • Access to your client’s server, to install the Harvester.
  • Access to the Invarosoft portal (portal.invarosoft.net).
  • An AD/LDAP user account with rights to browse the directory.
  • TLS 1.2 enabled on the server. Without it, activation and uploads will fail (see Troubleshooting).
Install and set up the Harvester
1
Install the Harvester and launch it
  1. Download the AD Harvester installer from the Invarosoft portal to your client’s server and run the install.
  2. As part of the install, the configuration screen opens automatically.
  3. A companion Windows service (itsp.adharvest.service) is also installed and must remain running.

The configuration form shows:

  • Profile selector (top of the form), with New / Delete buttons for managing multiple profiles.
  • Harvester Activation section (top right), for entering the activation code.
  • AD Connection settings (right), for configuring the LDAP connection.
  • Harvester Info section (bottom left), with status, record count and portal links.
2
Get the activation code from the portal
portal.invarosoft.net → Clients
  1. Log in to the Invarosoft portal (portal.invarosoft.net).
  2. Go to the Clients page.
  3. Find the client you want to configure.
  4. Copy the Activation Code shown in the client list.

Each client has a unique activation code that links the Harvester installation to that specific client record in the portal.

3
Enter the activation code and activate
  1. Enter the client’s activation code in the Activation Code box, towards the top right of the form.
  2. Click Activate.

When activation succeeds, the form updates:

  • Partner ID, Partner Name, Client ID and Client Name are filled in automatically.
  • The Harvester Info section shows the status Approval Required (a clickable red link).
  • Last Record Count and Last Update Date appear.
  • The portal links (Harvester Page, Client User List) become active.
4
Configure the AD/LDAP connection

Configure access to your Active Directory / LDAP server. You’ll need the following information.

Required fields (marked with a red asterisk *)

AD Server IPThe IP address or hostname of your AD/LDAP server.
UsernameA user account with rights to browse the directory.
PasswordThe password for that user account.

Optional fields

AD DomainThe AD domain name (for example, DC=corp,DC=com).
Starting OULimits the search to specific Organizational Unit(s). Use semicolons to separate multiple OUs.
LDAP FilterPre-filled with a default filter for enabled user accounts. Double-click the field to customize it.

Fill in the required fields and click Test/Review Results to confirm connectivity and preview the users. Then click Save To Profile to save the connection settings.

5
Test and review the search results

Click Test/Review Results to open the Harvested Data Preview window. It shows three panels:

1. Records Eligible For HarvestingUsers that passed all filters and will be uploaded. Shows: First Name, Last Name, Email, Telephone, Mobile, SID, SID History, sAMAccount and userPrincipalName.
2. Records Not Eligible due to missing informationUsers missing one or more required fields (givenName, sn or mail). The Reason column shows which field is missing.
3. Records Not Eligible due to group membershipBuilt-in accounts that are always excluded: Guest, Administrator and krbtgt.
6
Approve the Harvester in the portal

Important: the Harvester must be approved in the Invarosoft portal before any records are processed.

  1. Click the Approval Required link on the Harvester form, or go to the portal Harvester page directly.
  2. A notice confirms that the Harvester has been registered but not yet approved.
  3. Click Approve Harvester.
  • Once approved, the status changes to Active. The servers are now ready to receive the first upload.
Check the results in the portal
✓
Harvester status page

After an upload, the Harvester page in the portal shows:

Current StatusActive
Last Record CountNumber of users uploaded.
Last UpdateTimestamp of the last successful upload.
Ignore User ListUsers excluded from processing.
User Intervention RecordsUsers pending your decision.
✓
Client user list

Open the Client User List link to see all harvested users. Each user shows their name, email, Agent status and PSA State. Available operations: Edit, Delete, Send Email and Deactivate.

Run a manual upload

To sync new users to ITSupportPanel and your PSA sooner, you can run an upload manually at any time.

Method 1: from the configuration screen

  1. Open the ADHarvester Config form.
  2. Select the profile you want to upload from the Profile dropdown.
  3. Click Execute Upload in the Harvester Info section.
  4. A confirmation dialog appears. Check the console window for the detailed upload status.

Note: the Execute Upload button is only enabled when the Harvester status is Active.

Method 2: from the command line

Run from the installation directory:

 Note: Invarosoft servers pick up the dataset and process it within 2–5 minutes. Check the status on the client’s harvest page in the portal.

Schedule automatic uploads
1
Create a scheduled task

To automate the Harvester, create a scheduled task in Windows Task Scheduler that runs it on a regular interval (for example, every 1–2 hours).

  1. Open Windows Task Scheduler.
  2. Click Create Basic Task.
  3. Name: Run AD Harvester.
  4. Set the trigger schedule (for example, every 1 hour).
  5. Action: Start a Program.
  6. Program: the full path to itsp.adharvest.exe.
  7. Arguments: PROCESS
2
Set the task properties

Open the task’s properties and check these settings:

GeneralSelect Run whether user is logged on or not, for unattended operation.
TriggersSet the repeat interval and the duration (Indefinitely).
ActionsMake sure the executable path and the PROCESS argument are correct.
SettingsConsider enabling If the task fails, restart every, for reliability.
Use multiple harvest profiles

The Harvester supports multiple named profiles, each configured and activated independently. This lets you:

  • Harvest from multiple AD domains on the same server.
  • Use different OU filters or LDAP filters for different configurations.
  • Map to different clients from a single installation.

Managing profiles

  • Use the Profile dropdown at the top of the form to switch between profiles.
  • Click New to create a new profile (alphanumeric, max 20 characters).
  • Click Delete to remove a profile (only allowed if it isn’t activated and isn’t the last profile).
  • Each profile has its own activation code, AD connection settings and Harvester status.

When you run PROCESS from the command line without a profile name, all activated profiles are processed. To process a single profile, specify its name:

Scripted configuration (XML)

You can configure the Harvester with your PSA/RMM tools or custom scripting, using our configuration XML format combined with a command-line execution.

Example XML configuration file

XML configuration values

activationcodeClient activation code from the portal.
adserveripIP or hostname of your Active Directory server.
adusernameAD user account with directory browse rights.
adpasswordPassword for the AD user account.
addomainAD domain name (for example, DC=corp,DC=com).
oufilterStarting OU path (use semicolons for multiple OUs).
searchfilterCustom LDAP search filter.

Processing the configuration

Run itsp.adharvest.exe with the following command-line arguments:

 Note: the results are shown in the console. If it succeeds, the Harvester still needs to be approved in the portal, but no further configuration is needed on the server itself.

Command-line arguments

We provide a range of command-line arguments so you can script the configuration or execution of the AD Harvester.

ACTIVATE <code>Activate using an activation code (auto-generated profile name).
ACTIVATE <profile> <code>Activate a specific named profile with an activation code.
DEACTIVATE <profile>Deactivate a specific profile (does not clear the AD configuration).
RESET <profile>Full factory reset: deactivation + clears the AD configuration.
CONFIGUREOpens the interactive configuration form.
CONFIGUREXML <path>Configure from a formatted XML file.
CONFIGUREXML <profile> <path>Configure a named profile from an XML file.
CONFIGURECL <profile> <code> <ip> <user> <pass>One-step command-line setup and activation.
PROCESSUpload AD users for all activated profiles.
PROCESS <profile>Upload AD users for a single specific profile.

CONFIGURECL: one-step setup

The CONFIGURECL command lets you fully configure and activate a profile in a single command. It’s ideal for automated deployment through PSA/RMM tools:

 Note: after CONFIGURECL, the Harvester still needs to be approved in the portal before any data is processed.

Data collected and filtering rules

Fields collected from AD/LDAP

givenNameFirst Name
snLast Name
mailEmail Address
telephoneNumberTelephone
mobileMobile Number
objectSidSecurity Identifier (SID)
sIDHistorySID History
sAMAccountNameSAM Account Name
userPrincipalNameUser Principal Name (UPN)

Eligibility rules

A user must have all three of these fields filled in Active Directory to be eligible:

  • givenName (First Name)
  • sn (Last Name)
  • mail (Email Address)

Users missing any of them appear in the Records Not Eligible due to missing information panel.

Automatic exclusions

The following built-in accounts are always excluded: Guest, Administrator and krbtgt.

Default LDAP filter

This filter retrieves only enabled user accounts (disabled accounts are excluded).

Troubleshooting: TLS and connectivity

TLS 1.2 is required

All API communications require TLS 1.2. If TLS 1.2 isn’t enabled on the server, activation and uploads will fail.

Quick TLS check (PowerShell)

 

TLS configuration report

Use the TLS Investigator script (POWER SHELL\HARVESTER\tls investigator.txt) to generate a complete report covering:

  • Schannel protocol settings (TLS 1.0, 1.1, 1.2, 1.3: client and server).
  • .NET Framework TLS settings (SchUseStrongCrypto, SystemDefaultTlsVersions).
  • Internet Explorer / WinINet settings (SecureProtocols bitmask).
  • Cipher suites configuration.
  • Security recommendations.

Check if TLS is enforced on the API

Troubleshooting: API endpoint testing

Use these PowerShell scripts to test connectivity to the Invarosoft API endpoints directly. Replace the placeholder values with the actual IDs from the Harvester config form.

Test Harvester activation

Test Harvester info (with TLS 1.2)

[

Note: compare the results of running the info script with and without TLS 1.2 to diagnose TLS issues. The “no TLS12” variant has the SecurityProtocol line commented out.

Troubleshooting: security and LDAP checks

Check local admin status

Check FIPS 140 mode

Note: FIPS 140 mode can block non-compliant cryptographic algorithms used by the Harvester. If FIPS is enabled and the Harvester fails, this may be the cause.

Check for multiple instances (mutex)

Test LDAP connectivity

Troubleshooting: common issues and solutions

Service not running

The companion Windows service (itsp.adharvest.service) must be running.

Check: Get-Service -Name "itsp.adharvest.service"

Activation fails

Check the activation code, check network connectivity to api.itspservice.net:443, and make sure TLS 1.2 is enabled.

Check: Test-NetConnection api.itspservice.net -Port 443

Zero records harvested

Check the AD credentials, check the OU path, and make sure users have givenName, sn and mail filled in Active Directory. Review the Test/Review Results panels.

Upload not processing

Make sure the Harvester status is Active (not Approval Required). Allow 2–5 minutes for server-side processing.

Scheduled task not running

Check that the task exists and is enabled. Check the executable path, the PROCESS argument and the Run whether user is logged on or not setting.

Check: Get-ScheduledTask -TaskName "*ADHarvester*"

FIPS mode conflicts

FIPS 140 mode may block non-compliant cryptographic algorithms. Check the FIPS status and consider disabling it if it causes issues.

Config file corrupted

The Harvester detects corruption automatically, backs up the file with a _recovered_ suffix and creates a fresh default configuration. Re-activate and reconfigure after recovery.

Machine renamed

The configuration is encrypted using the machine name as the key, so after a server rename the old config can’t be decrypted. The Harvester recovers automatically with default settings; you must re-activate and reconfigure all profiles.

Configuration and log file locations
Config%ProgramData%\Invarosoft Pty Ltd\itsp.adharvest\config
Logs%ProgramData%\Invarosoft Pty Ltd\itsp.adharvest\log
Service%ProgramData%\Invarosoft Pty Ltd\itsp.adharvest\service

Credentials are encrypted using machine-specific keys (Triple-DES, keyed to the machine name). Log files older than 60 days are deleted automatically on startup.

For the full diagnostic scripts, see the POWER SHELL directory included with this documentation.

Result
✓
Done. The Harvester is installed, activated and approved, and your client’s Active Directory users are being imported into ITSupportPanel and your PSA, manually or on a schedule.
Invarosoft · ITSupportPanel documentation

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article