Connectors

Enable and Disable Active Directory Users

Data Sync makes it very easy to set users as enabled or disabled in Active Directory.

You may be given a list of users that need to be either enabled or disabled in AD, this list might be in SharePoint, it might come from your HR system or it might be a document.

This needs to have a field with true or false values to say if the account is enabled or disabled.

Sample Data

To enable and disable users in AD using Data Sync you need to connect to this list as your source, and connect to your Active Directory OU where your users are located as your target. Make sure to use the Active Directory V2 - Users/Contact/Groups/Computers connector.

Warning: Testing is a great way to make sure you know what is happening.

Please try this on test data before trying on your production OU. You do not want to disable all accounts by mistake!

Then simply map your source columns to their corresponding target columns. You need to map your disabled/enabled column to DS-UAC-Disabled, where True will disable the account and False will enable the account.

DS- columns are Data Sync attribute columns that handle the addition of that field for each user. In previous versions you would have needed to write Project Automation code to update the password field. Now Data Sync does it for you.

Your schema map might look similar to:

Schema Mapping