Uninstall & Reinstall Issues

Remove a Stuck Azure AD Connect Synchronization Service

Kushani NimanthikaKushani Nimanthika Nov 22, 2026 868 views

Question details

Remove a stuck Azure AD Connect installation and reinstall synchronization with a valid service account.

Remove a Stuck Azure AD Connect Synchronization Service
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.
Before you start

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.

Solution 1Recommended

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.

1
Check the service

Open Services on the Azure AD Connect server and locate Microsoft Azure AD Sync, also known as ADSync. Confirm that it is stuck starting.

2
Open the troubleshooter

On Microsoft Support, search for the Program Install and Uninstall troubleshooter. Download and run it on the affected server.

3
Remove Azure AD Connect

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.

4
Check the result

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.

5
Reinstall and configure synchronization

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.

Remove the corrupted installation with Microsoft's troubleshooter
Verify before enabling sync: Review the configuration and service status after installation. Do not enable a second active synchronization server for the same environment.
Free Microsoft Office alternative

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.

Open and edit Microsoft Office DOCX, XLSX, and PPTX filesUse a familiar interface for everyday Office tasksMove existing Office files into a lightweight workspaceDocument synchronization settings and troubleshooting steps in Writer
microsoft office alternative - wps office

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.