locked
DirSync migrate to Azure AD Connect Failure. "A Constraint Violation Occurred." RRS feed

  • Question

  • I keep getting the following error when trying to parallel upgrade/migrate from DirSync to Azure AD Connect on a new server.

    "A Constraint Violation occurred"

    Below is the log file.

    Can anybody assist with this issue?


      [14:18:28.430] [  1] [INFO ]
    [14:18:28.430] [  1] [INFO ] ================================================================================
    [14:18:28.430] [  1] [INFO ] Application starting
    [14:18:28.430] [  1] [INFO ] ================================================================================
    [14:18:28.430] [  1] [INFO ] Start Time (Local): Thu, 27 Oct 2016 14:18:28 GMT
    [14:18:28.430] [  1] [INFO ] Start Time (UTC): Thu, 27 Oct 2016 19:18:28 GMT
    [14:18:28.430] [  1] [INFO ] Application Version: 1.1.281.0
    [14:18:28.430] [  1] [INFO ] Application Build Date: 2016-08-31 21:42:07Z
    [14:18:28.430] [  1] [INFO ] Application Build Identifier: AD-IAM-HybridSync master (ae7f34f)
    [14:18:28.899] [  1] [INFO ] App Properties/Metrics:
    [14:18:28.899] [  1] [INFO ]    Runtime.Start=2016-10-27T14:18:28-05:00
    [14:18:28.899] [  1] [INFO ]    Application.Version=1.1.0.0-1472679727
    [14:18:28.899] [  1] [INFO ]    Application.IsDebugBuild=False
    [14:18:28.899] [  1] [INFO ]    Environment.OperatingSystem.VersionString=Microsoft Windows NT 6.2.9200.0
    [14:18:28.899] [  1] [INFO ]    Environment.OperatingSystem.Platform=Win32NT
    [14:18:28.899] [  1] [INFO ]    Environment.OperatingSystem.ServicePack=
    [14:18:28.899] [  1] [INFO ]    Environment.OperatingSystem.ProductType=Server
    [14:18:28.899] [  1] [INFO ]    Environment.OperatingSystem.Sku=7
    [14:18:28.899] [  1] [INFO ]    Environment.OperatingSystem.Language=0409
    [14:18:28.899] [  1] [INFO ]    Runtime.PerformConfiguration.Result=NotStarted
    [14:18:28.899] [  1] [INFO ]    Environment.Computer.Make=dell inc.
    [14:18:28.899] [  1] [INFO ]    Environment.Computer.Model=poweredge 2950
    [14:18:28.899] [  1] [INFO ]    Environment.OperatingSystem.IsDomainJoined=True
    [14:18:28.899] [  1] [INFO ]    Runtime.EncodedPageNavigationBytes=
    [14:18:28.899] [  1] [INFO ]    Runtime.EncodedHelpLinkUsageBytes=
    [14:18:28.915] [ 11] [INFO ] Starting Telemetry Send
    [14:18:28.930] [  1] [INFO ] machine.config path: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config\machine.config.
    [14:18:28.930] [  1] [INFO ] Default Proxy [ProxyAddress]: <Unspecified>
    [14:18:28.930] [  1] [INFO ] Default Proxy [UseSystemDefault]: Unspecified
    [14:18:28.930] [  1] [INFO ] Default Proxy [BypassOnLocal]: Unspecified
    [14:18:28.930] [  1] [INFO ] Default Proxy [Enabled]: True
    [14:18:28.930] [  1] [INFO ] Default Proxy [AutoDetect]: Unspecified
    [14:18:28.962] [  1] [INFO ] AADConnect changes ALLOWED: Successfully acquired the configuration change mutex.
    [14:18:29.024] [  1] [INFO ] RootPageViewModel.GetInitialPages: Beginning detection for creating initial pages.
    [14:18:29.055] [  1] [INFO ] Found existing persisted state context.
    [14:18:29.087] [  1] [INFO ] Checking if machine version is 6.1.7601 or higher
    [14:18:29.102] [  1] [INFO ] The current operating system version is 6.3.9600, the requirement is 6.1.7601.
    [14:18:29.102] [  1] [INFO ] Password Sync supported: 'True'
    [14:18:29.118] [  1] [INFO ] DetectInstalledComponents stage: The installed OS SKU is 7
    [14:18:29.133] [  1] [INFO ] DetectInstalledComponents stage: Checking install context.
    [14:18:29.149] [  1] [INFO ] Performing direct lookup of upgrade codes for: Microsoft Online Services Sign-In Assistant for IT Professionals
    [14:18:29.149] [  1] [VERB ] Getting list of installed packages by upgrade code
    [14:18:29.165] [  1] [INFO ] GetInstalledPackagesByUpgradeCode {03c97135-0e31-4334-9215-63827d4f07d4}: verified product code {d8ab93b0-6fbf-44a0-971f-c0669b5ae6dd}.
    [14:18:29.165] [  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:18:29.165] [  1] [INFO ] Determining installation action for Microsoft Online Services Sign-In Assistant for IT Professionals (03c97135-0e31-4334-9215-63827d4f07d4)
    [14:18:29.165] [  1] [INFO ] Product Microsoft Online Services Sign-In Assistant for IT Professionals (version 7.250.4556.0) is installed.
    [14:18:29.165] [  1] [INFO ] Performing direct lookup of upgrade codes for: Microsoft Azure Active Directory Module for Windows PowerShell
    [14:18:29.165] [  1] [VERB ] Getting list of installed packages by upgrade code
    [14:18:29.165] [  1] [INFO ] GetInstalledPackagesByUpgradeCode {bbf5d0bf-d8ae-4e66-91ab-b7023c1f288c}: no registered products found.
    [14:18:29.180] [  1] [INFO ] Determining installation action for Microsoft Azure Active Directory Module for Windows PowerShell
    [14:18:29.274] [  1] [INFO ] CheckInstallationState: Packaged version (1.1.281.0), Installed version (1.1.281.0).
    [14:18:29.399] [  1] [INFO ] CheckInstallationState: AAD PowerShell is up to date (1.1.281.0 <= 1.1.281.0).
    [14:18:29.399] [  1] [INFO ] Performing direct lookup of upgrade codes for: Microsoft Visual C++ 2013 Redistributable Package
    [14:18:29.399] [  1] [VERB ] Getting list of installed packages by upgrade code
    [14:18:29.399] [  1] [INFO ] GetInstalledPackagesByUpgradeCode {20400cf0-de7c-327e-9ae4-f0f38d9085f8}: verified product code {a749d8e6-b613-3be3-8f5f-045c84eba29b}.
    [14:18:29.399] [  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:18:29.399] [  1] [INFO ] Determining installation action for Microsoft Visual C++ 2013 Redistributable Package (20400cf0-de7c-327e-9ae4-f0f38d9085f8)
    [14:18:29.399] [  1] [INFO ] Product Microsoft Visual C++ 2013 Redistributable Package (version 12.0.21005) is installed.
    [14:18:29.399] [  1] [INFO ] Performing direct lookup of upgrade codes for: Microsoft Directory Sync Tool
    [14:18:29.415] [  1] [VERB ] Getting list of installed packages by upgrade code
    [14:18:29.415] [  1] [INFO ] GetInstalledPackagesByUpgradeCode {bef7e7d9-2ac2-44b9-abfc-3335222b92a7}: no registered products found.
    [14:18:29.415] [  1] [INFO ] GetInstalledPackagesByUpgradeCode {dc9e604e-37b0-4efc-b429-21721cf49d0d}: no registered products found.
    [14:18:29.415] [  1] [INFO ] GetInstalledPackagesByUpgradeCode {545334d7-13cd-4bab-8da1-2775fa8cf7c2}: verified product code {69e51737-daac-40e0-bbd6-816345d62a5a}.
    [14:18:29.415] [  1] [VERB ] Package=Microsoft Azure AD Connect synchronization services, Version=1.1.281.0, ProductCode=69e51737-daac-40e0-bbd6-816345d62a5a, UpgradeCode=545334d7-13cd-4bab-8da1-2775fa8cf7c2
    [14:18:29.415] [  1] [INFO ] Determining installation action for Microsoft Directory Sync Tool UpgradeCodes {bef7e7d9-2ac2-44b9-abfc-3335222b92a7}, {dc9e604e-37b0-4efc-b429-21721cf49d0d}
    [14:18:29.415] [  1] [INFO ] DirectorySyncComponent: Product Microsoft Directory Sync Tool is not installed.
    [14:18:29.415] [  1] [INFO ] Performing direct lookup of upgrade codes for: Azure AD Sync Engine
    [14:18:29.415] [  1] [VERB ] Getting list of installed packages by upgrade code
    [14:18:29.415] [  1] [INFO ] GetInstalledPackagesByUpgradeCode {545334d7-13cd-4bab-8da1-2775fa8cf7c2}: verified product code {69e51737-daac-40e0-bbd6-816345d62a5a}.
    [14:18:29.415] [  1] [INFO ] GetInstalledPackagesByUpgradeCode {dc9e604e-37b0-4efc-b429-21721cf49d0d}: no registered products found.
    [14:18:29.415] [  1] [INFO ] GetInstalledPackagesByUpgradeCode {bef7e7d9-2ac2-44b9-abfc-3335222b92a7}: no registered products found.
    [14:18:29.415] [  1] [VERB ] Package=Microsoft Azure AD Connect synchronization services, Version=1.1.281.0, ProductCode=69e51737-daac-40e0-bbd6-816345d62a5a, UpgradeCode=545334d7-13cd-4bab-8da1-2775fa8cf7c2
    [14:18:29.430] [  1] [INFO ] Determining installation action for Azure AD Sync Engine (545334d7-13cd-4bab-8da1-2775fa8cf7c2)
    [14:18:29.587] [  1] [VERB ] Check product code installed: {4e67cad2-d71b-4f06-a7ae-bb49c566bb93}
    [14:18:29.587] [  1] [INFO ] GetProductInfoProperty({4e67cad2-d71b-4f06-a7ae-bb49c566bb93}, VersionString): unknown product
    [14:18:29.680] [  1] [INFO ] AzureADSyncEngineComponent: Product Azure AD Sync Engine (version 1.1.281.0) is installed.
    [14:18:29.680] [  1] [INFO ] Performing direct lookup of upgrade codes for: Azure AD Connect Synchronization Agent
    [14:18:29.680] [  1] [VERB ] Getting list of installed packages by upgrade code
    [14:18:29.680] [  1] [INFO ] GetInstalledPackagesByUpgradeCode {3cd653e3-5195-4ff2-9d6c-db3dacc82c25}: no registered products found.
    [14:18:29.680] [  1] [INFO ] Determining installation action for Azure AD Connect Synchronization Agent (3cd653e3-5195-4ff2-9d6c-db3dacc82c25)
    [14:18:29.680] [  1] [INFO ] Product Azure AD Connect Synchronization Agent is not installed.
    [14:18:29.680] [  1] [INFO ] Performing direct lookup of upgrade codes for: Azure AD Connect Health agent for sync
    [14:18:29.680] [  1] [VERB ] Getting list of installed packages by upgrade code
    [14:18:29.680] [  1] [INFO ] GetInstalledPackagesByUpgradeCode {114fb294-8aa6-43db-9e5c-4ede5e32886f}: no registered products found.
    [14:18:29.680] [  1] [INFO ] Determining installation action for Azure AD Connect Health agent for sync (114fb294-8aa6-43db-9e5c-4ede5e32886f)
    [14:18:29.680] [  1] [INFO ] Product Azure AD Connect Health agent for sync is not installed.
    [14:18:29.680] [  1] [INFO ] Performing direct lookup of upgrade codes for: Azure AD Connect agent
    [14:18:29.680] [  1] [VERB ] Getting list of installed packages by upgrade code
    [14:18:29.680] [  1] [INFO ] GetInstalledPackagesByUpgradeCode {a8b03820-e701-44d7-b65e-6ffbb866a861}: no registered products found.
    [14:18:29.680] [  1] [INFO ] Determining installation action for Azure AD Connect agent (a8b03820-e701-44d7-b65e-6ffbb866a861)
    [14:18:29.680] [  1] [INFO ] Product Azure AD Connect agent is not installed.
    [14:18:29.680] [  1] [INFO ] Performing direct lookup of upgrade codes for: Microsoft SQL Server 2012 Command Line Utilities
    [14:18:29.680] [  1] [VERB ] Getting list of installed packages by upgrade code
    [14:18:29.680] [  1] [INFO ] GetInstalledPackagesByUpgradeCode {52446750-c08e-49ef-8c2e-1e0662791e7b}: verified product code {9d573e71-1077-4c7e-b4db-4e22a5d2b48b}.
    [14:18:29.680] [  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:18:29.680] [  1] [INFO ] Determining installation action for Microsoft SQL Server 2012 Command Line Utilities (52446750-c08e-49ef-8c2e-1e0662791e7b)
    [14:18:29.680] [  1] [INFO ] Product Microsoft SQL Server 2012 Command Line Utilities (version 11.0.2100.60) is installed.
    [14:18:29.680] [  1] [INFO ] Performing direct lookup of upgrade codes for: Microsoft SQL Server 2012 Express LocalDB
    [14:18:29.680] [  1] [VERB ] Getting list of installed packages by upgrade code
    [14:18:29.680] [  1] [INFO ] GetInstalledPackagesByUpgradeCode {c3593f78-0f11-4d8d-8d82-55460308e261}: verified product code {6c026a91-640f-4a23-8b68-05d589cc6f18}.
    [14:18:29.696] [  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:18:29.696] [  1] [INFO ] Determining installation action for Microsoft SQL Server 2012 Express LocalDB (c3593f78-0f11-4d8d-8d82-55460308e261)
    [14:18:29.696] [  1] [INFO ] Product Microsoft SQL Server 2012 Express LocalDB (version 11.1.3000.0) is installed.
    [14:18:29.696] [  1] [INFO ] Performing direct lookup of upgrade codes for: Microsoft SQL Server 2012 Native Client
    [14:18:29.696] [  1] [VERB ] Getting list of installed packages by upgrade code
    [14:18:29.696] [  1] [INFO ] GetInstalledPackagesByUpgradeCode {1d2d1fa0-e158-4798-98c6-a296f55414f9}: verified product code {49d665a2-4c2a-476e-9ab8-fcc425f526fc}.
    [14:18:29.696] [  1] [VERB ] Package=Microsoft SQL Server 2012 Native Client , Version=11.0.2100.60, ProductCode=49d665a2-4c2a-476e-9ab8-fcc425f526fc, UpgradeCode=1d2d1fa0-e158-4798-98c6-a296f55414f9
    [14:18:29.696] [  1] [INFO ] Determining installation action for Microsoft SQL Server 2012 Native Client (1d2d1fa0-e158-4798-98c6-a296f55414f9)
    [14:18:29.696] [  1] [INFO ] Product Microsoft SQL Server 2012 Native Client (version 11.0.2100.60) is installed.
    [14:18:29.696] [  1] [INFO ] Performing direct lookup of upgrade codes for: Microsoft Azure AD Connect Azure AD Connector
    [14:18:29.696] [  1] [VERB ] Getting list of installed packages by upgrade code
    [14:18:29.696] [  1] [INFO ] GetInstalledPackagesByUpgradeCode {fb3feca7-5190-43e7-8d4b-5eec88ed9455}: no registered products found.
    [14:18:29.696] [  1] [INFO ] Determining installation action for Microsoft Azure AD Connect Azure AD Connector (fb3feca7-5190-43e7-8d4b-5eec88ed9455)
    [14:18:29.696] [  1] [INFO ] Product Microsoft Azure AD Connect Azure AD Connector is not installed.
    [14:18:29.696] [  1] [INFO ] Determining installation action for Microsoft Azure AD Connection Tool.
    [14:18:29.805] [  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:18:29.805] [  1] [INFO ] Product Microsoft Azure AD Connection Tool is not installed.
    [14:18:29.805] [  1] [INFO ] Performing direct lookup of upgrade codes for: Azure Active Directory Connect
    [14:18:29.805] [  1] [VERB ] Getting list of installed packages by upgrade code
    [14:18:29.805] [  1] [INFO ] GetInstalledPackagesByUpgradeCode {d61eb959-f2d1-4170-be64-4dc367f451ea}: verified product code {da95097a-3eaf-4145-a2c8-4b12381652dc}.
    [14:18:29.805] [  1] [VERB ] Package=Microsoft Azure AD Connect, Version=1.1.281.0, ProductCode=da95097a-3eaf-4145-a2c8-4b12381652dc, UpgradeCode=d61eb959-f2d1-4170-be64-4dc367f451ea
    [14:18:29.805] [  1] [INFO ] Determining installation action for Azure Active Directory Connect (d61eb959-f2d1-4170-be64-4dc367f451ea)
    [14:18:29.805] [  1] [INFO ] Product Azure Active Directory Connect (version 1.1.281.0) is installed.
    [14:18:29.805] [  1] [INFO ] DetectInstalledComponents stage: Sync engine is already installed and meets version requirement.
    [14:18:29.805] [  1] [INFO ] DetectInstalledComponents: Marking Sync Engine as successfully installed.
    [14:18:30.087] [  1] [INFO ] Checking for DirSync conditions.
    [14:18:30.087] [  1] [INFO ] DirSync not detected. Checking for AADSync/AADConnect upgrade conditions.
    [14:18:30.087] [  1] [INFO ] Initial configuration is incomplete.
    [14:18:33.149] [  1] [INFO ] Opened log file at path C:\Users\administrator.STPAUL\AppData\Local\AADConnect\trace-20161027-141828.log


    • Edited by GaSayler Thursday, October 27, 2016 7:56 PM
    Thursday, October 27, 2016 7:53 PM

Answers

All replies

  • Hi,
    Have you tried to logoff and logon and rerun the migration to see if it works? In addition, please have a try to use a member account of enterprise admin group and run again.
    Here is a similar thread, you could refer to:
    Windows Azure Active Directory Sync Setup
    https://social.msdn.microsoft.com/Forums/en-US/1f104bc6-04cd-408d-9eab-d051a402d906/windows-azure-active-directory-sync-setup?forum=WindowsAzureAD
    In addition, since the issue relates to Azure AD, I would still suggest you post the question in Azure AD forum.
    https://social.msdn.microsoft.com/Forums/en-US/home?forum=WindowsAzureAD
    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.
    Best regards,
    Wendy

    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    • Proposed as answer by Wendy Jiang Wednesday, November 2, 2016 5:58 AM
    • Marked as answer by Wendy Jiang Monday, November 7, 2016 8:59 AM
    Friday, October 28, 2016 6:23 AM
  • Hi,

    I am checking how the issue going, if you still have any questions, please feel free to contact us.

    Appreciate for your feedback.

    Best regards,

    Wendy


    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    Wednesday, November 2, 2016 5:58 AM