Remove a Stuck Azure AD Connect Synchronization Service
Question details
Remove a stuck Azure AD Connect installation and reinstall synchronization with a valid service account.

- Product
- Microsoft Azure AD Connect
- Device & OS
- not provided
- Scenario
- Azure AD Connect needs to be removed and reinstalled after its former domain service account was deleted.
- Observed behavior
- The ADSync service remains stuck starting, uninstalling returns Windows Installer error 1723, and reinstallation fails.
Sign in to the Azure AD Connect server with an administrator account and identify a valid account for the synchronization configuration. Check whether another server is actively synchronizing so you can avoid running two active sync servers.
Remove the corrupted installation with Microsoft's troubleshooter
Use the Program Install and Uninstall troubleshooter when error 1723 blocks normal removal of Azure AD Connect.
Open Services on the Azure AD Connect server and locate Microsoft Azure AD Sync, also known as ADSync. Confirm that it is stuck starting.
On Microsoft Support, search for the Program Install and Uninstall troubleshooter. Download and run it on the affected server.
In the troubleshooter, select Uninstalling, choose Azure AD Connect from the program list, and follow the prompts to remove its installation information. If it is not listed, the troubleshooter may ask for its product code.
Restart the server if prompted, then reopen Services and check whether Microsoft Azure AD Sync has been removed. If the service remains or removal fails, contact Microsoft Support before making further changes.
Download Microsoft Entra Connect Sync from Microsoft, run the installer, and configure synchronization using a valid, supported service account and the settings appropriate for your environment. If another server is already actively synchronizing, use staging mode as appropriate.

Work with Office files using WPS Office
WPS Office is a free, lightweight alternative for everyday document, spreadsheet, and presentation work. Its familiar interface and Office format support make it easy to migrate existing files, but it cannot repair Azure AD Connect or its synchronization service.

Frequently Asked Questions
Why does Azure AD Connect return error 1723 during uninstall?
Error 1723 indicates a Windows Installer problem. The installation may be corrupted, preventing normal removal; use Microsoft's Program Install and Uninstall troubleshooter to attempt removal.
What if Azure AD Connect is not listed in the troubleshooter?
Select Uninstalling in the troubleshooter and follow the prompts. If the program is not listed, you may need its product code to identify the installation.
How do I check whether the stuck sync service was removed?
Open Services on the affected server and look for Microsoft Azure AD Sync. If it remains after troubleshooting and any requested restart, contact Microsoft Support before making further changes.
Can I reinstall Azure AD Connect with a different service account?
Yes. Run the Microsoft Entra Connect Sync installer and configure a valid, supported synchronization service account for your environment. Review the configuration before enabling synchronization.
Should I enable synchronization immediately if another server is active?
No. Avoid running two active synchronization servers for the same environment. Use staging mode as appropriate and verify which server is active before enabling sync.




