When you run the Microsoft Azure Active Directory Sync tool configuration wizard, you receive the following error message:
Failed to get address for method: CreateIdentityHandle2 from library C:\Program Files\Common Files\Microsoft Shared\Microsoft Online Services\msoidcli.dll. GetLastError code: 127
This problem occurs if you're running an earlier version of the Microsoft Online Services Sign-in Assistant.
To resolve this issue, follow these steps:
- Uninstall any versions of the Microsoft Online Services Sign-in Assistant that are currently installed on the directory synchronization computer.
- Install the latest version of the Microsoft Online Services Sign-In Assistant from Microsoft Online Services Sign-In Assistant for IT Professionals RTW.