<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Azure AD Connect 2.0 Archives - the Sysadmin Channel</title>
	<atom:link href="https://thesysadminchannel.com/tag/azure-ad-connect-2-0/feed/" rel="self" type="application/rss+xml" />
	<link>https://thesysadminchannel.com/tag/azure-ad-connect-2-0/</link>
	<description>Documenting My Life as a System Administrator</description>
	<lastBuildDate>Sat, 21 Aug 2021 08:56:07 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.3</generator>
<site xmlns="com-wordpress:feed-additions:1">144174110</site>	<item>
		<title>How To Upgrade To Azure AD Connect 2.0</title>
		<link>https://thesysadminchannel.com/how-to-upgrade-to-azure-ad-connect-2-0/</link>
					<comments>https://thesysadminchannel.com/how-to-upgrade-to-azure-ad-connect-2-0/#comments</comments>
		
		<dc:creator><![CDATA[Paul Contreras]]></dc:creator>
		<pubDate>Sat, 21 Aug 2021 08:56:07 +0000</pubDate>
				<category><![CDATA[Azure]]></category>
		<category><![CDATA[Office365]]></category>
		<category><![CDATA[AD Connect Version 2]]></category>
		<category><![CDATA[Azure AD Connect 2.0]]></category>
		<category><![CDATA[Enable TLS 1.2 For Azure AD Connect v2.0]]></category>
		<category><![CDATA[Hybrid Identity Administrator]]></category>
		<guid isPermaLink="false">https://thesysadminchannel.com/?p=1871</guid>

					<description><![CDATA[<p>Microsoft recently announced its release of Azure AD Connect 2.0 and today we&#8217;re going to upgrade our lab from 1.4.18.0 to 2.0.10.0. If you&#8217;ve never installed Azure AD Connect, check out our video to install it from scratch. In our&#8230; <a href="https://thesysadminchannel.com/how-to-upgrade-to-azure-ad-connect-2-0/" class="more-link">Continue Reading <span class="meta-nav">&#8594;</span></a></p>
<p>The post <a href="https://thesysadminchannel.com/how-to-upgrade-to-azure-ad-connect-2-0/">How To Upgrade To Azure AD Connect 2.0</a> appeared first on <a href="https://thesysadminchannel.com">the Sysadmin Channel</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Microsoft recently announced its release of <strong>Azure AD Connect 2.0</strong> and today we&#8217;re going to upgrade our lab from 1.4.18.0 to 2.0.10.0. If you&#8217;ve never <a href="https://thesysadminchannel.com/azure-ad-connect-best-practices-installation-guide/" rel="noopener" target="_blank">installed Azure AD Connect</a>, check out our video to install it from scratch.  In our case, since we&#8217;re using a local database, we&#8217;re going to upgrade.  Another option you could consider is doing a <a href="https://docs.microsoft.com/en-us/azure/active-directory/hybrid/how-to-upgrade-previous-version#swing-migration" rel="noopener" target="_blank">swing migration</a> so you don&#8217;t have to touch your original setup.</p>
<p>Per Microsoft, several of the older components that Azure AD Connect uses have been scheduled for deprecation.  To mitigate the issue, they bundled as many of these newer components into a single release so you only have to update once.</p>
<h2>So What Are the Major Changes in Azure AD Connect 2.0</h2>
<p>If you recall, the previous version of AAD Connect shipped with SQL Server 2012. Seeing as how SQL 2012 will be out of extended support in 2022, they&#8217;ve decided to bundle SQL Server 2019 when you install it.</p>
<p>&nbsp;<br />
Another major note to take in account is the new version of AAD Connect will now have Microsoft Authentication Library (MSAL), where as the previous version had Active Directory Authentication Library (ADAL) installed.  MSAL uses Microsoft Graph Endpoints on the backend to make sync processes much faster.</p>
<p>&nbsp;<br />
Next up is Server 2012 and Server 2012 R2 are no longer supported for AD Connect and with that is a requirement to have PowerShell 5.0 installed on the machine.  The good thing is that Server 2016 and Server 2019 have Powershell 5.0 installed by default.</p>
<p>&nbsp;<br />
Furthermore, if you have tried to install AAD Connect v2.0 and you&#8217;re not on Server 2019 you might have noticed that you&#8217;re immediately prompted with a warning of an incorrect TLS version.  If you&#8217;re doing your homework before installing the new version, just know that TLS 1.0 and TLS 1.1 are protocols that are being deprecated by Microsoft because they are now deemed unsafe. <strong>This release of Azure AD Connect will only support TLS 1.2</strong>. If your server does not support TLS 1.2 you will need to enable this before you can deploy Azure AD Connect v2.0.</p>
<p><a href="https://thesysadminchannel.com/wp-content/uploads/2021/08/Incorrect-version-of-TLS.png" target="_blank" rel="noopener"><img fetchpriority="high" decoding="async" src="https://thesysadminchannel.com/wp-content/uploads/2021/08/Incorrect-version-of-TLS.png" alt="Incorrect version of TLS" width="880" height="620" class="aligncenter size-full wp-image-3338" srcset="https://thesysadminchannel.com/wp-content/uploads/2021/08/Incorrect-version-of-TLS.png?v=1629523855 880w, https://thesysadminchannel.com/wp-content/uploads/2021/08/Incorrect-version-of-TLS-768x541.png?v=1629523855 768w" sizes="(max-width: 880px) 100vw, 880px" /></a></p>
<p>&nbsp;</p>
<h2>Enable TLS 1.2 For Azure AD Connect v2.0</h2>
<p><a href="https://docs.microsoft.com/en-us/azure/active-directory/hybrid/reference-connect-tls-enforcement" rel="noopener" target="_blank">Straight out of their documentation</a>, Microsoft has already posted the Powershell script to enable TLS 1.2.  Here is the exact replica so you don&#8217;t have to go to another place. Make sure you Powershell as an Administrator because you will change the state of the machine.</p>
<pre class="brush: powershell; title: ; notranslate">

New-Item 'HKLM:\SOFTWARE\WOW6432Node\Microsoft\.NETFramework\v4.0.30319' -Force | Out-Null
New-ItemProperty -path 'HKLM:\SOFTWARE\WOW6432Node\Microsoft\.NETFramework\v4.0.30319' -name 'SystemDefaultTlsVersions' -value '1' -PropertyType 'DWord' -Force | Out-Null
New-ItemProperty -path 'HKLM:\SOFTWARE\WOW6432Node\Microsoft\.NETFramework\v4.0.30319' -name 'SchUseStrongCrypto' -value '1' -PropertyType 'DWord' -Force | Out-Null
New-Item 'HKLM:\SOFTWARE\Microsoft\.NETFramework\v4.0.30319' -Force | Out-Null
New-ItemProperty -path 'HKLM:\SOFTWARE\Microsoft\.NETFramework\v4.0.30319' -name 'SystemDefaultTlsVersions' -value '1' -PropertyType 'DWord' -Force | Out-Null
New-ItemProperty -path 'HKLM:\SOFTWARE\Microsoft\.NETFramework\v4.0.30319' -name 'SchUseStrongCrypto' -value '1' -PropertyType 'DWord' -Force | Out-Null
New-Item 'HKLM:\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2\Server' -Force | Out-Null
New-ItemProperty -path 'HKLM:\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2\Server' -name 'Enabled' -value '1' -PropertyType 'DWord' -Force | Out-Null	
New-ItemProperty -path 'HKLM:\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2\Server' -name 'DisabledByDefault' -value 0 -PropertyType 'DWord' -Force | Out-Null
New-Item 'HKLM:\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2\Client' -Force | Out-Null
New-ItemProperty -path 'HKLM:\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2\Client' -name 'Enabled' -value '1' -PropertyType 'DWord' -Force | Out-Null
New-ItemProperty -path 'HKLM:\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2\Client' -name 'DisabledByDefault' -value 0 -PropertyType 'DWord' -Force | Out-Null
Write-Host 'TLS 1.2 has been enabled.'

</pre>
<p>Once that is ran, go ahead and reboot the server to make sure you install AAD Connect on a fresh system.</p>
<h2>Upgrade To Azure AD Connect 2.0 Step by Step</h2>
<p>First things first, you&#8217;ll need to download the latest version on Microsoft&#8217;s website <a href="https://www.microsoft.com/en-us/download/details.aspx?id=47594" rel="noopener" target="_blank">here</a>.</p>
<ul>
<li>After the initial MSI is ran and the setup is completed, you&#8217;ll be prompted with the welcome screen</li>
</ul>
<p><a href="https://thesysadminchannel.com/wp-content/uploads/2021/08/Welcome-to-Azure-AD-Connect.png" target="_blank" rel="noopener"><img decoding="async" src="https://thesysadminchannel.com/wp-content/uploads/2021/08/Welcome-to-Azure-AD-Connect.png" alt="Welcome to Azure AD Connect" width="880" height="620" class="aligncenter size-full wp-image-3342" srcset="https://thesysadminchannel.com/wp-content/uploads/2021/08/Welcome-to-Azure-AD-Connect.png?v=1629526606 880w, https://thesysadminchannel.com/wp-content/uploads/2021/08/Welcome-to-Azure-AD-Connect-768x541.png?v=1629526606 768w" sizes="(max-width: 880px) 100vw, 880px" /></a></p>
<p>&nbsp;</p>
<ul>
<li>Select Upgrade when you reach this prompt</li>
</ul>
<p><a href="https://thesysadminchannel.com/wp-content/uploads/2021/08/Upgrade-to-Azure-Active-Directory-Connect.png" target="_blank" rel="noopener"><img decoding="async" src="https://thesysadminchannel.com/wp-content/uploads/2021/08/Upgrade-to-Azure-Active-Directory-Connect.png" alt="Upgrade to Azure Active Directory Connect" width="880" height="620" class="aligncenter size-full wp-image-3343" srcset="https://thesysadminchannel.com/wp-content/uploads/2021/08/Upgrade-to-Azure-Active-Directory-Connect.png?v=1629526743 880w, https://thesysadminchannel.com/wp-content/uploads/2021/08/Upgrade-to-Azure-Active-Directory-Connect-768x541.png?v=1629526743 768w" sizes="(max-width: 880px) 100vw, 880px" /></a></p>
<p>&nbsp;</p>
<ul>
<li>Azure Active Directory Connect will now upgrade the Sync Engine</li>
</ul>
<p><a href="https://thesysadminchannel.com/wp-content/uploads/2021/08/Upgrade-to-Azure-Active-Directory-Connect-Sync-Engine.png" target="_blank" rel="noopener"><img decoding="async" src="https://thesysadminchannel.com/wp-content/uploads/2021/08/Upgrade-to-Azure-Active-Directory-Connect-Sync-Engine.png" alt="Upgrade to Azure Active Directory Connect Sync Engine" width="880" height="620" class="aligncenter size-full wp-image-3345" srcset="https://thesysadminchannel.com/wp-content/uploads/2021/08/Upgrade-to-Azure-Active-Directory-Connect-Sync-Engine.png?v=1629531379 880w, https://thesysadminchannel.com/wp-content/uploads/2021/08/Upgrade-to-Azure-Active-Directory-Connect-Sync-Engine-768x541.png?v=1629531379 768w" sizes="(max-width: 880px) 100vw, 880px" /></a></p>
<p>&nbsp;</p>
<ul>
<li>Once the Sync Engine is upgraded, you will be prompted to enter in credentials</li>
</ul>
<p><a href="https://thesysadminchannel.com/wp-content/uploads/2021/08/Connect-to-Azure-AD-Hybrid-Identity.png" target="_blank" rel="noopener"><img decoding="async" src="https://thesysadminchannel.com/wp-content/uploads/2021/08/Connect-to-Azure-AD-Hybrid-Identity.png" alt="Connect to Azure AD Hybrid Identity" width="880" height="620" class="aligncenter size-full wp-image-3349" srcset="https://thesysadminchannel.com/wp-content/uploads/2021/08/Connect-to-Azure-AD-Hybrid-Identity.png?v=1629531947 880w, https://thesysadminchannel.com/wp-content/uploads/2021/08/Connect-to-Azure-AD-Hybrid-Identity-768x541.png?v=1629531947 768w" sizes="(max-width: 880px) 100vw, 880px" /></a></p>
<p>&nbsp;</p>
<ul>
<li>AAD Connect no longer needs a Global Administrator to upgrade, you can now use a <strong>Hybrid Identity Administrator</strong></li>
<li>Following the least privilege model, we&#8217;ll enter in a Hybrid Identity Administrator account that also needs to be activated with PIM</li>
<li>To continue the installation, enter a Global Administrator -or Hybrid Identity Administrator account (we&#8217;ll activate our hybrid identity role)</li>
</ul>
<p><a href="https://thesysadminchannel.com/wp-content/uploads/2021/08/Hybrid-Identity-Administrator-PIM-Role.png" target="_blank" rel="noopener"><img decoding="async" src="https://thesysadminchannel.com/wp-content/uploads/2021/08/Hybrid-Identity-Administrator-PIM-Role.png" alt="Hybrid Identity Administrator PIM Role" width="1031" height="385" class="aligncenter size-full wp-image-3347" srcset="https://thesysadminchannel.com/wp-content/uploads/2021/08/Hybrid-Identity-Administrator-PIM-Role.png?v=1629531723 1031w, https://thesysadminchannel.com/wp-content/uploads/2021/08/Hybrid-Identity-Administrator-PIM-Role-1024x382.png?v=1629531723 1024w, https://thesysadminchannel.com/wp-content/uploads/2021/08/Hybrid-Identity-Administrator-PIM-Role-768x287.png?v=1629531723 768w" sizes="(max-width: 1031px) 100vw, 1031px" /></a></p>
<p>&nbsp;</p>
<ul>
<li>Once Azure has confirmed the credentials, select Upgrade to start the sync process.</li>
</ul>
<p><a href="https://thesysadminchannel.com/wp-content/uploads/2021/08/Ready-to-Config-AAD-Connect.png" target="_blank" rel="noopener"><img decoding="async" src="https://thesysadminchannel.com/wp-content/uploads/2021/08/Ready-to-Config-AAD-Connect.png" alt="Ready to Config AAD Connect" width="880" height="620" class="aligncenter size-full wp-image-3352" srcset="https://thesysadminchannel.com/wp-content/uploads/2021/08/Ready-to-Config-AAD-Connect.png?v=1629532457 880w, https://thesysadminchannel.com/wp-content/uploads/2021/08/Ready-to-Config-AAD-Connect-768x541.png?v=1629532457 768w" sizes="(max-width: 880px) 100vw, 880px" /></a></p>
<p>&nbsp;</p>
<ul>
<li>The setup will now run several update processes</li>
</ul>
<p><a href="https://thesysadminchannel.com/wp-content/uploads/2021/08/Configuring-AAD-Connect-Setup.png" target="_blank" rel="noopener"><img decoding="async" src="https://thesysadminchannel.com/wp-content/uploads/2021/08/Configuring-AAD-Connect-Setup.png" alt="Configuring AAD Connect Setup" width="880" height="620" class="aligncenter size-full wp-image-3353" srcset="https://thesysadminchannel.com/wp-content/uploads/2021/08/Configuring-AAD-Connect-Setup.png?v=1629532650 880w, https://thesysadminchannel.com/wp-content/uploads/2021/08/Configuring-AAD-Connect-Setup-768x541.png?v=1629532650 768w" sizes="(max-width: 880px) 100vw, 880px" /></a></p>
<p>&nbsp;</p>
<ul>
<li>If everything was successful, you should see Configuration Complete</li>
</ul>
<p><a href="https://thesysadminchannel.com/wp-content/uploads/2021/08/Configuration-Complete.png" target="_blank" rel="noopener"><img decoding="async" src="https://thesysadminchannel.com/wp-content/uploads/2021/08/Configuration-Complete.png" alt="Configuration Complete" width="880" height="620" class="aligncenter size-full wp-image-3355" srcset="https://thesysadminchannel.com/wp-content/uploads/2021/08/Configuration-Complete.png?v=1629532837 880w, https://thesysadminchannel.com/wp-content/uploads/2021/08/Configuration-Complete-768x541.png?v=1629532837 768w" sizes="(max-width: 880px) 100vw, 880px" /></a></p>
<p>&nbsp;</p>
<ul>
<li>Last but not least, open the <strong>Synchronization Service Manager -> Help -> About</strong></li>
<li>You should be able to confirm the version is now above. 2.0</li>
</ul>
<p><a href="https://thesysadminchannel.com/wp-content/uploads/2021/08/Upgrade-To-Azure-AD-Connect-2.0.png" target="_blank" rel="noopener"><img decoding="async" src="https://thesysadminchannel.com/wp-content/uploads/2021/08/Upgrade-To-Azure-AD-Connect-2.0.png" alt="Upgrade To Azure AD Connect 2.0" width="1064" height="530" class="aligncenter size-full wp-image-3361" srcset="https://thesysadminchannel.com/wp-content/uploads/2021/08/Upgrade-To-Azure-AD-Connect-2.0.png 1064w, https://thesysadminchannel.com/wp-content/uploads/2021/08/Upgrade-To-Azure-AD-Connect-2.0-1024x510.png 1024w, https://thesysadminchannel.com/wp-content/uploads/2021/08/Upgrade-To-Azure-AD-Connect-2.0-768x383.png 768w" sizes="(max-width: 1064px) 100vw, 1064px" /></a></p>
<p>&nbsp;</p>
<ul>
<li>You should also be able to confirm you&#8217;re using AD Connect v2 EndPoint API</li>
</ul>
<pre class="brush: powershell; title: ; notranslate">
PS C:\&gt; Import-Module 'C:\Program Files\Microsoft Azure AD Sync\Extensions\AADConnector.psm1'
PS C:\&gt;
PS C:\&gt; Get-Command *ApiVersion* -Module AADConnector

CommandType     Name                                               Version    Source
-----------     ----                                               -------    ------
Function        Get-ADSyncAADConnectorExportApiVersion             0.0        AADConnector
Function        Get-ADSyncAADConnectorImportApiVersion             0.0        AADConnector
Function        Set-ADSyncAADConnectorExportApiVersion             0.0        AADConnector
Function        Set-ADSyncAADConnectorImportApiVersion             0.0        AADConnector


PS C:\&gt; Get-ADSyncAADConnectorExportApiVersion
2
PS C:\&gt; Get-ADSyncAADConnectorImportApiVersion
2
PS C:\&gt;

</pre>
<p>&nbsp;</p>
<p><a href="https://thesysadminchannel.com/wp-content/uploads/2021/08/Confirm-AAD-Connect-v2-EndPoints.png" target="_blank" rel="noopener"><img decoding="async" src="https://thesysadminchannel.com/wp-content/uploads/2021/08/Confirm-AAD-Connect-v2-EndPoints.png" alt="Confirm AAD Connect v2 EndPoints" width="894" height="408" class="aligncenter size-full wp-image-3365" srcset="https://thesysadminchannel.com/wp-content/uploads/2021/08/Confirm-AAD-Connect-v2-EndPoints.png?v=1629535992 894w, https://thesysadminchannel.com/wp-content/uploads/2021/08/Confirm-AAD-Connect-v2-EndPoints-768x350.png?v=1629535992 768w" sizes="(max-width: 894px) 100vw, 894px" /></a></p>
<h2>Conclusion</h2>
<p>Well hopefully this article was able to help you upgrade to Azure AD Connect 2.0.  It&#8217;s actually not that bad of an install and it&#8217;s not too involved so hopefully you won&#8217;t run into any issues if/when you decide to upgrade it in your environment.</p>
<p>&nbsp;</p>
<p>One thing I forgot to mention is that if you have specific rules on your AD Connect Server, those will need to confirmed so it doesn&#8217;t cause any impact.</p>
<p>The post <a href="https://thesysadminchannel.com/how-to-upgrade-to-azure-ad-connect-2-0/">How To Upgrade To Azure AD Connect 2.0</a> appeared first on <a href="https://thesysadminchannel.com">the Sysadmin Channel</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://thesysadminchannel.com/how-to-upgrade-to-azure-ad-connect-2-0/feed/</wfw:commentRss>
			<slash:comments>5</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1871</post-id>	</item>
	</channel>
</rss>
