Summary
This article provides guidance on resolving the "Failed to get address for method" error when you run the Azure Active Directory Sync tool configuration wizard.
Original product version: Cloud Services (Web roles/Worker roles), Microsoft Entra ID, Microsoft Intune, Azure Backup, Office 365 Identity Management
Original KB number: 3037953
Symptoms
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
Cause
This problem occurs if you're running an earlier version of the Microsoft Online Services Sign-in Assistant.
Resolution
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.
Source: Microsoft Learn / IT Pro troubleshooting by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.
