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


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


  1. 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.
  2. Update to the latest version of the Azure Active Directory Sign-in Assistant and try the DirSync Configuration Wizard again.

See Also

note Note
To provide feedback about this article, create a post on the Windows Azure AD TechNet Forum.