ADconnect on Windows Server 2016 DC

Raul Guchinife 120 Reputation points
2024-05-28T09:29:02.9733333+00:00

Hi, I have a Windows server 2016 as DC.

On this server I have ADconnect installed to synchronize users in Ou's against AzureAD.

I want to de-promote this server from DC to member server. If I do this de-promotion:

  • Will it keep the ADconnect configuration?

In case I want to move ADconnect to another server:

  • Can I export and import the ADconnect configuration to another server?

Thank you

Microsoft Office Online Server
Microsoft Office Online Server
Microsoft on-premises server product that runs Office Online. Previously known as Office Web Apps Server.
647 questions
Windows Server 2016
Windows Server 2016
A Microsoft server operating system that supports enterprise-level management updated to data storage.
2,523 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
13,220 questions
0 comments No comments
{count} votes

Accepted answer
  1. Jing Zhou 7,185 Reputation points Microsoft Vendor
    2024-05-28T09:56:53.1633333+00:00

    Hello,

    Thank you for posting in Q&A forum.

    If you want to downgrade Windows Server 2016 from a domain controller to a member server, The ADconnect configuration is usually retained. ADconnect configuration information is typically stored in Azure AD, rather than being specific to a single domain controller. Therefore, when you downgrade a server to a member server, The ADconnect configuration should still exist and synchronization should continue to function properly.

    If you want to migrate ADconnect to another server, you can export and import ADconnect configurations.

    You can use the PowerShell command to export the current ADconnect configuration,

    Import-Module ADSync

    Export-ADSyncServerConfiguration -Path <ExportFilePath>

    In the above command, replace<ExportFilePath>with the file path where you want to export the configuration. This will export the current ADconnect configuration to the specified file.

    Then use the same PowerShell command on the new server to import the configuration. This ensures that you retain the existing configuration and settings when migrating ADconnect.

    Import-Module ADSync

    Import-ADSyncServerConfiguration -Path <ExportFilePath>

    In the above command, replace<ExportFilePath>with the file path containing the ADconnect configuration to be imported. This will import the ADconnect configuration from the specified file to the new server.

    Please ensure to back up your data before executing these commands to prevent unexpected situations from occurring. I hope these commands are helpful to you! If you need further guidance or have any other questions, please feel free to let me know.

    Best regards,

    Jill Zhou


    If the Answer is helpful, please click "Accept Answer" and upvote it.

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.