Find Distinguished Name (DN) of OU in Active Directory

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 value from the OU properties.

Summary: The Distinguished Name (DN) identifies the exact location of an Organizational Unit (OU) in Active Directory. This is commonly required when configuring directory sync with Xink.

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 you need the DN?

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

Troubleshooting

  • Missing "Attribute Editor" tab: Enable Advanced Features in the View menu.
  • DN looks incorrect: Make sure you selected an 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