Put the old server in staging mode, then disable staging mode on the new server and monitor
If everything is working as expected, then you can uninstall the old server and delete the Health Agent for it in Azure
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hello Team,
I am currently in the process of migrating Azure AD Connect from one server (Windows Server 2012 R2) to another server (Windows Server 2022).
This is my first time performing this migration, so I have sought assistance from various technical forums. After researching, I have identified two standard migration steps (described below) from a trusted source. I kindly request you to review these steps and advise me on the option that involves less risk and ensures a smooth migration. If you believe any modifications are necessary, please let me know, and I will be happy to incorporate them before proceeding further.
Please note:
The difference between Migration Step 1 and Migration Step 2 is that Migration Step 1 only exports only one JSON file for Azure AD Connect,
while Migration Step 2 exports sub directories as well,
I do not want to miss any configurations from the existing server, so kindly let me know which approach I need to follow.
__Migration step: 1__
Here are the detailed steps for each of these tasks:
Exporting the Azure AD Connect configuration.
Installing Azure AD Connect on the new server
Importing the Azure AD Connect configuration
Configuring the new server to use the same Azure AD tenant and directory synchronization settings as the old server
__Migration step: 2__
1. Run the following script to export the configuration,
C:\Program Files\Microsoft Azure Active Directory Connect\Tools\MigrateSettings.ps1 -ServerConfiguration "c:\AdConnect"
2. Copy the entire directory to the new staging server or just save it for backup on another server.
3. Install Azure AD connect on a new server.
4. Import the JSON file using “Import Synchronization settings”
Put the old server in staging mode, then disable staging mode on the new server and monitor
If everything is working as expected, then you can uninstall the old server and delete the Health Agent for it in Azure
Everything is explained in the below article:
Use the wizard in AADConnect - option 1
You would only use option 2 if:
If an existing server doesn't support settings management, you can either choose to upgrade the server in-place or migrate the settings for use on a new staging server
Hello,
On the new server where I want to install Azure AD Connect, I unfortunately don't have the import option.
How can I get it?
It's a Windows server 2012 r2 datacenter server