Hi @Rawee , to sync only passwords for specific users in an OU using Azure AD Connect, you can set up selective password hash synchronization. Here's a summary of the steps you need to follow:
-
- Disable the synchronization scheduler by running the following PowerShell command:
Set-ADSyncScheduler -SyncCycleEnabled $false
- Disable the synchronization scheduler by running the following PowerShell command:
- Create custom synchronization rules using the Synchronization Rules Editor:
- Create a rule to disable password hash sync for users with the
adminDescription
attribute set toPHSFiltered
. - Create another rule to enable password hash sync for users with the
adminDescription
attribute set toPHSIncluded
.
- Create a rule to disable password hash sync for users with the
- Re-enable the synchronization scheduler by running the following PowerShell command:
Set-ADSyncScheduler -SyncCycleEnabled $true
- Edit the
adminDescription
attribute for the users you want to include or exclude from password hash synchronization in Active Directory:
- For users to be included, set the
adminDescription
attribute toPHSIncluded
. - For users to be excluded, set the
adminDescription
attribute toPHSFiltered
. For a detailed step-by-step guide, please refer to the Selective Password Hash Synchronization for Azure AD Connect documentation. Please let me know if you have any questions and I can help you further. If this answer helped you please mark it as "Verified" so other users can reference it. Thank you, James