AD Account aggregation issue

The latest account aggregation task for the application ran on September 6, 2026. The task reached the configured LDAP read timeout of 900,000 milliseconds, equivalent to 15 minutes. Before the timeout occurred, SailPoint successfully scanned approximately 397,784 accounts. The task then failed with an exception indicating that SailPoint could not continue reading LDAP results:

Exception in reading changes ... LDAP response read time

Hi @ChowdhurySouhardya - Does the Application Test Connection work or time out?
Have you tried running the aggregation again? Do you get the same results?

If this is a delta aggregation, it is possible the DC you connected to failed to process a large number of changes.

This is a full aggregation task. It was timed out

The LDAP connector supports the Partitioning Aggregation feature to enable faster retrieval of LDAP Directory data.

The AD connector also supports the Partitioning Aggregation feature to enable faster retrieval of ADDirectory data.

@ChowdhurySouhardya - Fix: Partitioning Aggregation

Simplest option - Auto Partitioning (available since 8.0p5 / 8.1p4 / 8.2):

  • Go to Configuration > Settings > Account and ensure ‘Allow Auto Partitioning’ is checked. IdentityIQ takes care of the split automatically, with no need to manually define searchDNs configuration.

Manual option, if you want to explicitly define your directory split:

  • Define a list of searchDNs partition on the Application config. There are two options for splitting:

Container based (different OUs, same filter):

<entry key="searchDNs">
  <value>
    <List>
      <Map>
        <entry key="searchDN" value="ou=test1,DC=test,DC=sailpoint,DC=com"/>
        <entry key="iterateSearchFilter" value="(&(objectclass=user))"/>
        <entry key="searchScope" value="SUBTREE"/>
      </Map>
      <Map>
        <entry key="searchDN" value="ou=test2,DC=test,DC=sailpoint,DC=com"/>
        <entry key="iterateSearchFilter" value="(&(objectclass=user))"/>
        <entry key="searchScope" value="SUBTREE"/>
      </Map>
    </List>
  </value>
</entry>

Filter-based (same base DN, split by attribute range (surname first letter) – reasonable way to split ~ 400K accounts into even pieces):

<entry key="searchDN" value="DC=test,DC=sailpoint,DC=com"/>
<entry key="iterateSearchFilter" value="(&(objectclass=user)(sn=a*))"/>

For more details refer: Partitioning Aggregation

Can you increase the timeout? That may be the easiest solution.

Be cautious with the AD auto-provisioning. When I tried it, it was partitioning on an attribute that is not normally indexed. The load on the domain controller was horrible.
That was a while ago and it may not be an issue now.

@ChowdhurySouhardya -

Increasing the timeout and partitioning aren’t really alternatives here, they solve the same problem from different angles, worth doing both rather than picking one.

The setting @paul_hilchey is pointing at is com.sun.jndi.ldap.read.timeout, set as an Additional JNDI Property on the AD application (JNDI Configuration doc, which shows it at 120000 ms in its own example, well under the 900000 you’re already running). Raising it further buys more headroom per read, but on a directory around 400K accounts a single serial iterate can outrun almost any timeout you’re willing to set. That’s what partitioning actually fixes: it splits the search into N smaller iterate calls running in parallel, so each individual call has a much shorter slice of the directory to read and is far less likely to hit the wall regardless of what the timeout’s set to. Treat the timeout increase as headroom for whatever partition size you land on, not a substitute for partitioning.

On caution about Auto Partitioning landing on an unindexed attribute: can’t confirm or rule that out from the Partitioning Aggregation doc, it documents that the feature exists (Configuration > Settings > Account > Allow Auto Partitioning, available from 8.0p5 / 8.1p4 / 8.2 onward) but not which attribute it picks internally. If that’s a live concern, the manual approaches already posted sidestep it entirely, since you choose the attribute yourself. sAMAccountName, cn, and sn are all indexed by default per Microsoft’s own AD schema documentation, so filter-based partitioning on any of those doesn’t carry whatever risk @paul_hilchey ran into.

Two more things worth checking while you’re in there. The AD connector has separate aggregationMaxRetries (default 5) and aggregationRetryThreshold (default 10 seconds) settings for retry-able aggregation failures, per the additional configuration parameters doc.

Whether this aggregation succeeded before Sep 6?

@ChowdhurySouhardya Please confirm few this:

  1. Did the task ever run succesfully? If yes, what was the average time taken and total accounts aggregated/
  2. Are you connected to domain controller directly or you have a LB in between?
  3. Have you already delta aggregation and partitioning? What are your findings.

Please share you application xml for review as well.