Office 365 Directory Synchronization Error Messages & Resolutions

Posted on

For those Office 365 Administrators who are responsible for the installation, configuration and usage of the Office 365 Directory Synchronization application, which provides synchronization of on-premises Active Directory users, contacts and groups, this table will help explain all known DirSync errors along with suggested workarounds, fixes, configuration and/or updates to resolve your issue:

Error Name Error Details Source Resolution
AdminRequired Local Administrator permissions are required to install Directory Synchronization. Event Viewer/ Error Prompt
DirSyncAlreadyInstalled The Directory Synchronization tool is already installed. Version {0} Event Viewer Instruct the customer to uninstall all previous versions of DirSync before attempting the install the latest version.
DirSyncInstallKeyNotRemoved Windows Installer could not remove the uninstall registry key from the Microsoft Online Services Directory Synchronization MSI. Retry un-install or contact Microsoft Online Support. Event Viewer Instruct the customer to manually remove the registry keys to complete the installation.
DirSyncNotInstalledError A complete installation of the Microsoft Online Services Directory Synchronization tool was not detected on this machine. Please uninstall any versions of this tool and then reinstall the most recent version. Event Viewer Instruct the customer to uninstall all previous versions of DirSync before attempting the install the latest version.
ErrorReRunConfigWizard Unable to start synchronization due to configuration issues. To fix the issues, try running the Configuration Wizard. If you continue to see this error please contact Microsoft Online Support. Event Viewer Instruct the customer to run the DirSync configuration wizard.
WindowsInstaller45Required Microsoft Windows Installer 4.5 is required for installation. Please install Microsoft Windows Installer 4.5 and try again. Event Viewer Instruct the customer to ensure that the server DirSync is being installed on meets the minimum requirements.
ErrorClearRunHistory Could not clear the run history on the MIIS Server. Error returned is ‘{0}’. Contact Microsoft Online support. Event Viewer
ErrorNoStartConnection Synchronization failed to start because of connection issues or domain controllers could not be contacted by the server. Verify that you are connected to the server and all the configured domain controllers are connected to the network. If you have recently deleted domain or naming context, please rerun the Configuration Wizard. Event Viewer Instruct the customer to confirm that the local Active Directory Domain Controllers are accessible from the server running DirSync.
ErrorNoStartCredentials Synchronization failed to start because of credential problems. Rerun Configuration Wizard to update credentials for Synchronization. Event Viewer Instruct the customer to run the DirSync Configuration wizard and re-enter credentials. The customer should also confirm that the credentials have Admin access to MOAC.
ErrorNoStartNoDomainController Synchronization failed to start because the domain controller could not be contacted by the server. Verify that the domain controller is connected to the network. Event Viewer Instruct the customer to confirm that the local Active Directory Domain Controllers are accessible from the server running DirSync.
ErrorStoppedConnectivity Synchronization stopped because of connectivity loss. Restore connectivity to the server. Event Viewer Instruct the customer to confirm that the local workstation can access the Internet. Have the user attempt to ping provisioning.microsoftonline.com to verify that it can reach the DirSync Service on Microsoft Online.
ErrorStoppedDatabaseDiskFull Synchronization stopped because the SQL Server database used by the Synchronization server is full. Create some space in the SQL Server database. Event Viewer Instruct the customer to free up space on the storage used to hold the DirSync SQL Database. If the issue is not resolved DirSync will not be able to run successfully and the SQL database may be permanently damaged.
InstallNotAllowedOnDomainController Microsoft Online Services Coexistence can not be installed on a domain controller. Event Viewer Instruct the customer that DirSync can only be installed on domain joined computers that do act as Domain Controllers
InstallPathLengthTooLong The installation path is too long. Provide a path of 116 characters or fewer and then try again. Event Viewer Instruct the customer that if they choose to use a customer path for the installation of DirSync that the total path length has to be less than 116 characters.
InsufficentDiskSpace Insufficent Disk Space Event Viewer Instruct the customer that there is not enough space to install DirSync on the local workstation.
InvalidPlatform The Microsoft Online Services Directory Synchronization tool must be installed on a computer running Windows Server 2003 Service Pack 2 or later. Event Viewer Instruct the customer to ensure that the server DirSync is being installed on meets the minimum requirements.
InvalidUPNFormat User Principal Name (UPN) is your logon name. This error is displayed when the user enters credentials for Microsoft Online that do not contain an ‘@’ character. Event Viewer Instruct the customer to enter a valid credentials for Microsoft Online Services and to continue.
ADCredsNotValid The Enterprise Administrator credentials that you supplied are not valid. Supply valid credentials and try again. Event Viewer The installation wizard was unable to verify that the user account being used to install (No Suggestions) is an Enterprise Administrator.
MachineIsDomainJoinedUserIsNot The computer is joined to a domain, but the current user credentials do not have access permissions on the domain. Event Viewer Instruct the customer to log in as a domain user with an account that meets the minimum requirements before attempting to install DirSync.
MachineIsNotDomainJoined The computer is not joined to any domain. Event Viewer Instruct the customer to ensure that the server DirSync is being installed on meets the minimum requirements.
MachineNotDomainJoined The computer must be joined to a domain. Event Viewer Instruct the customer to ensure that the server DirSync is being installed on meets the minimum requirements.
MIISSyncIsInProgressError The synchronization engine is busy. Retry this operation after this synchronization session is complete. Event Viewer Inform the customer that this means there is an existing operations being completed by the MIIS and that any new operations for (No Suggestions) can only be completed once the current operation is completed.
MIISUserAddRight_AccountNotFound Account name:'{0}’ could not be found. Error Code:{1} Event Viewer Inform the customer the DirSync was not able to add the local account being used to complete the installation to the MIIS Admin Group. The user should be manually added to the group to continue with the installation.
MIISUserAddRight_AddFailed ‘{0}’ could not be added to the account rights for ‘{1}’. Error code:{2} Event Viewer Inform the customer the DirSync was not able to add the local account being used to complete the installation to the MIIS Admin Group. The user should be manually added to the group to continue with the installation.
MIISUserAddRight_PolicyHandleNotFound Failed to obtain the policy handle. Error Code:{0} Event Viewer Inform the customer the DirSync was not able to add the local account being used to complete the installation to the MIIS Admin Group. The user should be manually added to the group to continue with the installation.
PowerShellRequired PowerShell must be installed. Event Viewer Instruct the customer to ensure that the server DirSync is being installed on meets the minimum requirements.
UnsupportedNameFormat The name format is not supported. Two examples of the supported user name formats are: someone@example.com or example\someone. Event Viewer Instruct the customer to enter a valid credentials for Microsoft Online Services and to continue.
UserNotAMemberOfMIISAdmins The current user is not a member of the Microsoft Identity Integration Server (MIIS) Admin group. If you have recently installed the Microsoft Online Services Directory Synchronization tool, you may need to log off and then log on. Event Viewer Instruct the customer to manually add the local Active Directory user account used to run DirSync to the MIIS Admin Group.
UserNotAnEnterpriseAdmin User ‘{0}’ is not a member of the Enterprise Admins group. Event Viewer Instruct the customer to manually add the local Active Directory user account used to run DirSync to the Active Directory Enterprise Admin Group.
UnsupportedClientVersion This version of the Directory Synchronization tool is no longer supported. Remove this version and then install the latest version from the Directory Synchronization page of the Migration tab in the Microsoft Online Services Administration Center. Event Viewer Instruct the customer to download the latest version of the DirSync Tool from the Office 365 portal.
InternetQueryOptionError Internet Explorer proxy settings were not read. Initial configuration using setup wizard may not be able to access online help. WinInet Error {0} Event Viewer Instruct the customer verify that they proxy settings entered into Internet Explorer are correctly formated because the Installation Wizard was not able to read/modify these settings correctly.
InternetSetOptionError Internet Explorer proxy settings were not set. Initial configuration using setup wizard may not be able to access online help. WinInet Error {0} Event Viewer Instruct the customer verify that they proxy settings entered into Internet Explorer are correctly formated because the Installation Wizard was not able to read/modify these settings correctly.
RichCoexistenceNotAllowed Current local directory does not have Exchange 2010 installed. Rich coexistence is not allowed. Event Viewer Instruct the customer to install all of the required prerequisites for Rich Coexistence before attempting to install DirSync

2 thoughts on “Office 365 Directory Synchronization Error Messages & Resolutions

    Nicole said:
    September 25, 2013 at 1:56 pm

    I’m not sure where you are getting your information, but great topic.
    I needs to spend some time learning more or understanding
    more. Thanks for fantastic info I was looking
    for this information for my mission.

      msryanph responded:
      September 25, 2013 at 1:59 pm

      Thanks Nicole! I’ve been doing DirSync since before DirSync so if you ever need any help, please post to #Office365 in Twitter or leave a note here and I’ll do my best to respond. These days you can BING DirSync errors and pretty much find any errors out there, but the internals on the Management Agent is not well understood and DO NOT muck around in there, you can blow things sky high, end up deleting users, which removes MBXs, etc…bad cascading effect šŸ™‚

Whatcha thinkin?

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s