-
-
Notifications
You must be signed in to change notification settings - Fork 10
Configuring Unix Attribute Synchronization with Azure Entra ID Using Microsoft Entra Connect Sync
David Mulder edited this page Feb 5, 2025
·
6 revisions
This guide explains how to configure Microsoft Entra Connect Sync to synchronize Unix attributes (uidNumber
, gidNumber
, loginShell
, unixHomeDirectory
, etc.) from an on-premises Active Directory to an existing Azure Entra ID instance. This is essential for Linux authentication solutions like Himmelblau that rely on Unix attributes stored in AD.
This guide assumes that Microsoft Entra Connect is already installed and configured. If not, follow the instructions in this wiki to configure Microsoft Entra Connect.
- A Windows Server with Active Directory Domain Services (AD DS) installed and configured.
- A configured Active Directory domain with Unix attributes (
uidNumber
,gidNumber
,unixHomeDirectory
,loginShell
, etc.) assigned to users and groups. - An Azure Entra ID tenant.
- Microsoft Entra Connect Sync installed on a domain-joined Windows Server.
- Launch Microsoft Entra Connect Sync from the Start Menu.
- Click "Configure" to begin.
- Select "Customize synchronization options" and click Next.
- Enter your Azure Entra ID administrator credentials (Global Admin or Hybrid Identity Admin).
- Sign in when prompted.
- Verify that the on-premises Active Directory domain (forest) is connected.
- Click Next.
- Choose whether to sync all domains and OUs or only specific OUs.
- Click Next.
- Ensure "Directory extension attribute sync" is checked.
- Click Next.
- In the Directory Extensions step, select the following attributes:
uidNumber
(user)-
gidNumber
(user) (the user's primary group attribute) gidNumber
(group)loginShell
(user)unixHomeDirectory
(user)-
gecos
(user) (optional, for additional Unix user details)
- Click Next.
- Click Next to save and apply the synchronization settings.
- Wait for the configuration to complete.
- Once the setup is completed, you’ll see a confirmation message.
- Click Exit.
After the setup:
- Open the Microsoft Entra Admin Center (https://entra.microsoft.com/).
- Go to Hybrid Management → Microsoft Entra Connect.
- Check the sync status and ensure that users have their Unix attributes synchronized.