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.