Search Engine: Elastic

Article ID: 3958, created on Feb 19, 2008, last review on May 11, 2014

  • Applies to:
  • Operations Automation


POA task 'Self diagnostic and repair of service' or any other Active Directory related task fails with error 'The size limit for this request was exceeded'.


The attribute MaxPageSize in Active Directory is set to too low value, but POA schedules some heavy operation on the AD which returns more data than allowed. This issue could arise after a major upgrade or any other bulk changes in the infrastructure.


To resolve this issue one may temporarily increase the attribute MaxPageSize in AD and resubmit the task, then restore old value of the parameter. To do this, follow the steps below:

1. Start the utility ntdsutil.exe (Start > Run > ntdsutil)
2. At the ntdsutil.exe command prompt, type:
LDAP policies
    Connect to server <>
    Show values

where <> is the FQDN of a Preferred Domain Controller.

Current values will be displayed, for example:
ldap policy: show values

Policy                          Current(New)

MaxPoolThreads                  4
MaxDatagramRecv                 4096
MaxReceiveBuffer                10485760
InitRecvTimeout                 120
MaxConnections                  5000
MaxConnIdleTime                 900
MaxPageSize                     1000
MaxQueryDuration                120
MaxTempTableSize                10000
MaxResultSetSize                262144
MaxNotificationPerConn          5
MaxValRange                     1500

Remember the current value for MaxPageSize to use on the last step as <old_value>

3. To update MaxPageSize, type:
    Set MaxPageSize to 10000
    Commit Changes

4. Go to POA > Top > System Director > Task Manager > Background Tasks and resubmit failed task, wait until it is processed.

5. Repeat steps 1 to 3 and restore MaxPageSize to <old_value> (use "Set MaxPageSize to <old_value>" instead of "Set MaxPageSize to 10000")


Default value of MaxPageSize is 1000 and it is recommended by Microsoft, see for details.

5356b422f65bdad1c3e9edca5d74a1ae 8fc71f07abe5b233fea1ae0377cd5e3d

Email subscription for changes to this article
Save as PDF