Skip to Content

Connector Verification

⏱️10 minutes

After installation, run these verification steps to confirm everything is working.

Automated Verification Script

Download and run our verification script:

# Download script Invoke-WebRequest -Uri "https://docs.adunlock.me/scripts/Test-ConnectorInstallation.ps1" ` -OutFile "C:\ADConnector\Test-ConnectorInstallation.ps1" # Run verification cd C:\ADConnector .\Test-ConnectorInstallation.ps1
Expected Result

All tests should show green checkmarks:

Testing AD Connector Installation... ✅ Config file found ✅ connector.pem found ✅ connector-key.pem found ✅ ca.pem found ✅ Gateway reachable (api.adunlock.me:443) ✅ Domain Controller reachable (dc01.company.local:636) ✅ Service running (ADConnector) ✅ Recent heartbeat in logs ================================================== All tests passed! Connector is properly installed. ==================================================

Manual Verification Steps

1. Check Service Status

Get-Service ADConnector
Expected Result
Status Name DisplayName ------ ---- ----------- Running ADConnector AD Unlock Connector

2. Check Recent Logs

Get-Content C:\ADConnector\logs\connector.log -Tail 20
Expected Result

Look for these messages:

{"level":"info","message":"AD Connector starting"} {"level":"info","message":"configuration loaded"} {"level":"info","message":"LDAP connectivity verified"} {"level":"info","message":"connected to gateway"} {"level":"info","message":"heartbeat sent"}

3. Verify in Admin Portal

  1. Go to admin.adunlock.me 
  2. Navigate to Connectors
  3. Find your connector in the list
Expected Result
  • Status shows Online (green indicator)
  • “Last Seen” shows recent timestamp (within last minute)

4. Test AD Connectivity

In the Admin Portal:

  1. Go to SettingsActive Directory
  2. Click Test Connection
Expected Result
✅ Connection successful ✅ Bind successful ✅ Search successful (found X users in base DN)

Troubleshooting

🔧If Something Goes Wrong
SymptomCauseSolution
Service won't startMissing config file or certificatesRun verification script to identify missing files
Gateway connection failedNetwork/firewall issueTest-NetConnection api.adunlock.me -Port 443
LDAP connectivity failedDC unreachable or LDAPS not enabledSee AD Connection Errors in troubleshooting
Online in portal but AD test failsService account permissionsRe-run permissions script
Heartbeat not appearingCertificate mismatchRegenerate certificates in Admin Portal

Verification Checklist

All Verified?

  • Service is running
  • Logs show 'connected to gateway'
  • Logs show 'heartbeat sent' regularly
  • Portal shows connector as Online
  • AD Test Connection passes

Next Step

Once all verifications pass:

Or if you’re ready to test:

Last updated on