Active Directory/LDAP error: Unable to search in dc=example,dc=domain,dc=com (Size limit exceeded)
When importing users from Active Directory, the import fails and returns the following error:
(8503:4) Active Directory/LDAPLightweight Directory Access Protocol - A protocol that enables users to access centrally managed contacts. error: Unable to search in dc=example,dc=domain,dc=com (Size limit exceeded)
By default, Active Directory does not respond to LDAP based queries which return more than 1000 results. If you have more than 1000 users configured in Active Directory, it is necessary to increase the maximum page size (MaxPageSize) using the Ntdsutil.exe tool.