Try adding the setting PageSize=”1000″ to your query parameters. For example:
<ActiveDirectoryQuery><Directives WhereToBind=”LDAP://CN=Users, DC=test, DC=com” Filter=”(objectCategory=user)” SearchScope=”onelevel” PropertiesToReturn=”cn” PageSize=”1000″/></ActiveDirectoryQuery>
By default Active Directory only allows for a single page of 1000 results. By explicitly setting this value multiple pages (and hence all results) are returned.