LDAP Listener not picking up changes or LDAP Listener imports stuck in Loaded stateIssue <!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } span { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } h2 { font-size: 24pt; font-family: Lato; color: var(--now-color--text-primary, black); } h3 { font-size: 18pt; font-family: Lato; color: var(--now-color--text-primary, black); } h4 { font-size: 14pt; font-family: Lato; color: var(--now-color--text-primary, black); } a { font-size: 12pt; font-family: Lato; color: var(--now-color--link-primary, #00718F); } a:hover { font-size: 12pt; color: var(--now-color--link-primary, #024F69); } a:target { font-size: 12pt; color: var(--now-color--link-primary, #032D42); } a:visited { font-size: 12pt; color: var(--now-color--link-primary, #00718f); } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } The Lightweight Directory Access Protocol (LDAP) Listener appears to be running but stops processing changes from Active Directory (AD). User and/or group records in ServiceNow are not updated, or import sets generated by the listener remain stuck in a Loaded state indefinitely without being transformed. Symptoms<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } span { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } h2 { font-size: 24pt; font-family: Lato; color: var(--now-color--text-primary, black); } h3 { font-size: 18pt; font-family: Lato; color: var(--now-color--text-primary, black); } h4 { font-size: 14pt; font-family: Lato; color: var(--now-color--text-primary, black); } a { font-size: 12pt; font-family: Lato; color: var(--now-color--link-primary, #00718F); } a:hover { font-size: 12pt; color: var(--now-color--link-primary, #024F69); } a:target { font-size: 12pt; color: var(--now-color--link-primary, #032D42); } a:visited { font-size: 12pt; color: var(--now-color--link-primary, #00718f); } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } User or group changes made in AD (inserts, updates, deactivations) are not reflected in ServiceNow after the expected listener polling intervalImport sets created by the LDAP Listener remain in a Loaded state and do not progress to ProcessedThe LDAP Listener status shows as active and no errors appear in the system logsManually triggering a scheduled LDAP data import completes successfully, but listener-driven imports do notThe listener appears to resume processing only after a restart of the MID Server or the listener itselfNo records are written to the LDAP import set table (sys_import_set) despite AD changes occurring Facts<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } span { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } h2 { font-size: 24pt; font-family: Lato; color: var(--now-color--text-primary, black); } h3 { font-size: 18pt; font-family: Lato; color: var(--now-color--text-primary, black); } h4 { font-size: 14pt; font-family: Lato; color: var(--now-color--text-primary, black); } a { font-size: 12pt; font-family: Lato; color: var(--now-color--link-primary, #00718F); } a:hover { font-size: 12pt; color: var(--now-color--link-primary, #024F69); } a:target { font-size: 12pt; color: var(--now-color--link-primary, #032D42); } a:visited { font-size: 12pt; color: var(--now-color--link-primary, #00718f); } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } Affects all currently supported ServiceNow releasesLDAP Listener must be enabled on the LDAP Server recordIssue occurs in both direct (non-MID Server) and MID Server-routed LDAP configurationsObserved most frequently in high-volume AD environments with frequent user attribute changesScheduled LDAP imports (non-listener) continue to function normally in affected configurations Release<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } span { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } h2 { font-size: 24pt; font-family: Lato; color: var(--now-color--text-primary, black); } h3 { font-size: 18pt; font-family: Lato; color: var(--now-color--text-primary, black); } h4 { font-size: 14pt; font-family: Lato; color: var(--now-color--text-primary, black); } a { font-size: 12pt; font-family: Lato; color: var(--now-color--link-primary, #00718F); } a:hover { font-size: 12pt; color: var(--now-color--link-primary, #024F69); } a:target { font-size: 12pt; color: var(--now-color--link-primary, #032D42); } a:visited { font-size: 12pt; color: var(--now-color--link-primary, #00718f); } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } All currently supported releases Cause<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } span { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } h2 { font-size: 24pt; font-family: Lato; color: var(--now-color--text-primary, black); } h3 { font-size: 18pt; font-family: Lato; color: var(--now-color--text-primary, black); } h4 { font-size: 14pt; font-family: Lato; color: var(--now-color--text-primary, black); } a { font-size: 12pt; font-family: Lato; color: var(--now-color--link-primary, #00718F); } a:hover { font-size: 12pt; color: var(--now-color--link-primary, #024F69); } a:target { font-size: 12pt; color: var(--now-color--link-primary, #032D42); } a:visited { font-size: 12pt; color: var(--now-color--link-primary, #00718f); } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } The LDAP Listener maintains a persistent connection to the AD server and monitors for changes using a persistent search or polling mechanism. In some configurations, this connection can enter an idle or stalled state without throwing an exception that would trigger an automatic restart. When this occurs, the listener process remains registered as active but no longer processes incoming change notifications from AD. Import sets that are created but remain in a Loaded state indicate the listener successfully detected a change and staged the data, but the transform worker thread responsible for processing the import set did not complete. Resolution<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } span { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } h2 { font-size: 24pt; font-family: Lato; color: var(--now-color--text-primary, black); } h3 { font-size: 18pt; font-family: Lato; color: var(--now-color--text-primary, black); } h4 { font-size: 14pt; font-family: Lato; color: var(--now-color--text-primary, black); } a { font-size: 12pt; font-family: Lato; color: var(--now-color--link-primary, #00718F); } a:hover { font-size: 12pt; color: var(--now-color--link-primary, #024F69); } a:target { font-size: 12pt; color: var(--now-color--link-primary, #032D42); } a:visited { font-size: 12pt; color: var(--now-color--link-primary, #00718f); } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } Step 1 — Confirm the listener is the source of the stuck imports Navigate to System Import Sets > Import Sets (or enter sys_import_set_list.do in your instance URL) and filter by Short description contains Import from ldap listener. If import sets are present in a Loaded state, the listener is generating records but transforms are not completing. Step 2 — Check for semaphore exhaustion Navigate to System Diagnostics > Stats and search for the semaphore list. If all slots in use with no forward progress, a stalled thread is blocking processing. Proceed to Step 3. Step 3 — Enable debug logging Enable the following system properties to capture detailed listener activity. Navigate to System Properties (sys_properties.do) and set: com.glide.ldap.debug → truecom.glide.ldap.listener.debug → true Allow the listener to run for 5–10 minutes, then review the application log (System Logs > Application Logs) for errors or repeated connection attempts without corresponding transform activity. Disable both properties after log collection to avoid performance impact. Step 4 — Restart the LDAP Listener If the listener is confirmed stalled Navigate to the affected LDAP Server record (LDAP > LDAP Servers).In the Operational Status section, click Stop Listener.Wait 30 seconds for the listener thread to fully terminate.Click Start Listener.Make a test change in AD (for example, update a user's phone number) and confirm the change appears in ServiceNow within the expected polling interval. Note: If Stop Listener does not respond or the status does not change after 60 seconds, proceed to Step 5. Step 5 — Force-stop the listener using a background script (if Step 4 fails) If the listener cannot be stopped through the UI, run the following script in System Definition > Scripts - Background to force-terminate the stalled thread: var ldapServerSysId = '<Your_ldap_server_sys_id>'; function stopLdapListener(ldap_server_sys_id) { var ldapConfig = new GlideLDAPConfig().get(ldap_server_sys_id); if (ldapConfig) { ldapConfig.stopListener(); gs.info('LDAP listener for: ' + ldapConfig.getName() + ' (' + ldap_server_sys_id + ') has been stopped.'); } else { gs.error('Could not find LDAP configuration for sys_id: ' + ldap_server_sys_id); }}stopLdapListener(ldapServerSysId); Replace <Your-ldap-server-sys_id> with the Sys_ID of the LDAP Server record. After running the script, return to the LDAP Server record and click "LDAP Listener Status" and "Start Listener". Step 6 — Clear stuck import sets If import sets remain in a Loaded state after the listener is restarted, they can be cleaned up manually: Navigate to System Import Sets > Import Sets.Filter for Short description contains Import from ldap listener and State is Loaded.Select all affected records and use the Actions menu to set the state to Ignored. Note: Setting stuck import sets to Ignored does not cause data loss. The next listener cycle or scheduled import will pick up current AD state. Related Links<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } span { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } h2 { font-size: 24pt; font-family: Lato; color: var(--now-color--text-primary, black); } h3 { font-size: 18pt; font-family: Lato; color: var(--now-color--text-primary, black); } h4 { font-size: 14pt; font-family: Lato; color: var(--now-color--text-primary, black); } a { font-size: 12pt; font-family: Lato; color: var(--now-color--link-primary, #00718F); } a:hover { font-size: 12pt; color: var(--now-color--link-primary, #024F69); } a:target { font-size: 12pt; color: var(--now-color--link-primary, #032D42); } a:visited { font-size: 12pt; color: var(--now-color--link-primary, #00718f); } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } Troubleshooting LDAP issues in ServiceNow — KB0539111Integration Semaphore (SOAP/API_INT) Exhausted on instance alert — KB0635977LDAP Listener fails to import recent changes on the LDAP server — KB0754354LDAP Listener delays several minutes before import set is created — KB0794219LDAP listener is terminated and not restarted when there is an unknown exception — KB0758342LDAP integration — Product Documentation