Error: 80070005 when you run the Azure Active Directory Sync Services config wizard

Original product version:   Azure Active Directory, Microsoft Intune, Azure Backup, Office 365 Identity Management
Original KB number:   2988408

Symptoms

When you run the Azure Active Directory Sync (AAD Sync) Services config wizard, you receive the following message:

Retrieving the COM class factory for remote component with CSLID {...} from machine ... failed due to the following error: 80070005

Cause

This issue may occur if you're not a member of the ADSyncAdmins group on the local computer or if you have just installed AAD Sync Services.

Resolution

To resolve this issue, sign out and then sign in to the computer. If the issue persists, follow these steps:

  1. Select Start, type compmgmt.msc in the search box, and then press Enter to open Computer Management.
  2. Under Computer Management, expand Local Users and Groups, and then expand Groups.
  3. Make sure that the ADSyncAdmins group exists. If this group is missing, create a new group, and name it ADSyncAdmins.
  4. Add yourself to the ADSyncAdmins group.
  5. Sign out, and then sign in to the computer again.

Contact us for help

If you have questions or need help, create a support request, or ask Azure community support.