How to Move Active Directory Objects with Ease

19 September 2016
Chen Huang

It is not uncommon that you run into the requirement that you have to move Active Directory objects from one container to another. This can be easily done using the "Active Directory Users and Computers" program that is available on the domain controllers. However, this wasn't something that could be easily done in data integration projects as our SSIS Integration Toolkit for Directory Services software (the only SSIS-based integration solution available on market for mass active directory operations) did not come with such capabilities in our previous releases.

This requirement was recently brought up by one of our clients who had some great success using our Directory Services product in the past. We assessed the requirement and believed it to be a perfectly valid integration scenario that our software could help with, so our development team put in the effort within a very short period of time, and the feature was added to the v2.3 release of our SSIS Integration Toolkit for Directory Services.

In this blog post, I will show you how to use this feature to move users, computers, groups, and service accounts to a new container path.

To use the feature, you would add an Active Directory destination component to your SSIS data flow which receives input data from upstream SSIS pipeline components. You would set the component's Action Type to Move which helps facilitate the move of Active Directory objects. Then you would move to the Columns page to configure the input mapping.

As you can see, there are three fields available for the Move action, which are:

  • AdsPath - this would be the path of the Active Directory object that you want to move
  • NewParentPath - this would be the new parent path that the Active Directory object should reside in after the move
  • NewObjectName - this field is optional, it is only required if you want to rename the object.

The Move action can be used in one of the following three integration scenarios.

  1. Move an Active Directory object to a new parent path - in this case, you would provide an input for the AdsPath and NewParentPath fields but leave the NewObjectName empty (or unmapped).
  2. Move an Active Directory object to a new parent path and at the same time rename the object - in this case, you would provide an input for all three fields (AdsPath, NewParentPath, NewObjectName), where the NewParentPath is different from where the object currently resides
  3. Rename an Active Directory object fields - in this case, you would provide an input for all three fields (AdsPath, NewParentPath, NewObjectName), where the NewParentPath is the same parent path that is where the object currently resides

The supported format for the input values are:

AdsPath LDAP://CN=ObjectToBeMoved,OU=ParentContainer,DC=domain,DC=com
NewParentPath LDAP://OU=NewParentContainer,DC=domain,DC=com
NewObjectName CN=NewObjectName

Please note that the path attribute can be serverless or not, the above examples show the serverless format. The format would be “LDAP://server/CN=ObjectToBeMoved,OU=ParentContainer,DC=domain,DC=com” If you’d like to add the server part in your input path values.

Hope this helps. Please feel free to let us know if you have any further comments or suggestions. We would like to hear from you about your success using our integration software, and our development team is always open to the option of adding new integration features in our software to make your job easier.

Archive

October 2024 1 September 2024 1 August 2024 2 July 2024 1 June 2024 1 May 2024 1 April 2024 2 March 2024 2 February 2024 2 January 2024 2 December 2023 1 November 2023 1 October 2023 2 August 2023 1 July 2023 2 June 2023 1 May 2023 2 April 2023 1 March 2023 1 February 2023 1 January 2023 2 December 2022 1 November 2022 2 October 2022 2 September 2022 2 August 2022 2 July 2022 3 June 2022 2 May 2022 2 April 2022 3 March 2022 2 February 2022 1 January 2022 2 December 2021 1 October 2021 1 September 2021 2 August 2021 2 July 2021 2 June 2021 1 May 2021 1 April 2021 2 March 2021 2 February 2021 2 January 2021 2 December 2020 2 November 2020 4 October 2020 1 September 2020 3 August 2020 2 July 2020 1 June 2020 2 May 2020 1 April 2020 1 March 2020 1 February 2020 1 January 2020 1 December 2019 1 November 2019 1 October 2019 1 May 2019 1 February 2019 1 December 2018 2 November 2018 1 October 2018 4 September 2018 1 August 2018 1 July 2018 1 June 2018 3 April 2018 3 March 2018 3 February 2018 3 January 2018 2 December 2017 1 April 2017 1 March 2017 7 December 2016 1 November 2016 2 October 2016 1 September 2016 4 August 2016 1 June 2016 1 May 2016 3 April 2016 1 August 2015 1 April 2015 10 August 2014 1 July 2014 1 June 2014 2 May 2014 2 February 2014 1 January 2014 2 October 2013 1 September 2013 2 August 2013 2 June 2013 5 May 2013 2 March 2013 1 February 2013 1 January 2013 1 December 2012 2 November 2012 2 September 2012 2 July 2012 1 May 2012 3 April 2012 2 March 2012 2 January 2012 1

Tags