move_organizational_unit
Relocates an Active Directory organizational unit to a new parent while preserving its contents and hierarchy relationships.
Instructions
Move an OU to a new parent.
Relocates OU within domain hierarchy while preserving contents.
Example:
move_organizational_unit(ou_dn="OU=Sales,OU=Old,DC=company,DC=com", new_parent_dn="OU=Departments,DC=company,DC=com")
Maintains OU relationships during move.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ou_dn | Yes | OU distinguished name to move | |
| new_parent_dn | Yes | New parent OU distinguished name |