Exception Data (Raw): System.Exception: Unable to install the Synchronization Service. Error installing msi package 'Synchronization Service.msi'. Full log is available at 'C:\ProgramData\AADConnect\Synchronization Service_Install-20230413-024452.log'.
Extracted error message:
ActionStart(Name=ConfigDB,Description=Configuring SQL database,)
MSI (s) (50:74) [02:44:55:454]: Executing op: CustomActionSchedule(Action=ConfigDB,ActionType=9217,Source=BinaryData,Target=**********,CustomActionData=**********)
MSI (s) (50:DC) [02:44:55:456]: Invoking remote custom action. DLL: C:\Windows\Installer\MSIAF78.tmp, Entrypoint: ConfigDB
1: 0 2: TraceProgress (ConfigDB: Obtaining CustomActionData properties.): at line 2305
1: 0 2: TraceProgress (ConfigDB: Parsing properties.): at line 2314
1: 0 2: TraceProgress (ConfigDB: No password - bypassing impersonation.): at line 2347
MSI (s) (50!84) [02:44:55:698]: Product: Microsoft Azure AD Connect synchronization services -- Error 25009.The Microsoft Azure AD Connect synchronization services setup wizard cannot configure the specified database. A long error message will be split and shown as several pop-ups. Click OK to continue.
MSI (s) (50!84) [02:44:55:699]: Product: Microsoft Azure AD Connect synchronization services -- Error 25009.The Microsoft Azure AD Connect synchronization services setup wizard cannot configure the specified database. Error: CREATE DATABASE failed. Some file names listed could not be created. Check related errors.Cannot create file 'C:\Program Files\Microsoft Azure AD Sync\Data\ADSync2019\ADSync.mdf' because it already exists. Change the file path or the file name, and retry the operation.
Stack: ERR_: MMS(3972): ..\sql.cpp(5611): CREATE DATABASE failed. Some file names listed could not be created. Check related errors.
ERR_: MMS(3972): ..\sql.cpp(5611): Cannot create file 'C:\Program Files\Microsoft Azure AD Sync\Data\A
MSI (s) (50!84) [02:44:55:700]: Product: Microsoft Azure AD Connect synchronization services -- Error 25009.The Microsoft Azure AD Connect synchronization services setup wizard cannot configure the specified database. DSync2019\ADSync.mdf' because it already exists. Change the file path or the file name, and retry the operation.
BAIL: MMS(3972): ..\sql.cpp(3361): 0x80040e14 (unable to get error text)
BAIL: MMS(3972): ..\sql.cpp(3256): 0x80040e14 (unable to get error text)
BAIL: MMS(3972): ..\sql.cpp(3998): 0x80040e14 (unable to get error text)
BAIL: MMS(3972): ..\storeimp.cpp(1537): 0x80040e14 (unable to get error text)
BAIL: MMS(3972): configdb.cpp(381): 0x80040e14 (unable to get error text)
ERR_: MMS(3972): configdb.cp
MSI (s) (50!84) [02:44:55:701]: Product: Microsoft Azure AD Connect synchronization services -- Error 25009.The Microsoft Azure AD Connect synchronization services setup wizard cannot configure the specified database. p(490): srv=(localdb),inst=.\ADSync2019,dm=MYDOMAIN,u=ADSyncMSA83b8f$,su=MYDOMAIN\jeffchena,bi=true,cmp=Jeff-VM,ver=
CustomAction ConfigDB returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
04/13/2023 02:44:55.805 [5456]: Assembly Install: Failing with hr=80070005 at RemoveDirectoryAndChildren, line 393
04/13/2023 02:44:55.806 [5456]: Detailed info about C:\Windows\assembly\tmp\XN0F59F9\Microsoft.MetadirectoryServices.Host.dll
04/13/2023 02:44:55.806 [5456]: File attributes: 00000080
04/13/2023 02:44:55.840 [5456]: Restart Manager Info: 1 entries
04/13/2023 02:44:55.841 [5456]: App[0]: (5456) Windows Installer (msiserver), type = 3
04/13/2023 02:44:55.841 [5456]: Security info:
04/13/2023 02:44:55.841 [5456]: Owner: S-1-5-18
04/13/2023 02:44:55.841 [5456]: Group: S-1-5-18
04/13/2023 02:44:55.841 [5456]: DACL information: 5 entries:
04/13/2023 02:44:55.841 [5456]: ACE[0]: Type = 0x00, Flags = 010, Mask = 001f01ff, SID = S-1-5-18
04/13/2023 02:44:55.841 [5456]: ACE[1]: Type = 0x00, Flags = 010, Mask = 001f01ff, SID = S-1-5-32-544
04/13/2023 02:44:55.842 [5456]: ACE[2]: Type = 0x00, Flags = 010, Mask = 001200a9, SID = S-1-5-32-545
04/13/2023 02:44:55.842 [5456]: ACE[3]: Type = 0x00, Flags = 010, Mask = 001200a9, SID = S-1-15-2-1
04/13/2023 02:44:55.842 [5456]: ACE[4]: Type = 0x00, Flags = 010, Mask = 001200a9, SID = S-1-15-2-2
MSI (s) (50:74) [02:44:55:845]: Note: 1: 2265 2: 3: -2147287035
MSI (s) (50:74) [02:44:55:846]: User policy value 'DisableRollback' is 0
MSI (s) (50:74) [02:44:55:846]: Machine policy value 'DisableRollback' is 0
Action ended 2:44:55: InstallExecute.
| Exception: Execution failed with errorCode: 1603.
Details: Please see the Application and System event logs for additional details. ---> Microsoft.Online.Deployment.Client.Framework.ProcessExecutionFailedException: Error installing msi package 'Synchronization Service.msi'. Full log is available at 'C:\ProgramData\AADConnect\Synchronization Service_Install-20230413-024452.log'.
Extracted error message:
ActionStart(Name=ConfigDB,Description=Configuring SQL database,)
MSI (s) (50:74) [02:44:55:454]: Executing op: CustomActionSchedule(Action=ConfigDB,ActionType=9217,Source=BinaryData,Target=**********,CustomActionData=**********)
MSI (s) (50:DC) [02:44:55:456]: Invoking remote custom action. DLL: C:\Windows\Installer\MSIAF78.tmp, Entrypoint: ConfigDB
1: 0 2: TraceProgress (ConfigDB: Obtaining CustomActionData properties.): at line 2305
1: 0 2: TraceProgress (ConfigDB: Parsing properties.): at line 2314
1: 0 2: TraceProgress (ConfigDB: No password - bypassing impersonation.): at line 2347
MSI (s) (50!84) [02:44:55:698]: Product: Microsoft Azure AD Connect synchronization services -- Error 25009.The Microsoft Azure AD Connect synchronization services setup wizard cannot configure the specified database. A long error message will be split and shown as several pop-ups. Click OK to continue.
MSI (s) (50!84) [02:44:55:699]: Product: Microsoft Azure AD Connect synchronization services -- Error 25009.The Microsoft Azure AD Connect synchronization services setup wizard cannot configure the specified database. Error: CREATE DATABASE failed. Some file names listed could not be created. Check related errors.Cannot create file 'C:\Program Files\Microsoft Azure AD Sync\Data\ADSync2019\ADSync.mdf' because it already exists. Change the file path or the file name, and retry the operation.
Stack: ERR_: MMS(3972): ..\sql.cpp(5611): CREATE DATABASE failed. Some file names listed could not be created. Check related errors.
ERR_: MMS(3972): ..\sql.cpp(5611): Cannot create file 'C:\Program Files\Microsoft Azure AD Sync\Data\A
MSI (s) (50!84) [02:44:55:700]: Product: Microsoft Azure AD Connect synchronization services -- Error 25009.The Microsoft Azure AD Connect synchronization services setup wizard cannot configure the specified database. DSync2019\ADSync.mdf' because it already exists. Change the file path or the file name, and retry the operation.
BAIL: MMS(3972): ..\sql.cpp(3361): 0x80040e14 (unable to get error text)
BAIL: MMS(3972): ..\sql.cpp(3256): 0x80040e14 (unable to get error text)
BAIL: MMS(3972): ..\sql.cpp(3998): 0x80040e14 (unable to get error text)
BAIL: MMS(3972): ..\storeimp.cpp(1537): 0x80040e14 (unable to get error text)
BAIL: MMS(3972): configdb.cpp(381): 0x80040e14 (unable to get error text)
ERR_: MMS(3972): configdb.cp
MSI (s) (50!84) [02:44:55:701]: Product: Microsoft Azure AD Connect synchronization services -- Error 25009.The Microsoft Azure AD Connect synchronization services setup wizard cannot configure the specified database. p(490): srv=(localdb),inst=.\ADSync2019,dm=MYDOMAIN,u=ADSyncMSA83b8f$,su=MYDOMAIN\jeffchena,bi=true,cmp=Jeff-VM,ver=
CustomAction ConfigDB returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
04/13/2023 02:44:55.805 [5456]: Assembly Install: Failing with hr=80070005 at RemoveDirectoryAndChildren, line 393
04/13/2023 02:44:55.806 [5456]: Detailed info about C:\Windows\assembly\tmp\XN0F59F9\Microsoft.MetadirectoryServices.Host.dll
04/13/2023 02:44:55.806 [5456]: File attributes: 00000080
04/13/2023 02:44:55.840 [5456]: Restart Manager Info: 1 entries
04/13/2023 02:44:55.841 [5456]: App[0]: (5456) Windows Installer (msiserver), type = 3
04/13/2023 02:44:55.841 [5456]: Security info:
04/13/2023 02:44:55.841 [5456]: Owner: S-1-5-18
04/13/2023 02:44:55.841 [5456]: Group: S-1-5-18
04/13/2023 02:44:55.841 [5456]: DACL information: 5 entries:
04/13/2023 02:44:55.841 [5456]: ACE[0]: Type = 0x00, Flags = 010, Mask = 001f01ff, SID = S-1-5-18
04/13/2023 02:44:55.841 [5456]: ACE[1]: Type = 0x00, Flags = 010, Mask = 001f01ff, SID = S-1-5-32-544
04/13/2023 02:44:55.842 [5456]: ACE[2]: Type = 0x00, Flags = 010, Mask = 001200a9, SID = S-1-5-32-545
04/13/2023 02:44:55.842 [5456]: ACE[3]: Type = 0x00, Flags = 010, Mask = 001200a9, SID = S-1-15-2-1
04/13/2023 02:44:55.842 [5456]: ACE[4]: Type = 0x00, Flags = 010, Mask = 001200a9, SID = S-1-15-2-2
MSI (s) (50:74) [02:44:55:845]: Note: 1: 2265 2: 3: -2147287035
MSI (s) (50:74) [02:44:55:846]: User policy value 'DisableRollback' is 0
MSI (s) (50:74) [02:44:55:846]: Machine policy value 'DisableRollback' is 0
Action ended 2:44:55: InstallExecute.
---> Microsoft.Online.Deployment.Client.Framework.ProcessExecutionFailedException: Exception: Execution failed with errorCode: 1603.
Details:
at Microsoft.Azure.ActiveDirectory.Synchronization.Framework.ProcessAdapter.StartProcessCore(String fileName, String& processOutput, String arguments, String workingDirectory, NetworkCredential credential, Boolean loadUserProfile, Boolean hideWindow, Boolean waitForExit, Boolean traceArguments, Int32 exitCodeToIgnore)
at Microsoft.Azure.ActiveDirectory.Synchronization.Framework.MsiExecAdapter.InstallMsiPackage(String msiPackageDirectory, String msiPackageFileName, String packageOptions, String installationPath, NetworkCredential credential, String installLogFileName, Boolean extractOnly, Boolean quiet, Boolean suppressReboot)
--- End of inner exception stack trace ---
at Microsoft.Azure.ActiveDirectory.Synchronization.Framework.MsiExecAdapter.InstallMsiPackage(String msiPackageDirectory, String msiPackageFileName, String packageOptions, String installationPath, NetworkCredential credential, String installLogFileName, Boolean extractOnly, Boolean quiet, Boolean suppressReboot)
at Microsoft.Azure.ActiveDirectory.Synchronization.Setup.SynchronizationServiceSetupTask.InstallSynchronizationService(String pathToMsiFiles, String msiFileName, String installationPath, String sqlServerName, String sqlInstanceName, String sqlInstanceFolder, String sqlDatabaseName, Boolean useInstallPathForDBFiles, IDictionary`2 syncServiceGroups, SyncServiceAccount syncServiceAccount, String logFilePath)
at Microsoft.Azure.ActiveDirectory.Synchronization.Setup.SynchronizationServiceSetupTask.InstallCore(String logFilePath, String logFileSuffix)
at Microsoft.Azure.ActiveDirectory.Synchronization.Framework.ActionExecutor.ExecuteWithSetupResultsStatus(SetupAction action, String description, String logFileName, String logFileSuffix)
at Microsoft.Azure.ActiveDirectory.Synchronization.Setup.SetupBase.Install()
--- End of inner exception stack trace ---
at Microsoft.Azure.ActiveDirectory.Synchronization.Setup.SetupBase.ThrowSetupTaskFailureException(String exceptionFormatString, String taskName, Exception innerException)
at Microsoft.Azure.ActiveDirectory.Synchronization.Setup.SetupBase.Install()
at Microsoft.Online.Deployment.OneADWizard.Runtime.Stages.InstallSyncEngineStage.ExecuteInstallCore(ISyncEngineInstallContext syncEngineInstallContext, ProgressChangedEventHandler progressChangesEventHandler)
at Microsoft.Online.Deployment.OneADWizard.Runtime.Stages.InstallSyncEngineStage.ExecuteInstall(ISyncEngineInstallContext syncEngineInstallContext, ProgressChangedEventHandler progressChangesEventHandler)
at Microsoft.Online.Deployment.OneADWizard.UI.WizardPages.PerformConfigurationPageViewModel.ExecuteSyncEngineInstallCore(AADConnectResult& result)
[02:49:13.669] [ 1] [INFO ] Opened log file at path C:\ProgramData\AADConnect\trace-20230413-024116.log
[02:55:09.928] [ 1] [INFO ] Opened log file at path C:\ProgramData\AADConnect\trace-20230413-024116.log