IdFix is a tool to discover and remediate identity problems pre synchronization to Azure Active Directory.
To use IdFix you will need:
- A domain joined computer / server
- A user account with at least read access to the AD objects
The process is really straightforward.
Get IdFix from here:
Install and open IdFix, then click on “Query”.
After the process has been completed you will be shown all the problems you might have with your environment, if any.

If no errors are shown, or you are confident you can work around them, you can begin the synchronization.
Links:
Set up synchronization:
Microsoft guide on how to use IdFix: