Consider saving the config manually and then rebuilding the server:
Azure Ad Connect Forces Update - Update Fails - Can't Modify Settings

Every time I open Azure Active Directory Connect, it prompts to upgrade. When I do upgrade, the upgrade fails with the following:
MSI (s) (D8:A8) [16:31:22:626]: Product: Microsoft Azure AD Connect synchronization services -- A later version of Microsoft Azure AD Connect synchronization services is already installed. Setup will now exit. Action ended 16:31:22: LaunchConditions. Return value 3. Action ended 16:31:22: INSTALL. Return value 3. MSI (s) (D8:A8) [16:31:22:628]: Note: 1: 1708 MSI (s) (D8:A8) [16:31:22:629]: Product: Microsoft Azure AD Connect synchronization services -- Installation operation failed. MSI (s) (D8:A8) [16:31:22:629]: Windows Installer installed the product. Product Name: Microsoft Azure AD Connect synchronization services. Product Version: 2.1.20.0. Product Language: 1033. Manufacturer: Microsoft Corporation. Installation success or error status: 1603.
Doesn't seem to be a way to stop or defer the update. This also has the added effect of not allowing me to modify my configuration or take a backup of the configuration thus making an upgrade by downloading a later version / installer somewhat unnerving as I don't want to lose or corrupt my current configuration.
Any ideas?
The Sync service still functions successfully after the failed update if I go ahead and send "Set-ADSyncScheduler -SchedulerSuspended $false".
Azure AD Connect Version: 2.1.20.0
Server: Windows Server 2019 Standard (Domain Controller)
Microsoft Security | Microsoft Entra | Microsoft Entra ID
-
Andy David - MVP 157.8K Reputation points MVP Volunteer Moderator
2023-08-03T11:00:43.32+00:00
1 additional answer
Sort by: Most helpful
-
Shawn Davis 50 Reputation points
2023-08-23T20:51:59.61+00:00 I exported the info and rebuilt on another server to replace the faulty instance via the steps provided. Thank you!