DirSync to Azure AD Connect upgradeComments (0)

Introduction

This article will describe how to upgrade DirSync to Azure AD Connect.

There are two possibilities here; either upgrade the current one as an in-place upgrade or move the “service” to another server. Only the parallel deployment will be covered in this article.





Note: if having more than 50,000 objects the prefered method is to do a parallel deployment to another server.





Pre-requirements




  1. Azure AD Connect must be installed on Windows Server 2008 or later

  2. Azure AD Connect can not be installed on Small Business Server or Windows Server Essentials

  3. The Active Directory forest functional level must be Windows Server 2003 or later

  4. Make sure your server have the necessary patch levels

  5. Install .NET Framework 4.5.1 or later and Microsoft PowerShell 3.0 or later

  6. If planning of using password synchronization, the Azure AD Connect server must be on Windows Server 2008 R2 SP1 or later





Export the configuration from DirSync server




  1. Install Azure AD Connect on the DirSync server

  2. Start the Installation and exit the installation when you see the Welcome to Azure AD Connect screen

  3. From the installation location execute the following command:

  4. AzureADConnect.exe /ForceExport

  5. Click Export Settings button

  6. Exit the wizard on the DirSync server





Import the configuration from DirSync server




  1. Install Azure AD Connect on the DirSync server

  2. Start the Installation and exit the installation when you see the Welcome to Azure AD Connect screen

  3. From the installation location execute the following command:

  4. AzureADConnect.exe /Migrate

  5. Browse and select the settingsfile exported in the previous steps

  6. Choose advanced mote if needed

  7. On the Ready to configure page, leave the Start the synchronization process as soon as the configuration completes checked. The server is now in staging mode so changes are not exported to Azure AD.

  8. Click Install

  9. After the installation has completed, sign out and sign in again to Windows before you use Synchronization Service Manager, Synchronization Rule Editor, or try to make any other configuration changes.





Verify that Azure AD Connect is ready to begin synchronization

To verify that Azure AD Connect is ready to take over from DirSync, you need to open Synchronization Service Manager in the group Azure AD Connect from the start menu.



In the application, go to the Operations tab. On this tab, confirm that the following operations have completed:




  • Import on the AD Connector

  • Import on the Azure AD Connector

  • Full Sync on the AD Connector

  • Full Sync on the Azure AD Connector





Power down or uninstall DirSync

If you prefer to uninstall DirSync later, you can also temporarily shut down the server or disable the service. If something goes wrong, this method allows you to re-enable it. However, it is not expected that the next step will fail so this should not be needed.



With DirSync uninstalled or disabled, there is no active server exporting to Azure AD. The next step to enable Azure AD Connect must be completed before any changes in your on-premises Active Directory will continue to be synchronized to Azure AD.





Enable Azure AD Connect

After installation, reopening Azure AD connect will allow you to make additional configuration changes. Start Azure AD Connect from the start menu or from the shortcut on the desktop




  1. Select Configure staging mode

  2. Turn off staging by unchecking the Enabled staging mode checkbox.

  3. Click the Next button

  4. On the confirmation page, click the install button.





Azure AD Connect is now your active server.


Comments

You need sign in to comment! Sign up today!