[AD Connect] Event 611, RPC Error 8453 Replication. Access denied in Azure AD Sync Services
Scenario This error recently arose with a client. It is quite a particular and specific scenario; let me tell you about it: It is a very small client (14 users). This client has no IT staff. It has only one server with ADDS installed. Besid
AI-assisted translation, approved by Mateo.

Scenario
This error recently arose with a client. It is quite a particular and specific scenario; let me tell you about it:
- It is a very small client (14 users).
- This client has no IT staff.
- It has only one server with ADDS installed.
- Besides being the only Domain Controller for the Domain and the only server, it has the File Server and ADCS roles installed, among others. A real nightmare HAHA

Our client asked us to configure Identity synchronization with Azure AD through AAD Connect. Since no additional hardware was available (because the only available hardware was dedicated to an SPMT server), and considering that it is not a recommended practice but is supported, it was decided to install AD Connect on the Domain Controller.
After installing AD Connect and without enabling synchronization, we proceeded to plan the Match strategy: soft match was performed through UPN.
Problem description:
Later, we enabled synchronization and started with 1) synchronization of test users and 2) sync of a pilot user. At the first point, we encountered a problem: PHS was not working (passwords were not being replicated from ADDS to Azure AD), and we found the following error:

Resolution
According to official MS documentation and different community blog posts, these are the steps to solve this error:
- Update AD Connect to the latest version. We can do this by downloading the version Here.
- In our case, we had downloaded the latest version.
- Verify AD Connect Account permissions:
- AD Connect TroubleShooter: through this AD Connect built-in tool, we can verify PHS health.
- Verify the permissions through ADUC: we must go to the root domain, right-click > Properties > Security. Here we must verify that the AD Connect account has the following permissions:

Replicating Directory Changes and Replicating Directory Changes All [Allow].
3. Verify Legacy Objects in AD.
- .
- I know it may seem like having legacy objects in AD has little to do with replication through Azure AD Connect, but it does.
- In our case, there was metadata for an NTDS Settings object in the Sites and Services console.
- After deleting this object from an already deprecated Domain Controller, 5-10 minutes passed and PHS replication began working correctly.
An important lesson from resolving this issue is:
- Always remediate AD: It is very important for AD to be healthy when making important changes or manipulations, because this can affect our subsequent tasks. It is necessary to consider replication, DC health, and metadata/legacy object cleanup as some high-level points to review.
Thanks for reading. The learning continues in the next article.


