This article covers the steps to upgrade Azure AD connect on your Windows Server. We will download the latest version of Azure AD Connect and perform In place upgrade of Azure AD Connect.
There are different methods to upgrade your Azure Active Directory (Azure AD) Connect installation to the latest release. I will be covering the simple and easy way to upgrade Azure AD connect.
The Azure Active Directory (Azure AD) team regularly updates Azure AD Connect with new features and functionality. You must always run the latest version of Azure AD Connect to receive an optimal support experience.
Microsoft has published a clear documentation on Azure AD connect and ways to upgrade it. I would recommend reading the article to have a clear understanding about the Azure AD connect upgrade.
Azure AD Connect makes integration easy and simplifies the management of your on-premises and cloud identity infrastructure.
Step 1 – Check Azure AD Connect Version
In this step, we will check the installed Azure AD Connect version. If you haven’t updated Azure AD Connect since long time, you would definitely be running an older version of Azure AD connect.
You can find the Azure AD Connect version using three ways.
- Programs and Features
- Azure Active Directory Synchronization Service
You can refer the following guide to find the installed Azure AD connect version – https://www.prajwaldesai.com/check-azure-ad-connect-version/
Out of all the easiest way to determine Microsoft Azure AD connect version is via Programs and Features. On your Windows Server, click Start > Control Panel > Programs and Features.
From the list of installed programs, look for Microsoft Azure AD Connect and you can find the installed version. In the below example, I am running Azure AD Connect version
For more ways to check the Azure AD connect version, you can go through the following video.
Step 2 – Download the latest Azure AD Connect Version
Before you perform Azure AD connect upgrade, you can download the latest version of the AD connect from Microsoft site. Go to Microsoft Azure Active Directory Connect page and download the latest version of Azure AD connect tool. Save the AzureADConnect.msi installer and copy it to the Windows Server for upgrade.
Step 3 – Export Azure AD Connect Configuration
In this step, we will export or backup the Azure Active Directory connect configuration to a file. I would recommend this step even if you are taking regular backups of your server. This is a recommended step before you upgrade the Azure AD connect to the latest version.
On your Windows Server, click Start > Launch Azure AD Connect tool. On the Welcome to Azure AD Connect page, click Configure.
From the list of Additional tasks, select View or export current configuration and click Next.
On the Review your solution window, click Export Settings. This exports the settings from Azure AD to a .json format file.
Save the Azure AD connect export sync policy file to a shared folder or to a different Windows Server. That completes the steps to export the Azure AD connect configuration.
Step 4 – Upgrade Azure AD Connect
In this step, we will upgrade Azure AD connect to the latest version. Right-click the AzureADConnect.msi file and click Install. The setup extracts the files required for Azure AD connect upgrade.
You will be presented with Upgrade Azure Active Directory Connect window. An older version of Azure AD Connect is installed and will be upgraded using your existing synchronization and privacy settings.
Azure AD connect will be upgraded. Synchronization will be stopped during upgrade and will not occur until the Azure AD Connect wizard is finished. Click Upgrade.
Enter the Azure AD global administrator or hybrid identity admin credentials and click Next.
On the Configure window, note the following message.
Once you click Upgrade, the following changes will occur.
- Upgrade Azure Active Directory synchronization configuration
- Enable Auto-Upgrade
Ensure the following option is selected – Start the synchronization process when configuration completes. Click Upgrade.
The Azure AD Connect upgrade is successful. You see the message Upgrade from Azure Active Directory sync has finished successfully. Click Exit. This completes the Azure AD connect upgrade.
Finally, let’s check the new Azure AD connect version. Go to Control Panel > Programs and Features. Notice the new Microsoft Azure AD connect version is 22.214.171.124.
Along with AD connect, the Azure AD connect synchronization services and Azure AD connect health agent for sync is also updated to the latest version.