T The Triage ManualTechnical Guides for IT Emergencies
P3 · Microsoft 365 & Collaboration

Azure AD Connect Export Error 8344: Insufficient Access Rights on AD Connector Account

During Azure AD Connect synchronization, export operations fail with error code 8344 ('Insufficient access rights to perform the operation') when the AD DS connector account (MSOL_ or ADSync account) lacks the necessary permissions on Active Directory OUs or objects. This typically occurs after permission changes, new OU creation, or misconfiguration during setup. Resolution involves identifying the affected connector account and using ADSyncConfig PowerShell cmdlets or the Azure AD Connect wizard to restore the required AD permissions, followed by triggering a fresh sync cycle.

Indicators

Likely causes

Diagnostic steps

  1. Open Azure AD Connect Synchronization Service Manager (miisclient.exe), navigate to the 'Operations' tab, and identify failed export operations. Note the specific objects affected and confirm error code 8344 is present in the error detail.
  2. In Synchronization Service Manager, go to the 'Connectors' tab, select the on-premises Active Directory connector, and click 'Properties'. Record the AD DS connector account name (typically prefixed MSOL_ or ADSync) listed under 'Connect to Active Directory Forest'.
  3. Open Active Directory Users and Computers (dsa.msc), enable 'Advanced Features' from the View menu, then right-click the domain root or the specific OU containing the failing objects and select 'Properties' > 'Security'. Verify whether the identified connector account has the required permissions (Read, Write, and any write-back permissions needed).
  4. Open PowerShell as Administrator and import the ADSync module: Import-Module ADSync. Run Get-ADSyncConnector to confirm the connector account in use, then identify which Set-ADSync*Permissions cmdlets are needed based on your synchronization feature set (e.g., password hash sync, device write-back, ms-DS-ConsistencyGuid).
  5. Run the appropriate ADSyncConfig permission cmdlets to restore missing permissions. Examples: Set-ADSyncBasicReadPermissions -ADConnectorAccountName '<account>' -ADConnectorAccountDomain '<domain>' for basic read; Set-ADSyncPasswordHashSyncPermissions for password hash sync; Set-ADSyncMsDsConsistencyGuidPermissions for anchor attribute write. Scope to the affected OU using -ADobjectDN if needed.
  6. Alternatively, re-run the Azure AD Connect configuration wizard, select 'Customize synchronization options', and use the built-in permission repair step to automatically re-apply all required AD permissions for the configured features.
  7. After applying permissions, confirm they are visible in Active Directory Users and Computers under the Security tab of the affected OU. Then trigger a full synchronization by running in PowerShell: Start-ADSyncSyncCycle -PolicyType Initial. Monitor the Operations tab in Synchronization Service Manager and confirm exports complete without error code 8344.

Resolution path

Prevention

Tools

References

Azure AD ConnectActive DirectoryMicrosoft 365Hybrid IdentitySynchronization ErrorError Code 8344Permission IssueAD DS ConnectorExport ErrorMSOL AccountADSyncConfigPowerShell ADSyncEntra ID Connect