DirWiz Logo

Article Tags

Can I Sync just part of the directory?

2017-05-22 14:19:25
Exclusions Features UnitySync 

Yes! There are many ways to narrow your Source data selection either for testing or as an ongoing part of your Sync.

You can specify one specific object, identify one or more separate OU’s, designate where in the directory tree you want to start pulling data, or you can exclude specific parts of the directory. These options are useful during initial testing when you want to sync only a small subset, or in a Production sync to control exactly what containers to pull from the Source.

Optional - Source Context

The Optional - Source Context parameter should be set with complete LDAP syntax to identify the Source container(s) to pull.

For example, to read objects from a single OU (and its child OU’s):

ou=Container Name,dc=domain,dc=com

You may specify multiple containers by separating them with a pipe | symbol:

ou=Container Name,dc=domain,dc=com|ou=Another Container,dc=domain,dc=com

Be careful when employing an Optional - Source Context after performing a full sync that does NOT employ an Optional - Source Context. If you previously synced the entire source without defining a source context and then you then add one to reduce the source data to pull, any objects outside the specified Source Context selection will be deleted from the Destination.


You may exclude specific objects based on several parameters. For instance, if you want to sync an entire directory except for a single OU, you can utilize an Exclude rule to easily remove that OU from the scope of the Source Discovery.

Exclude rules are entered on the Custom tab via the Exclude button. Some example rules are to exclude:

  • By OU

  • A specific single object
    dn:cn=John Smith,ou=Recipients,dc=domain,dc=com

  • All email addresses with a specific domain

  • All objects with a specific value in a specific attribute

Please see the Administrator’s Guide Appendix for more information on Exclusions.

Testing with a Single Object

If you only want to Sync a single user for testing purposes, please see these instructions.

Of course, if you would like assistance with any of these options, contact Technical Support.

Share this article: Twitter reddit