Azure AD Sync Connect issue with permission error 8344

Jesse Sanchez 131 Reputation points
2020-10-01T21:01:11.907+00:00

Hello,

We currently installed Azure AD Sync connect and everything seems to be synching well except for a 8344 "Insufficient access rights to perform the operation". We did a custom install where it only syncs a specific OU / group.

-We are doing only PW Hash Synchronization
-Users are getting their pws synced for the few that we are doing, pw changes, take effect too,
-During AD Forest account we selected create a new ad account
-We used users are represented only once across all directories
-Let azure manage the source anchor was selected

Again all the passwords are synching good but when I open Synchronization service manager I get the above error. When I click on the user error I see it has a change under "ms-ds-consistencyGuid" which I believe is the change it is having issue writing back to our active directory. Is there an easy way to fix this?

EDIT:
Finally it is fixed! After I started checking the security permissions for the root domain I noticed the OU for our users didn't have the security permissions for the MSOL service account at all.

The users OU had inheritance disabled. After I enabled inheritance for that particular OU, the permissions instantly appeared for the service account and the problem was fixed.

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,475 questions
0 comments No comments
{count} vote

Accepted answer
  1. Andy David - MVP 141.6K Reputation points MVP
    2020-10-05T14:34:16.447+00:00

    Did you also give the AADConnect account:

    Replicate Directory Changes
    Replicate Directory Changes All

    at the root for the Password Hash Sync requirement?

    If you add the account to Domain Admins as a test, I assume it works yes?

    0 comments No comments

11 additional answers

Sort by: Most helpful
  1. Jesse Sanchez 131 Reputation points
    2020-10-02T21:49:48.803+00:00

    I did the command and unfortunately still having the permission issue. I'm not sure what else to try.


  2. Jesse Sanchez 131 Reputation points
    2020-10-05T14:17:44.81+00:00

    Yes I can see the security permissions it has on the forest.
    I was also able to add the write permission using powershell successfully but still having the permission issue.
    -I also reset the MSOL_ pw and reinstalled the client to match the new pw.
    -The Microsoft Azure AD Sync service was changed to logon as the MSOL_ service account
    -Added the MSOL_ account locally to administrators group and ADSyncAdmins where AD connect is installed.
    -Temporarily turned off windows firewall to test
    After all those changes I still keep getting the permission issue when its trying to export back to our AD and add the ms-ds-consistencyguid attribute.

    30202-msol-permission.png

    0 comments No comments

  3. Jesse Sanchez 131 Reputation points
    2020-10-05T14:39:48.927+00:00

    Yes that account has Replicate directory changes and replicate directory changes all. I don't understand the part about "At the root of Password Hash Sync requirement"?

    Yes if I add the service account to domain admin it will clear the permission errors.