Hi @Adminitrator , it seems like the previous installation of Azure AD was not completely removed from your system, and that is why you are getting this error message. To resolve this issue, you can try the following steps:
- Uninstall Azure AD Connect from your system using the Control Panel or the PowerShell command "Uninstall-ADSync".
- Check if there are any remaining Azure AD Connect directories or files in the following locations:
- C:\Program Files\Microsoft Azure AD Sync
- C:\Program Files\Microsoft Azure AD Sync\Data
- C:\Program Files\Microsoft Azure AD Sync\Bin
- Restart your system.
- Download the latest version of Azure AD Connect from the Microsoft website.
- Install Azure AD Connect using the new installation file.
If you still encounter the same error message after following these steps, you can try running the Azure AD Connect installation wizard in "Custom" mode and select the option to "Start a new configuration". This will create a new configuration for Azure AD Connect and should resolve any issues related to the previous installation.
Please let me know if you have any questions and I can help you further.
If this answer helps you please mark "Accept Answer" so other users can reference it.
Thank you,
James