Learning and Sharing
  • Home
  • Blog
  • Linux
  • macOS
  • Virtualization
    • VMware
    • VirtualBox
  • Windows
    • Windows 11
    • Windows 10
    • Windows Server
  • Series
    • Symantec
    • Intune
    • Microsoft Azure
    • Powershell
    • VirtualBox
    • VMware
    • PowerShell Learning
    • Microsoft Graph
  • More
    • Auto Installation
    • AEC Installation
  • Contact
No Result
View All Result
  • Home
  • Blog
  • Linux
  • macOS
  • Virtualization
    • VMware
    • VirtualBox
  • Windows
    • Windows 11
    • Windows 10
    • Windows Server
  • Series
    • Symantec
    • Intune
    • Microsoft Azure
    • Powershell
    • VirtualBox
    • VMware
    • PowerShell Learning
    • Microsoft Graph
  • More
    • Auto Installation
    • AEC Installation
  • Contact
No Result
View All Result
No Result
View All Result

How to Fix Entra ID Connect Issue Error 8344, Insufficient Access Rights to Perform the Operation

August 19, 2024
in A, Blog, Entra ID, Entra ID Connect
1
ADVERTISEMENT

Table of Contents

Entra ID Connect Error 8344

With Entra ID Replication, you may notice that you have the following error when you take a look at your connector status:

  • Error: permission-issue
  • Connected data source error code: 8344
  • Connected data source error: Insufficient access rights to perform this operation.
Bg849

Solution 1: Grant permission for the service account

1. Firstly ensure that the user you are running AAD sync under, has the following permissions on the root of your local AD domain. Minimum permission required for the service account are:

  • Replicate directory changes
  • Replicate directory changes all
  • Write permission , for attribute ms-ds-consistencyguid

2. Open ADUC then enable Advanced Features view.

Bg850

3. Right click on the root of your local domain then select Properties.

Bg851
4. Select the Security tab then click button to add the service account.
Bg852

5. Add required permissions for the service account Replicate directory changes and Replicate directory changes all.

Bg853

6. Add write permission for attribute ms-ds-consistencyguid for the service account.

Note Note: Run these commands in a domain controller if you do not install Entra ID Connect in a domain controller.
 $accountName = "DOMAINNAME\USERNAME" 
 $ForestDN = "DC=DOMAINNAME,DC=com"
 $cmd = "dsacls '$ForestDN' /I:S /G '`"$accountName`":WP;ms-ds-consistencyGuid;user'"
 Invoke-Expression $cmd

Result in my test environment:

PS C:\Users\Administrator>  $accountName = "bonguides\aad.onprem"
PS C:\Users\Administrator>  $ForestDN = "DC=bonguides,DC=local"
PS C:\Users\Administrator>  $cmd = "dsacls '$ForestDN' /I:S /G '`"$accountName`":WP;ms-ds-consistencyGuid;user'"
PS C:\Users\Administrator>  Invoke-Expression $cmd
Owner: BUILTIN\Administrators
Group: BUILTIN\Administrators

Access list:
Deny  Everyone                        SPECIAL ACCESS
                                      DELETE CHILD
Allow BONGUIDES\aad.onprem            SPECIAL ACCESS
                                      READ PERMISSONS
                                      LIST CONTENTS
                                      READ PROPERTY
Permissions inherited to subobjects are:
Inherited to all subobjects
Allow BUILTIN\Administrators          SPECIAL ACCESS
                                      DELETE
                                      READ PERMISSONS
                                      WRITE PERMISSIONS
--------------------------------------------------------
                                      READ PROPERTY
Allow NT AUTHORITY\SELF               SPECIAL ACCESS for msTPM-TpmInformationForComputer
                                      WRITE PROPERTY
The command completed successfully
PS C:\Users\Administrator>

7. Now, run the connector to verify it works and see data updated into Metaverse.

Bg854

Solution 2: Enable inheritance for users

After that the sync would start to run and I notice that are still some accounts giving “permission issue” error. So the next dependency was looking into the “inheritance” function, was it disable or not. 

I was able to identify that the particular OU have its inheritance enabled but on the single user object inside that OU, its inheritance was disabled.

Bg856

Let enable inheritance for the user then run connector again.

Bg855

Solution 3:

In some cases, even the user is enabled inheritance and the permissions of the service account are configured correctly. Some users still cannot sync with permission issue.

Most times, this isn’t sufficient, you will have to add the service account as a member of the Administrator’s group in Active Directory.

Bg857

Re-run the connector, and all users should be update to Metaverse then sync to Entra ID without any problems.

Bg858
ADVERTISEMENT

Not a reader? Watch this related video tutorial:

5/5 - (6 votes)
Previous Post

How to Increase MDaemon WorldClient Attachment Size

Next Post

How to Disable Maps Broker – Downloaded Maps Manager Service on Server

Related Posts

Images Hidden Due To Mature Content Settings In CivitAI

August 31, 2024

Azure OpenAI vs Azure AI Hub, How to Choose the Right One for Your Needs

August 20, 2024

Running Hyper-V and VMware Workstation on The Same Machine

August 15, 2024

How to Uninstall All Autodesk Products At Once Silently

July 29, 2024
Ftr5

How to Uninstall the Autodesk Genuine Service on Windows

July 29, 2024

How to Remove The Test Mode Watermark Without Disabling Test Mode

July 28, 2024

Comments 1

  1. Michael Pietrzak says:
    1 year ago

    Thanks! THis helped tremendously!

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Recent Posts

  • How To Turn On uBlock Origin Extension in Chrome (2025)
  • Images Hidden Due To Mature Content Settings In CivitAI
  • Azure OpenAI vs Azure AI Hub, How to Choose the Right One for Your Needs

Categories

Stay in Touch

Discord Server

Join the Discord server with the site members for all questions and discussions.

Telegram Community

Jump in Telegram server. Ask questions and discuss everything with the site members.

Youtube Channel

Watch more videos, learning and sharing with Leo ❤❤❤. Sharing to be better.

Newsletter

Join the movement and receive our weekly Tech related newsletter. It’s Free.

General

Microsoft Windows

Microsoft Office

VMware

VirtualBox

Technology

PowerShell

Microsoft 365

Microsoft Teams

Email Servers

Copyright 2025 © All rights Reserved. Design by Leo with ❤

No Result
View All Result
  • Home
  • Linux
  • Intune
  • macOS
  • VMware
  • VirtualBox
  • Powershell
  • Windows 10
  • Windows 11
  • Microsoft 365
  • Microsoft Azure
  • Microsoft Office
  • Active Directory

No Result
View All Result
  • Home
  • Linux
  • Intune
  • macOS
  • VMware
  • VirtualBox
  • Powershell
  • Windows 10
  • Windows 11
  • Microsoft 365
  • Microsoft Azure
  • Microsoft Office
  • Active Directory