I have problem in which I cannot sync passwords to O365, it looks like there is an issue with LDAP connection for my domain but not sure where to go from here. (screenshot attached)

Troubleshooting steps taken:​

5 Spice ups

these steps will fix

https://www.matthiashuebner.com/index.php/2020/10/12/aad-connect-password-hash-synchronisation-failed/

As I mentioned in my post, those steps do NOT fix. But thank you for trying. Any other help would be kindly accepted. :slight_smile:

The link I sent you has steps to

Solution

Open the Active Directory Users and Computers MMC.
Right-click on the domain root level and select Properties

Switch to the security tab and look for the user, which is used for Azure AD Connect replication. In my case, the user begins with MSOL_.

The user should have the “Replicating Directory Changes” and the “Replicating Directory Changes All” permissions.

→ then try force AAD sync.

we cannot see any of your links what you have tried it says 404 not found, why did you mark it as an unhelpful answer, if you have tried everything reach MS support,

The permissions are correct, I did check them. I have tried force sync.

I marked it unhelpful because I said all that in my original post.

I have contacted MS support and spoken to 2 technicians and they are struggling to solve the problem. The problem has now been escalated to Azure support at a higher level but still no solution. I was hoping someone here might have had this issue and can help solve it.

Thanks

Hi @itbestuur

We just had this same issue, I think. Does the Event Viewer on the AD Connect server showing anything like:
" Password hash synchronization failed for domain: *****.org, domain controller hostname: , domain controller IP address: . Details:
Microsoft.Online.PasswordSynchronization.SynchronizationManagerException: Unable to open connection to domain: *****.org."

IF it is, the new AD Connect Microsoft Entra Connect: Version release history - Microsoft Entra ID | Microsoft Learn 2.0.10.0 will fix that issue. I apologize if this is not the issue. I have a post up about this, too.

I hope this helps!

Since JitenSH recommendation didn’t work, did you try Danuin’s?
Also, if those still didn’t work… gotta ask, did you read the log event error?

Found this article about DC might not be configured right (not sure how many DC’s you have)…
“…The issue might be specific to a single domain controller, and pointing AADC to alternate DCs will let us test this out.”
IF that’s the case, maybe try looking at this article, Password hash synchronization agent is continuously getting RPC error from domain "" - Microsoft Q&A

Best of luck

@jitensh @danuin

Found this little tid-bit too…
“…I had to make sure the AD Sync user used was being synced with Azure AD also. It has to be in the correct OU.”
from [Azure AD Connect] Probelm hash sync password

Thank you Danuin! This worked. I did an in place upgrade to you version 2.0.10 and it worked!

What is weird is I downloaded my version 3 or 4 times this week from the official MS website, WITH the techs from MS assistance! Yet it was Version 2.0.9 up until I tried your download! Thank you.

So just to let everyone know, there was nothing wrong with any of the settings or passwords or accounts…it was Microsoft…

1 Spice up

@itbestuur ​ - AWESOME! So glad I could help with this one.