Hello!
My Azure AD Connect sync has failed. I noticed a lot of failures over the last week and now see an alert in O365 that nothing has been in sync for 3-days. I can't upload images so here's what is says:
Active Directory synchronization: DeactivateDirectory
Sync | ManageDirectory Sync | Warning:
Last synced more than 3 days ago | Troubleshoot about Directory Sync
When I try to run the Microsoft Azure Active Directory Connect configuration tool it only complains of a generic error and to hit the forums!
Please see the attached Log:
[14:08:22.386] [ 1] [INFO ]
[14:08:22.401] [ 1] [INFO ] ================================================================================
[14:08:22.401] [ 1] [INFO ] Application starting
[14:08:22.401] [ 1] [INFO ] ================================================================================
[14:08:22.448] [ 1] [INFO ] Application Version: 1.0.0.0-1440008509
[14:08:23.511] [ 1] [INFO ] App Properties/Metrics:
[14:08:23.511] [ 1] [INFO ] Runtime.Start=2015-11-11T14:08:22-08:00
[14:08:23.511] [ 1] [INFO ] Application.Version=1.0.0.0-1440008509
[14:08:23.511] [ 1] [INFO ] Application.IsDebugBuild=False
[14:08:23.511] [ 1] [INFO ] Environment.OperatingSystem.VersionString=Microsoft Windows NT 6.2.9200.0
[14:08:23.511] [ 1] [INFO ] Environment.OperatingSystem.Platform=Win32NT
[14:08:23.511] [ 1] [INFO ] Environment.OperatingSystem.ServicePack=
[14:08:23.511] [ 1] [INFO ] Environment.OperatingSystem.ProductType=DomainController
[14:08:23.511] [ 1] [INFO ] Environment.OperatingSystem.Sku=7
[14:08:23.511] [ 1] [INFO ] Environment.OperatingSystem.Language=0409
[14:08:23.511] [ 1] [INFO ] Environment.OperatingSystem.IsDomainJoined=True
[14:08:23.511] [ 1] [INFO ] Runtime.EncodedPageNavigationBytes=
[14:08:23.526] [ 10] [INFO ] Starting Telemetry Send
[14:08:23.667] [ 1] [INFO ] RootPageViewModel.GetInitialPages: Beginning detection for creating initial pages.
[14:08:23.792] [ 1] [INFO ] Found existing persisted state context.
[14:08:23.870] [ 1] [INFO ] DetectInstalledComponents stage: Checking install context.
[14:08:23.886] [ 1] [INFO ] Performing direct lookup of upgrade codes for: Microsoft Online Services Sign-In Assistant for IT Professionals
[14:08:23.933] [ 1] [VERB ] Getting list of installed packages by upgrade code
[14:08:23.995] [ 1] [INFO ] GetInstalledPackagesByUpgradeCode {03c97135-0e31-4334-9215-63827d4f07d4}: verified product code {d8ab93b0-6fbf-44a0-971f-c0669b5ae6dd}.
[14:08:23.995] [ 1] [VERB ] Package=Microsoft Online Services Sign-in Assistant, Version=7.250.4556.0, ProductCode=d8ab93b0-6fbf-44a0-971f-c0669b5ae6dd, UpgradeCode=03c97135-0e31-4334-9215-63827d4f07d4
[14:08:24.011] [ 1] [INFO ] Determining installation action for Microsoft Online Services Sign-In Assistant for IT Professionals (03c97135-0e31-4334-9215-63827d4f07d4)
[14:08:24.011] [ 1] [INFO ] Product Microsoft Online Services Sign-In Assistant for IT Professionals (version 7.250.4556.0) is installed.
[14:08:24.011] [ 1] [INFO ] Performing direct lookup of upgrade codes for: Microsoft Azure Active Directory Module for Windows PowerShell
[14:08:24.011] [ 1] [VERB ] Getting list of installed packages by upgrade code
[14:08:24.011] [ 1] [INFO ] GetInstalledPackagesByUpgradeCode {bbf5d0bf-d8ae-4e66-91ab-b7023c1f288c}: verified product code {43cc9c53-a217-4850-b5b2-8c347920e500}.
[14:08:24.011] [ 1] [VERB ] Package=Windows Azure Active Directory Module for Windows PowerShell, Version=1.0.0, ProductCode=43cc9c53-a217-4850-b5b2-8c347920e500, UpgradeCode=bbf5d0bf-d8ae-4e66-91ab-b7023c1f288c
[14:08:24.011] [ 1] [INFO ] Determining installation action for Microsoft Azure Active Directory Module for Windows PowerShell (bbf5d0bf-d8ae-4e66-91ab-b7023c1f288c)
[14:08:24.011] [ 1] [INFO ] Product Microsoft Azure Active Directory Module for Windows PowerShell (version 1.0.0) is installed.
[14:08:24.011] [ 1] [INFO ] Performing direct lookup of upgrade codes for: Microsoft Visual C++ 2013 Redistributable Package
[14:08:24.011] [ 1] [VERB ] Getting list of installed packages by upgrade code
[14:08:24.011] [ 1] [INFO ] GetInstalledPackagesByUpgradeCode {20400cf0-de7c-327e-9ae4-f0f38d9085f8}: verified product code {a749d8e6-b613-3be3-8f5f-045c84eba29b}.
[14:08:24.011] [ 1] [VERB ] Package=Microsoft Visual C++ 2013 x64 Minimum Runtime - 12.0.21005, Version=12.0.21005, ProductCode=a749d8e6-b613-3be3-8f5f-045c84eba29b, UpgradeCode=20400cf0-de7c-327e-9ae4-f0f38d9085f8
[14:08:24.011] [ 1] [INFO ] Determining installation action for Microsoft Visual C++ 2013 Redistributable Package (20400cf0-de7c-327e-9ae4-f0f38d9085f8)
[14:08:24.011] [ 1] [INFO ] Product Microsoft Visual C++ 2013 Redistributable Package (version 12.0.21005) is installed.
[14:08:24.011] [ 1] [INFO ] Performing direct lookup of upgrade codes for: Microsoft Directory Sync Tool
[14:08:24.026] [ 1] [VERB ] Getting list of installed packages by upgrade code
[14:08:24.026] [ 1] [INFO ] GetInstalledPackagesByUpgradeCode {bef7e7d9-2ac2-44b9-abfc-3335222b92a7}: no registered products found.
[14:08:24.026] [ 1] [INFO ] GetInstalledPackagesByUpgradeCode {dc9e604e-37b0-4efc-b429-21721cf49d0d}: no registered products found.
[14:08:24.042] [ 1] [INFO ] Determining installation action for Microsoft Directory Sync Tool UpgradeCodes {bef7e7d9-2ac2-44b9-abfc-3335222b92a7}, {dc9e604e-37b0-4efc-b429-21721cf49d0d}
[14:08:24.042] [ 1] [INFO ] DirectorySyncComponent: Product Microsoft Directory Sync Tool is not installed.
[14:08:24.042] [ 1] [INFO ] Performing direct lookup of upgrade codes for: Azure AD Sync Engine
[14:08:24.042] [ 1] [VERB ] Getting list of installed packages by upgrade code
[14:08:24.042] [ 1] [INFO ] GetInstalledPackagesByUpgradeCode {545334d7-13cd-4bab-8da1-2775fa8cf7c2}: verified product code {d160c994-0bfb-44fa-bf51-750cd607427f}.
[14:08:24.042] [ 1] [INFO ] GetInstalledPackagesByUpgradeCode {dc9e604e-37b0-4efc-b429-21721cf49d0d}: no registered products found.
[14:08:24.042] [ 1] [INFO ] GetInstalledPackagesByUpgradeCode {bef7e7d9-2ac2-44b9-abfc-3335222b92a7}: no registered products found.
[14:08:24.042] [ 1] [VERB ] Package=Microsoft Azure AD Connect synchronization services, Version=1.0.8667.0, ProductCode=d160c994-0bfb-44fa-bf51-750cd607427f, UpgradeCode=545334d7-13cd-4bab-8da1-2775fa8cf7c2
[14:08:24.042] [ 1] [INFO ] Determining installation action for Azure AD Sync Engine (545334d7-13cd-4bab-8da1-2775fa8cf7c2)
[14:08:24.604] [ 1] [INFO ] Product Azure AD Sync Engine (version 1.0.8667.0) is installed.
[14:08:24.808] [ 1] [ERROR] AzureADSyncEngineComponent: unexpected value retrieved for upgrade mode (0)
[14:08:24.808] [ 1] [INFO ] Performing direct lookup of upgrade codes for: Azure AD Sync Engine Health Agent
[14:08:24.808] [ 1] [VERB ] Getting list of installed packages by upgrade code
[14:08:24.808] [ 1] [INFO ] GetInstalledPackagesByUpgradeCode {114fb294-8aa6-43db-9e5c-4ede5e32886f}: no registered products found.
[14:08:24.808] [ 1] [INFO ] Determining installation action for Azure AD Sync Engine Health Agent (114fb294-8aa6-43db-9e5c-4ede5e32886f)
[14:08:24.808] [ 1] [INFO ] Product Azure AD Sync Engine Health Agent is not installed.
[14:08:24.808] [ 1] [INFO ] Performing direct lookup of upgrade codes for: Microsoft SQL Server 2012 Command Line Utilities
[14:08:24.808] [ 1] [VERB ] Getting list of installed packages by upgrade code
[14:08:24.808] [ 1] [INFO ] GetInstalledPackagesByUpgradeCode {52446750-c08e-49ef-8c2e-1e0662791e7b}: verified product code {9d573e71-1077-4c7e-b4db-4e22a5d2b48b}.
[14:08:24.808] [ 1] [VERB ] Package=Microsoft SQL Server 2012 Command Line Utilities , Version=11.0.2100.60, ProductCode=9d573e71-1077-4c7e-b4db-4e22a5d2b48b, UpgradeCode=52446750-c08e-49ef-8c2e-1e0662791e7b
[14:08:24.808] [ 1] [INFO ] Determining installation action for Microsoft SQL Server 2012 Command Line Utilities (52446750-c08e-49ef-8c2e-1e0662791e7b)
[14:08:24.808] [ 1] [INFO ] Product Microsoft SQL Server 2012 Command Line Utilities (version 11.0.2100.60) is installed.
[14:08:24.808] [ 1] [INFO ] Performing direct lookup of upgrade codes for: Microsoft SQL Server 2012 Express LocalDB
[14:08:24.808] [ 1] [VERB ] Getting list of installed packages by upgrade code
[14:08:24.808] [ 1] [INFO ] GetInstalledPackagesByUpgradeCode {c3593f78-0f11-4d8d-8d82-55460308e261}: verified product code {6c026a91-640f-4a23-8b68-05d589cc6f18}.
[14:08:24.808] [ 1] [VERB ] Package=Microsoft SQL Server 2012 Express LocalDB , Version=11.1.3000.0, ProductCode=6c026a91-640f-4a23-8b68-05d589cc6f18, UpgradeCode=c3593f78-0f11-4d8d-8d82-55460308e261
[14:08:24.808] [ 1] [INFO ] Determining installation action for Microsoft SQL Server 2012 Express LocalDB (c3593f78-0f11-4d8d-8d82-55460308e261)
[14:08:24.808] [ 1] [INFO ] Product Microsoft SQL Server 2012 Express LocalDB (version 11.1.3000.0) is installed.
[14:08:24.808] [ 1] [INFO ] Performing direct lookup of upgrade codes for: Microsoft SQL Server 2012 Native Client
[14:08:24.808] [ 1] [VERB ] Getting list of installed packages by upgrade code
[14:08:24.808] [ 1] [INFO ] GetInstalledPackagesByUpgradeCode {1d2d1fa0-e158-4798-98c6-a296f55414f9}: verified product code {d411e9c9-ce62-4dbf-9d92-4cb22b750ed5}.
[14:08:24.808] [ 1] [VERB ] Package=Microsoft SQL Server 2012 Native Client , Version=11.1.3000.0, ProductCode=d411e9c9-ce62-4dbf-9d92-4cb22b750ed5, UpgradeCode=1d2d1fa0-e158-4798-98c6-a296f55414f9
[14:08:24.808] [ 1] [INFO ] Determining installation action for Microsoft SQL Server 2012 Native Client (1d2d1fa0-e158-4798-98c6-a296f55414f9)
[14:08:24.808] [ 1] [INFO ] Product Microsoft SQL Server 2012 Native Client (version 11.1.3000.0) is installed.
[14:08:24.808] [ 1] [INFO ] Performing direct lookup of upgrade codes for: Microsoft Azure AD Connect Azure AD Connector
[14:08:24.808] [ 1] [VERB ] Getting list of installed packages by upgrade code
[14:08:24.808] [ 1] [INFO ] GetInstalledPackagesByUpgradeCode {fb3feca7-5190-43e7-8d4b-5eec88ed9455}: verified product code {706efae8-26a7-4e27-bbd0-2c3c1d7c194d}.
[14:08:24.808] [ 1] [VERB ] Package=Microsoft Azure AD Connect Azure AD Connector, Version=1.0.8667.0, ProductCode=706efae8-26a7-4e27-bbd0-2c3c1d7c194d, UpgradeCode=fb3feca7-5190-43e7-8d4b-5eec88ed9455
[14:08:24.808] [ 1] [INFO ] Determining installation action for Microsoft Azure AD Connect Azure AD Connector (fb3feca7-5190-43e7-8d4b-5eec88ed9455)
[14:08:24.808] [ 1] [INFO ] Product Microsoft Azure AD Connect Azure AD Connector (version 1.0.8667.0) is installed.
[14:08:24.808] [ 1] [INFO ] Determining installation action for Microsoft Azure AD Connection Tool.
[14:08:25.104] [ 1] [WARN ] Failed to read DisplayName registry key: An error occurred while executing the 'Get-ItemProperty' command. Cannot find path 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\MicrosoftAzureADConnectionTool'
because it does not exist.
[14:08:25.104] [ 1] [INFO ] Product Microsoft Azure AD Connection Tool is not installed.
[14:08:25.104] [ 1] [INFO ] Performing direct lookup of upgrade codes for: Azure Active Directory Connect
[14:08:25.104] [ 1] [VERB ] Getting list of installed packages by upgrade code
[14:08:25.104] [ 1] [INFO ] GetInstalledPackagesByUpgradeCode {d61eb959-f2d1-4170-be64-4dc367f451ea}: verified product code {dd19288c-0faa-4336-a52c-e1d1f1395a64}.
[14:08:25.104] [ 1] [VERB ] Package=Microsoft Azure AD Connect, Version=1.0.8667.0, ProductCode=dd19288c-0faa-4336-a52c-e1d1f1395a64, UpgradeCode=d61eb959-f2d1-4170-be64-4dc367f451ea
[14:08:25.104] [ 1] [INFO ] Determining installation action for Azure Active Directory Connect (d61eb959-f2d1-4170-be64-4dc367f451ea)
[14:08:25.104] [ 1] [INFO ] Product Azure Active Directory Connect (version 1.0.8667.0) is installed.
[14:08:25.104] [ 1] [INFO ] DetectInstalledComponents stage: Sync engine is already installed and meets version requirement.
[14:08:25.104] [ 1] [INFO ] DetectInstalledComponents: Marking Sync Engine as successfully installed.
[14:08:25.667] [ 1] [ERROR] Caught an exception while creating the initial page set on the root page.
Exception Data (Raw): System.Management.ManagementException: Generic failure
at System.Management.ManagementException.ThrowWithExtendedInfo(ManagementStatus errorCode)
at System.Management.ManagementObjectCollection.ManagementObjectEnumerator.MoveNext()
at System.Linq.Enumerable.<CastIterator>d__b1`1.MoveNext()
at Microsoft.Azure.ActiveDirectory.Synchronization.SyncServiceProvider.SyncServiceProvider.IsRunInProgress(String& connectorName)
at Microsoft.Online.Deployment.OneADWizard.Runtime.Stages.DetectInstalledComponents.ValidateConfigChangesArePermitted()
at Microsoft.Online.Deployment.OneADWizard.Runtime.Stages.DetectInstalledComponents.Execute(String& message)
at Microsoft.Online.Deployment.OneADWizard.UI.WizardPages.RootPageViewModel.GetInitialPagesCore()
at Microsoft.Online.Deployment.OneADWizard.UI.WizardPages.RootPageViewModel.GetInitialPages()
[14:08:44.714] [ 1] [INFO ] Opened log file at path C:\Users\CSchneider_EP\AppData\Local\AADConnect\trace-20151111-140822.log