Azure AD Connect startup error

Hristijan Stojanoski 21 Reputation points
2022-04-08T06:50:39.453+00:00

[ 1] [INFO ]
[08:28:21.510] [ 1] [INFO ] ================================================================================
[08:28:21.510] [ 1] [INFO ] Application starting
[08:28:21.510] [ 1] [INFO ] ================================================================================
[08:28:21.510] [ 1] [INFO ] Start Time (Local): Fri, 08 Apr 2022 08:28:21 GMT
[08:28:21.510] [ 1] [INFO ] Start Time (UTC): Fri, 08 Apr 2022 06:28:21 GMT
[08:28:21.510] [ 1] [INFO ] Application Version: 1.4.18.0
[08:28:21.510] [ 1] [INFO ] Application Build Date: 2019-09-17 14:28:15Z
[08:28:22.617] [ 1] [INFO ] Telemetry session identifier: {81e343d9-6c7f-4882-9ae7-723013311294}
[08:28:22.617] [ 1] [INFO ] Telemetry device identifier: O5tvDxHqZ8TRIAIdsu9SmNgdglHxbJtLaTC7aXHjZ9k=
[08:28:22.617] [ 1] [INFO ] Application Build Identifier: AD-IAM-HybridSync master (3269c5022)
[08:28:23.132] [ 1] [INFO ] machine.config path: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config\machine.config.
[08:28:23.132] [ 1] [INFO ] Default Proxy [ProxyAddress]: <Unspecified>
[08:28:23.132] [ 1] [INFO ] Default Proxy [UseSystemDefault]: Unspecified
[08:28:23.132] [ 1] [INFO ] Default Proxy [BypassOnLocal]: Unspecified
[08:28:23.132] [ 1] [INFO ] Default Proxy [Enabled]: True
[08:28:23.132] [ 1] [INFO ] Default Proxy [AutoDetect]: Unspecified
[08:28:23.132] [ 1] [INFO ] Default Proxy [UseDefaultCredentials]: False
[08:28:23.163] [ 1] [VERB ] Scheduler wizard mutex wait timeout: 00:00:05
[08:28:23.163] [ 1] [INFO ] AADConnect changes ALLOWED: Successfully acquired the configuration change mutex.
[08:28:23.194] [ 1] [INFO ] RootPageViewModel.GetInitialPages: Beginning detection for creating initial pages.
[08:28:23.226] [ 1] [ERROR] Caught an exception while creating the initial page set on the root page.
Exception Data (Raw): System.InvalidOperationException: There is an error in XML document (0, 0). ---> System.Xml.XmlException: Root element is missing.
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
at System.Xml.XmlReader.MoveToContent()
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderPersistedStateContainer.Read4_PersistedStateContainer()
--- End of inner exception stack trace ---
at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
at Microsoft.Online.Deployment.Types.PersistedState.MicrosoftOnlinePersistedStateProvider.DeserializeT
at Microsoft.Online.Deployment.Types.PersistedState.MicrosoftOnlinePersistedStateProvider.Load()
at Microsoft.Online.Deployment.OneADWizard.UI.WizardPages.RootPageViewModel.GetInitialPagesCore()
at Microsoft.Online.Deployment.OneADWizard.UI.WizardPages.RootPageViewModel.GetInitialPages()
[08:40:08.381] [ 1] [INFO ] Opened log file at path C:\ProgramData\AADConnect\trace-20220408-082821.log

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,465 questions
0 comments No comments
{count} votes

Accepted answer
  1. Siva-kumar-selvaraj 15,551 Reputation points
    2022-04-13T21:13:03.94+00:00

    Hello @Hristijan Stojanoski ,

    Thanks for reaching out and apologize for the delayed response.

    As far as I can see, you are running the Azure AD connect application Version 1.4.18.0, which is a two-year-old version and notably, there were some known issues with older version of sync tool. Therefore, would request you to upgrade the Azure AD Connect to avoid such issues.

    Here is detailed guidance on how to upgrade from previous version of Azure AD connect. If you experience any issue with upgradation then you must contact MS support for assistance but in case if you don't have support plan but have active Azure subscription associated with your Azure AD tenant, then I can help you with crating one-time free support for you. Hope this helps.

    -----
    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Hristijan Stojanoski 21 Reputation points
    2022-04-14T06:38:36.437+00:00

    Hello @sikumars-msft,

    I tried to install v1.6 but it says that AAD is only supported on Windows Server 2012 or higher, im using Windows Server 2008.
    Can i install on Windows Server 2008 or i need to upgrade Windows Server?

    Best regards,