How do I find the Distinguished Name (DN) of an Organizational Unit (OU)?

Short answer:
You can find the Distinguished Name (DN) of an OU in Active Directory Users and Computers by enabling Advanced Features and copying the distinguishedName attribute from the OU properties.

Steps to find the DN of an OU

  1. Open Active Directory Users and Computers
  2. Click View → enable Advanced Features

    Enable advanced features in AD
  3. Navigate to the Organizational Unit (OU) you want to use
  4. Right-click the OU and select Properties

    OU properties
  5. Go to the Attribute Editor tab
  6. Locate distinguishedName
  7. Click View, then copy the value
  8. Close the windows

    Copy distinguishedName value

Example of a Distinguished Name (DN)

OU=Users,OU=Company_1OU,DC=Company_1,DC=internal

When do I need the DN?

  • When syncing users from Active Directory into Xink
  • When defining which Organizational Unit (OU) to import employees from

Common issues

I don’t see the “Attribute Editor” tab
Make sure Advanced Features is enabled in the View menu.

The DN value looks incorrect
Ensure you selected the correct OU (not a user or group).

Related articles

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.
Quick 1-on-1 Demo | Ⓒ 2026 Xink