You have a SharePoint 2010/2013 environment with User profile Service application configured for FIM Synchronization . You create an AD connection to sync Users from AD . When you try to enumerate the users from an organizational unit (OU), We see only first 1000 items displayed in the view .
It can be a huge problem if a customer want to exclude some OU ?users from the import where they have more than 1000 objects. It can happen that they cannot deselect the OU that they don’t want to import obviously because it is not listed.
Captured network traffic to see what is happening in the background , while a LDAP request that is sent to the DC, it seems that the limitation with the fixed sizeLimit attribute which is explicitly set to 1000.
scope: singleLevel (1)
derefAliases: neverDerefAliases (0)
filter: present (7)
attributes: 0 items
We have few workarounds that will address this requirement.
1. Put all the users you want to import into SharePoint into their own OU and configure the synchronization connection to pull data from just that OU(s).
2. Populate an unused attribute on the users you wish to import and create a connection filter based on that attribute.