Symptom

  • During execution of the Windows Azure Active Directory Sync tool Configuration Wizard, a Configuration error screen is shown containing the following:

Failed to get address for method: CreateIdentityHandle2 from library C:\Program Files\Common Files\Microsoft Shared\Microsoft Online Services\msoidcli.dll. GetLastError code: 127

 

Cause

  • CreateIdentityHandle2 is a method that was introduced in a later build than the initial release of the Azure Active Directory Sign-in Assistant, and the version of Azure AD DirSync you are currently attempting to configure is written to make use of the newer method call

 

Resolution

 

  • Uninstall any versions of the Azure Active Directory Sign-in Assistant (or Microsoft Online Services Sign-in Assistant) you currently have installed on the DirSync server