This article describes how to troubleshoot a password writeback error that occurs when Microsoft Entra Connect tries to make a password change or reset in an insecure configuration. This situation occurs specifically when Microsoft Entra Connect tries to do a password change or reset without having a 128-bit Transport Layer Security (TLS) or Secure Sockets Layer (SSL) connection.
Symptoms
When a user or administrator tries to change or reset a password in Microsoft Entra ID, password writeback to the on-premises directory fails and returns an "8023062C (0x8023062c)" error code and the following error message:
The password could not be set because the server is not configured for insecure setting of passwords, or a 128 bit TLS or SSL connection is required.
Cause
Microsoft Entra Connect has been configured not to require that Lightweight Directory Access Protocol (LDAP) traffic be signed and encrypted.
Solution
Make sure that the Sign and Encrypt LDAP Traffic setting is enabled in three places within Synchronization Service Manager by following these steps:
-
Open the Synchronization Service Manager. To do this, open the Start menu, go to the Microsoft Entra Connect group, and then select Synchronization Service.
-
Select the Connectors tab, and then select the applicable Active Directory connector. In the Actions pane, select Properties.
-
On the left side of the Properties dialog box, select Connect to Active Directory Forest, and then select the Options button. In the Connection Options dialog box, turn on Sign and Encrypt LDAP Traffic, and then select OK.
-
On the left side of the Properties dialog box, select Configure Directory Partitions. Then, in the Configure Directory Partitions pane, select a directory partition from the list.
-
In the Domain controller connection settings group, select the Options button. In the Connection Options dialog box, turn on Sign and Encrypt LDAP Traffic, and then select OK.
-
In the Credentials group, check whether the Alternate credentials for this directory partition option is selected. If that option isn't selected, go to step 8. Otherwise, select the Set Credentials button, and then select Options in the Credentials dialog box.
-
In the Connection Options dialog box, turn on Sign and Encrypt LDAP Traffic, and then select OK two times to return to the Properties dialog box.
-
Select OK to save the changes and return to Synchronization Service Manager.
-
Select Start, enter services.msc, and then select the Services snap-in. Select Microsoft Azure AD Sync from the list of services, and then select the Restart Service icon.
Source: Microsoft Learn / IT Pro troubleshooting by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.
