<?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 &#8211; Blog of Kliment Andreev &#8211; A place so I won&#039;t forget things</title>
	<atom:link href="https://blog.andreev.it/tag/azure-ad/feed/" rel="self" type="application/rss+xml" />
	<link>https://blog.andreev.it</link>
	<description></description>
	<lastBuildDate>Sun, 31 Mar 2024 17:15:00 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>Entra ID (Azure AD) SSO and Azure Static Web Apps</title>
		<link>https://blog.andreev.it/2024/03/entra-id-azure-ad-sso-and-azure-static-web-apps/</link>
					<comments>https://blog.andreev.it/2024/03/entra-id-azure-ad-sso-and-azure-static-web-apps/#respond</comments>
		
		<dc:creator><![CDATA[Kliment Andreev]]></dc:creator>
		<pubDate>Sun, 31 Mar 2024 17:15:00 +0000</pubDate>
				<category><![CDATA[Azure]]></category>
		<category><![CDATA[Cloud]]></category>
		<category><![CDATA[Azure AD]]></category>
		<category><![CDATA[Azure Static Web Apps]]></category>
		<category><![CDATA[entra ID]]></category>
		<category><![CDATA[SSO]]></category>
		<guid isPermaLink="false">https://blog.andreev.it/?p=9861</guid>

					<description><![CDATA[In this post I&#8217;ll explain how to configure a static web app in Azure&#8230;]]></description>
										<content:encoded><![CDATA[<div id="bsf_rt_marker"></div><p>In this post I&#8217;ll explain how to configure a static web app in Azure and put the app behind Entra ID (Azure AD) SSO authentication. You&#8217;ll have the same protection as logging with your Entra ID credentials to Azure and Office 365. There is no need for any code change in the app. As long as you are an user or a member of an Entra ID group assigned to the Enterprise Application, then you can access the Static Web App URL. I&#8217;ll use Azure DevOps to host the files for the web site, but you can use any other repo. </p>
<h1>Azure DevOps</h1>
<p>Log to your ADO organization and create a new project. I called mine <em>Static Web App</em>. Click on <strong>Initialize </strong>and then copy the path so you can clone it locally.<br />
<a href="https://blog.andreev.it/wp-content/uploads/2024/03/P172-01.png"><img fetchpriority="high" decoding="async" src="https://blog.andreev.it/wp-content/uploads/2024/03/P172-01-1024x836.png" alt="" width="1024" height="836" class="aligncenter size-large wp-image-9872" srcset="https://blog.andreev.it/wp-content/uploads/2024/03/P172-01-1024x836.png 1024w, https://blog.andreev.it/wp-content/uploads/2024/03/P172-01-300x245.png 300w, https://blog.andreev.it/wp-content/uploads/2024/03/P172-01-768x627.png 768w, https://blog.andreev.it/wp-content/uploads/2024/03/P172-01-1170x955.png 1170w, https://blog.andreev.it/wp-content/uploads/2024/03/P172-01-585x478.png 585w, https://blog.andreev.it/wp-content/uploads/2024/03/P172-01.png 1357w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><br />
Once cloned, go to the repo locally and you&#8217;ll see a README.md file. Clone this web site template or just create an index.html file. </p>
<pre class="brush: bash; title: ; notranslate">
git clone https://github.com/designmodo/html-website-templates.git
</pre>
<p>Then move the index file back to the root of our repo.</p>
<pre class="brush: bash; title: ; notranslate">
mv html-website-templates/Animated\ Landing\ Page\ Website\ Template/* .
rm -rf html-website-templates/
</pre>
<p>You should have the index.html file in the root of our repo. Push to ADO.</p>
<pre class="brush: bash; title: ; notranslate">
git add .
git commit -m &quot;Updated website&quot;
git push
</pre>
<h1>Azure Static Web App</h1>
<p>Log to your Azure subscription and create or use an existing resource group. I&#8217;ll call mine <strong>rgStaticWebApp</strong>. Go to the <strong>Static Web Apps</strong> menu and create a new <strong>Static Web App</strong>. Specify a subscription, a resource group and name it. In my case it&#8217;s called <em>mystaticwebapp</em>.<br />
<a href="https://blog.andreev.it/wp-content/uploads/2024/03/P172-02.png"><img decoding="async" src="https://blog.andreev.it/wp-content/uploads/2024/03/P172-02-1024x506.png" alt="" width="1024" height="506" class="aligncenter size-large wp-image-9874" srcset="https://blog.andreev.it/wp-content/uploads/2024/03/P172-02-1024x506.png 1024w, https://blog.andreev.it/wp-content/uploads/2024/03/P172-02-300x148.png 300w, https://blog.andreev.it/wp-content/uploads/2024/03/P172-02-768x379.png 768w, https://blog.andreev.it/wp-content/uploads/2024/03/P172-02-585x289.png 585w, https://blog.andreev.it/wp-content/uploads/2024/03/P172-02.png 1156w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><br />
Make sure you choose the <strong>Standard hosting plan</strong>. SSO won&#8217;t work with the free plan. Choose the repo location, the branch and <strong>HTML </strong>for <strong>Build Preset</strong>.<br />
Use the defaults for the rest and click on <strong>Create</strong>. The static web site will be deployed in 5-10 seconds and if you go to the resource, click <strong>Overview</strong>, you&#8217;ll see the URL of your website. Go to that URL and you&#8217;ll see our website is public.<br />
<a href="https://blog.andreev.it/wp-content/uploads/2024/03/P172-04.jpg"><img decoding="async" src="https://blog.andreev.it/wp-content/uploads/2024/03/P172-04-1024x642.jpg" alt="" width="1024" height="642" class="aligncenter size-large wp-image-9875" srcset="https://blog.andreev.it/wp-content/uploads/2024/03/P172-04-1024x642.jpg 1024w, https://blog.andreev.it/wp-content/uploads/2024/03/P172-04-300x188.jpg 300w, https://blog.andreev.it/wp-content/uploads/2024/03/P172-04-768x482.jpg 768w, https://blog.andreev.it/wp-content/uploads/2024/03/P172-04-1536x963.jpg 1536w, https://blog.andreev.it/wp-content/uploads/2024/03/P172-04-1920x1204.jpg 1920w, https://blog.andreev.it/wp-content/uploads/2024/03/P172-04-1170x734.jpg 1170w, https://blog.andreev.it/wp-content/uploads/2024/03/P172-04-585x367.jpg 585w" sizes="(max-width: 1024px) 100vw, 1024px" /></a></p>
<h1>Custom domain (optional)</h1>
<p>In case you want a custom domain, then these changes are required. This is not a requirement for the SSO, but it&#8217;s better if you have your own domain URL.<br />
Click on <strong>Custom Domains</strong> and then choose where is your domain hosted. In my case I have it with CloudFlare.<br />
<a href="https://blog.andreev.it/wp-content/uploads/2024/03/P172-05.png"><img loading="lazy" decoding="async" src="https://blog.andreev.it/wp-content/uploads/2024/03/P172-05.png" alt="" width="895" height="603" class="aligncenter size-full wp-image-9876" srcset="https://blog.andreev.it/wp-content/uploads/2024/03/P172-05.png 895w, https://blog.andreev.it/wp-content/uploads/2024/03/P172-05-300x202.png 300w, https://blog.andreev.it/wp-content/uploads/2024/03/P172-05-768x517.png 768w, https://blog.andreev.it/wp-content/uploads/2024/03/P172-05-585x394.png 585w" sizes="(max-width: 895px) 100vw, 895px" /></a><br />
Enter how you want to access your website, in my case it is <em>mysite.andreev.it</em>.<br />
You&#8217;ll have to create a CNAME in CloudFlare.<br />
<a href="https://blog.andreev.it/wp-content/uploads/2024/03/P172-06.png"><img loading="lazy" decoding="async" src="https://blog.andreev.it/wp-content/uploads/2024/03/P172-06.png" alt="" width="838" height="501" class="aligncenter size-full wp-image-9882" srcset="https://blog.andreev.it/wp-content/uploads/2024/03/P172-06.png 838w, https://blog.andreev.it/wp-content/uploads/2024/03/P172-06-300x179.png 300w, https://blog.andreev.it/wp-content/uploads/2024/03/P172-06-768x459.png 768w, https://blog.andreev.it/wp-content/uploads/2024/03/P172-06-585x350.png 585w" sizes="(max-width: 838px) 100vw, 838px" /></a><br />
Do not proxy it thru CloudFlare for now.<br />
<a href="https://blog.andreev.it/wp-content/uploads/2024/03/P172-07.png"><img loading="lazy" decoding="async" src="https://blog.andreev.it/wp-content/uploads/2024/03/P172-07-1024x116.png" alt="" width="1024" height="116" class="aligncenter size-large wp-image-9883" srcset="https://blog.andreev.it/wp-content/uploads/2024/03/P172-07-1024x116.png 1024w, https://blog.andreev.it/wp-content/uploads/2024/03/P172-07-300x34.png 300w, https://blog.andreev.it/wp-content/uploads/2024/03/P172-07-768x87.png 768w, https://blog.andreev.it/wp-content/uploads/2024/03/P172-07-1170x133.png 1170w, https://blog.andreev.it/wp-content/uploads/2024/03/P172-07-585x66.png 585w, https://blog.andreev.it/wp-content/uploads/2024/03/P172-07.png 1306w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><br />
Click on <strong>Add </strong>at the bottom and it might take some time for Azure to verify the new CNAME record. In my case it took less than a minute.<br />
<a href="https://blog.andreev.it/wp-content/uploads/2024/03/P172-08.png"><img loading="lazy" decoding="async" src="https://blog.andreev.it/wp-content/uploads/2024/03/P172-08.png" alt="" width="808" height="589" class="aligncenter size-full wp-image-9884" srcset="https://blog.andreev.it/wp-content/uploads/2024/03/P172-08.png 808w, https://blog.andreev.it/wp-content/uploads/2024/03/P172-08-300x219.png 300w, https://blog.andreev.it/wp-content/uploads/2024/03/P172-08-768x560.png 768w, https://blog.andreev.it/wp-content/uploads/2024/03/P172-08-585x426.png 585w" sizes="(max-width: 808px) 100vw, 808px" /></a><br />
&#8230;and if you go to <em>whateveryou.namedyour.site</em>, you should see the same static web page.</p>
<h1>Entra ID (Azure AD) SSO</h1>
<p>In order to add SSO, we have to add a file in the root of our static web site and then make some changes in Azure. Refer to this <a href="https://learn.microsoft.com/en-us/azure/static-web-apps/authentication-custom?tabs=aad%2Cinvitations" rel="noopener" target="_blank">link </a>for more information.<br />
Create the following file in the root of the static web site and name it <strong>staticwebapp.config.json</strong>. It has to be this name.<br />
This is what the file looks like.</p>
<pre class="brush: xml; highlight: [18,19,20]; title: ; notranslate">
{
  &quot;routes&quot;: &#x5B;
    {
      &quot;route&quot;: &quot;/*&quot;,
      &quot;allowedRoles&quot;: &#x5B;&quot;authenticated&quot;]
    }
  ],
  &quot;responseOverrides&quot;: {
    &quot;401&quot;: {
      &quot;statusCode&quot;: 302,
      &quot;redirect&quot;: &quot;/.auth/login/aad&quot;
    }
  },
  &quot;auth&quot;: {
    &quot;identityProviders&quot;: {
      &quot;azureActiveDirectory&quot;: {
        &quot;registration&quot;: {
          &quot;openIdIssuer&quot;: &quot;https://login.microsoftonline.com/TENANT_ID/v2.0&quot;,
          &quot;clientIdSettingName&quot;: &quot;AZURE_CLIENT_ID&quot;,
          &quot;clientSecretSettingName&quot;: &quot;AZURE_CLIENT_SECRET&quot;
        }
      }
    }
  }
}
</pre>
<p>We need 3 values. The first value, <strong>TENANT_ID</strong> needs to go to this file hardcoded and the other two values for the <strong>CLIENT_ID</strong> and <strong>CLIENT_SECRET</strong> will be added in Azure. Here is how to fine these values. Go to Entra ID and click <strong>Overview</strong>. This is your <strong>TENANT_ID</strong> value. Copy and paste that value in line 18 and save the file. After, <em>git add/commit/push</em> the file back to Azure DevOps repo.<br />
<a href="https://blog.andreev.it/wp-content/uploads/2024/03/P172-09.png"><img loading="lazy" decoding="async" src="https://blog.andreev.it/wp-content/uploads/2024/03/P172-09-1024x572.png" alt="" width="1024" height="572" class="aligncenter size-large wp-image-9890" srcset="https://blog.andreev.it/wp-content/uploads/2024/03/P172-09-1024x572.png 1024w, https://blog.andreev.it/wp-content/uploads/2024/03/P172-09-300x168.png 300w, https://blog.andreev.it/wp-content/uploads/2024/03/P172-09-768x429.png 768w, https://blog.andreev.it/wp-content/uploads/2024/03/P172-09-1170x654.png 1170w, https://blog.andreev.it/wp-content/uploads/2024/03/P172-09-585x327.png 585w, https://blog.andreev.it/wp-content/uploads/2024/03/P172-09.png 1204w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><br />
Go to <strong>App Registrations</strong> and click on <strong>New registration</strong>.<br />
Enter these values and click <strong>Register</strong>. Replace the URL with yours even if it&#8217;s not a custom domain. Add <strong>.auth/login/aad/callback</strong> as a suffix.<br />
<a href="https://blog.andreev.it/wp-content/uploads/2024/03/P172-10.png"><img loading="lazy" decoding="async" src="https://blog.andreev.it/wp-content/uploads/2024/03/P172-10-802x1024.png" alt="" width="802" height="1024" class="aligncenter size-large wp-image-9896" srcset="https://blog.andreev.it/wp-content/uploads/2024/03/P172-10-802x1024.png 802w, https://blog.andreev.it/wp-content/uploads/2024/03/P172-10-235x300.png 235w, https://blog.andreev.it/wp-content/uploads/2024/03/P172-10-768x980.png 768w, https://blog.andreev.it/wp-content/uploads/2024/03/P172-10-585x747.png 585w, https://blog.andreev.it/wp-content/uploads/2024/03/P172-10.png 1035w" sizes="(max-width: 802px) 100vw, 802px" /></a><br />
The app registers right away and if you click the <strong>Overview </strong>you&#8217;ll see the app client ID. Copy this value in notepad or somewhere.<br />
<a href="https://blog.andreev.it/wp-content/uploads/2024/03/P172-12.png"><img loading="lazy" decoding="async" src="https://blog.andreev.it/wp-content/uploads/2024/03/P172-12-1024x488.png" alt="" width="1024" height="488" class="aligncenter size-large wp-image-9891" srcset="https://blog.andreev.it/wp-content/uploads/2024/03/P172-12-1024x488.png 1024w, https://blog.andreev.it/wp-content/uploads/2024/03/P172-12-300x143.png 300w, https://blog.andreev.it/wp-content/uploads/2024/03/P172-12-768x366.png 768w, https://blog.andreev.it/wp-content/uploads/2024/03/P172-12-1170x557.png 1170w, https://blog.andreev.it/wp-content/uploads/2024/03/P172-12-585x279.png 585w, https://blog.andreev.it/wp-content/uploads/2024/03/P172-12.png 1279w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><br />
From the menu on the left, click <strong>Certificates &#038; secrets</strong> and then click on <strong>New client secret</strong>.<br />
<a href="https://blog.andreev.it/wp-content/uploads/2024/03/P172-13.png"><img loading="lazy" decoding="async" src="https://blog.andreev.it/wp-content/uploads/2024/03/P172-13-1024x611.png" alt="" width="1024" height="611" class="aligncenter size-large wp-image-9892" srcset="https://blog.andreev.it/wp-content/uploads/2024/03/P172-13-1024x611.png 1024w, https://blog.andreev.it/wp-content/uploads/2024/03/P172-13-300x179.png 300w, https://blog.andreev.it/wp-content/uploads/2024/03/P172-13-768x458.png 768w, https://blog.andreev.it/wp-content/uploads/2024/03/P172-13-585x349.png 585w, https://blog.andreev.it/wp-content/uploads/2024/03/P172-13.png 1027w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><br />
Name the secret and choose for how long it&#8217;s valid.<br />
<a href="https://blog.andreev.it/wp-content/uploads/2024/03/P172-14.png"><img loading="lazy" decoding="async" src="https://blog.andreev.it/wp-content/uploads/2024/03/P172-14.png" alt="" width="841" height="253" class="aligncenter size-full wp-image-9893" srcset="https://blog.andreev.it/wp-content/uploads/2024/03/P172-14.png 841w, https://blog.andreev.it/wp-content/uploads/2024/03/P172-14-300x90.png 300w, https://blog.andreev.it/wp-content/uploads/2024/03/P172-14-768x231.png 768w, https://blog.andreev.it/wp-content/uploads/2024/03/P172-14-585x176.png 585w" sizes="(max-width: 841px) 100vw, 841px" /></a><br />
You&#8217;ll see that a secret has been created and you&#8217;ll have a value and a secret ID. Copy the value not the ID in notepad or somewhere.<br />
Now, go to the Static Web App and click on Environment variables. Add both <strong>AZURE_CLIENT_ID</strong> and <strong>AZURE_CLIENT_SECRET</strong> and click <strong>Apply </strong>at the bottom.<br />
<a href="https://blog.andreev.it/wp-content/uploads/2024/03/P172-15.png"><img loading="lazy" decoding="async" src="https://blog.andreev.it/wp-content/uploads/2024/03/P172-15-1024x537.png" alt="" width="1024" height="537" class="aligncenter size-large wp-image-9894" srcset="https://blog.andreev.it/wp-content/uploads/2024/03/P172-15-1024x537.png 1024w, https://blog.andreev.it/wp-content/uploads/2024/03/P172-15-300x157.png 300w, https://blog.andreev.it/wp-content/uploads/2024/03/P172-15-768x403.png 768w, https://blog.andreev.it/wp-content/uploads/2024/03/P172-15-1170x614.png 1170w, https://blog.andreev.it/wp-content/uploads/2024/03/P172-15-585x307.png 585w, https://blog.andreev.it/wp-content/uploads/2024/03/P172-15.png 1246w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><br />
Finally, go to <strong>App Registration</strong>, find your app there, click <strong>Authentication </strong>on the left and make sure that <strong>ID tokens</strong> option is checked.<br />
<a href="https://blog.andreev.it/wp-content/uploads/2024/03/P172-11.png"><img loading="lazy" decoding="async" src="https://blog.andreev.it/wp-content/uploads/2024/03/P172-11-1024x739.png" alt="" width="1024" height="739" class="aligncenter size-large wp-image-9898" srcset="https://blog.andreev.it/wp-content/uploads/2024/03/P172-11-1024x739.png 1024w, https://blog.andreev.it/wp-content/uploads/2024/03/P172-11-300x216.png 300w, https://blog.andreev.it/wp-content/uploads/2024/03/P172-11-768x554.png 768w, https://blog.andreev.it/wp-content/uploads/2024/03/P172-11-1536x1108.png 1536w, https://blog.andreev.it/wp-content/uploads/2024/03/P172-11-1170x844.png 1170w, https://blog.andreev.it/wp-content/uploads/2024/03/P172-11-585x422.png 585w, https://blog.andreev.it/wp-content/uploads/2024/03/P172-11.png 1561w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><br />
Now, if you go to the URL of the app, you&#8217;ll be prompted to log in and after successfully logging in, you&#8217;ll see our static web page. But every user from your tenant can log in, the only restriction is that you are member of the Entra ID tenant. If you want to restrict the website only to specific people, do the following. Go to <strong>Enterprise Applications</strong>, find your application and click on <strong>Properties</strong>. Make sure <strong>Assignment required</strong> is set to <strong>Yes</strong>. Click <strong>Save </strong>on top.<br />
<a href="https://blog.andreev.it/wp-content/uploads/2024/03/P172-16.png"><img loading="lazy" decoding="async" src="https://blog.andreev.it/wp-content/uploads/2024/03/P172-16-1024x602.png" alt="" width="1024" height="602" class="aligncenter size-large wp-image-9899" srcset="https://blog.andreev.it/wp-content/uploads/2024/03/P172-16-1024x602.png 1024w, https://blog.andreev.it/wp-content/uploads/2024/03/P172-16-300x176.png 300w, https://blog.andreev.it/wp-content/uploads/2024/03/P172-16-768x451.png 768w, https://blog.andreev.it/wp-content/uploads/2024/03/P172-16-1536x902.png 1536w, https://blog.andreev.it/wp-content/uploads/2024/03/P172-16-1170x687.png 1170w, https://blog.andreev.it/wp-content/uploads/2024/03/P172-16-585x344.png 585w, https://blog.andreev.it/wp-content/uploads/2024/03/P172-16.png 1590w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><br />
Then, click on <strong>Users and Groups</strong> and assign a group or users to the app. Mind that if you use the free version of Entra ID, you won&#8217;t be able to assign groups, only users.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.andreev.it/2024/03/entra-id-azure-ad-sso-and-azure-static-web-apps/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Entra ID (Azure AD) and AWS SSO (AWS IAM Identity Center)</title>
		<link>https://blog.andreev.it/2024/03/entra-id-azure-ad-and-aws-sso/</link>
					<comments>https://blog.andreev.it/2024/03/entra-id-azure-ad-and-aws-sso/#respond</comments>
		
		<dc:creator><![CDATA[Kliment Andreev]]></dc:creator>
		<pubDate>Mon, 11 Mar 2024 18:58:39 +0000</pubDate>
				<category><![CDATA[AWS]]></category>
		<category><![CDATA[Azure]]></category>
		<category><![CDATA[Cloud]]></category>
		<category><![CDATA[AWS IAM Identity Center]]></category>
		<category><![CDATA[Azure AD]]></category>
		<category><![CDATA[entra ID]]></category>
		<category><![CDATA[SSO]]></category>
		<guid isPermaLink="false">https://blog.andreev.it/?p=9787</guid>

					<description><![CDATA[I wrote about this topic a couple of years ago, but some things changed&#8230;]]></description>
										<content:encoded><![CDATA[<div id="bsf_rt_marker"></div><p>I wrote about this <a href="https://blog.andreev.it/2021/06/azure-aws-use-azure-ad-with-aws-sso/" rel="noopener" target="_blank">topic </a>a couple of years ago, but some things changed so I am writing this post again. In this post I&#8217;ll explain how to log to AWS Console and AWS cli with Entra ID (former Azure AD) credentials. For this you&#8217;ll need admin access to both the AWS account and Entra ID. </p>
<h1>IAM Identity Center</h1>
<p>The former AWS Single Sign-on is now IAM Identity Center. You need to enable this in order to configure SSO. Go to <strong>IAM Identity Center</strong> and click on the <strong>Enable</strong> button.<br />
<a href="https://blog.andreev.it/wp-content/uploads/2024/03/P171-01.png"><img loading="lazy" decoding="async" src="https://blog.andreev.it/wp-content/uploads/2024/03/P171-01-1024x277.png" alt="" width="1024" height="277" class="aligncenter size-large wp-image-9788" srcset="https://blog.andreev.it/wp-content/uploads/2024/03/P171-01-1024x277.png 1024w, https://blog.andreev.it/wp-content/uploads/2024/03/P171-01-300x81.png 300w, https://blog.andreev.it/wp-content/uploads/2024/03/P171-01-768x208.png 768w, https://blog.andreev.it/wp-content/uploads/2024/03/P171-01-1536x415.png 1536w, https://blog.andreev.it/wp-content/uploads/2024/03/P171-01-1170x316.png 1170w, https://blog.andreev.it/wp-content/uploads/2024/03/P171-01-585x158.png 585w, https://blog.andreev.it/wp-content/uploads/2024/03/P171-01.png 1887w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><br />
Enable it with AWS Organizations.<br />
<a href="https://blog.andreev.it/wp-content/uploads/2024/03/P171-02.png"><img loading="lazy" decoding="async" src="https://blog.andreev.it/wp-content/uploads/2024/03/P171-02-1024x828.png" alt="" width="1024" height="828" class="aligncenter size-large wp-image-9789" srcset="https://blog.andreev.it/wp-content/uploads/2024/03/P171-02-1024x828.png 1024w, https://blog.andreev.it/wp-content/uploads/2024/03/P171-02-300x243.png 300w, https://blog.andreev.it/wp-content/uploads/2024/03/P171-02-768x621.png 768w, https://blog.andreev.it/wp-content/uploads/2024/03/P171-02-1170x947.png 1170w, https://blog.andreev.it/wp-content/uploads/2024/03/P171-02-585x473.png 585w, https://blog.andreev.it/wp-content/uploads/2024/03/P171-02.png 1246w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><br />
What you want to do first is to change the AWS access portal URL. Click on the <strong>Edit </strong>button and change the URL. It has to be unique, so don&#8217;t expect you can type aws and be done with it. </p>
<p><a href="https://blog.andreev.it/wp-content/uploads/2024/03/P171-03-1.png"><img loading="lazy" decoding="async" src="https://blog.andreev.it/wp-content/uploads/2024/03/P171-03-1.png" alt="" width="796" height="823" class="aligncenter size-full wp-image-9821" srcset="https://blog.andreev.it/wp-content/uploads/2024/03/P171-03-1.png 796w, https://blog.andreev.it/wp-content/uploads/2024/03/P171-03-1-290x300.png 290w, https://blog.andreev.it/wp-content/uploads/2024/03/P171-03-1-768x794.png 768w, https://blog.andreev.it/wp-content/uploads/2024/03/P171-03-1-585x605.png 585w" sizes="(max-width: 796px) 100vw, 796px" /></a></p>
<p>Another setting that you have to change is the <strong>Identity source</strong>. On the left side of the <strong>IAM Identity Center</strong>, you are on the <strong>Dashboard </strong>screen. Click on <strong>Settings </strong>and then click on <strong>Change identity source</strong>.<br />
<a href="https://blog.andreev.it/wp-content/uploads/2024/03/P171-04.png"><img loading="lazy" decoding="async" src="https://blog.andreev.it/wp-content/uploads/2024/03/P171-04-1024x450.png" alt="" width="1024" height="450" class="aligncenter size-large wp-image-9791" srcset="https://blog.andreev.it/wp-content/uploads/2024/03/P171-04-1024x450.png 1024w, https://blog.andreev.it/wp-content/uploads/2024/03/P171-04-300x132.png 300w, https://blog.andreev.it/wp-content/uploads/2024/03/P171-04-768x337.png 768w, https://blog.andreev.it/wp-content/uploads/2024/03/P171-04-1536x675.png 1536w, https://blog.andreev.it/wp-content/uploads/2024/03/P171-04-2048x900.png 2048w, https://blog.andreev.it/wp-content/uploads/2024/03/P171-04-1920x844.png 1920w, https://blog.andreev.it/wp-content/uploads/2024/03/P171-04-1170x514.png 1170w, https://blog.andreev.it/wp-content/uploads/2024/03/P171-04-585x257.png 585w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><br />
Choose <strong>External identity provider</strong> and click <strong>Next</strong>.<br />
<a href="https://blog.andreev.it/wp-content/uploads/2024/03/P171-05.png"><img loading="lazy" decoding="async" src="https://blog.andreev.it/wp-content/uploads/2024/03/P171-05-1024x539.png" alt="" width="1024" height="539" class="aligncenter size-large wp-image-9792" srcset="https://blog.andreev.it/wp-content/uploads/2024/03/P171-05-1024x539.png 1024w, https://blog.andreev.it/wp-content/uploads/2024/03/P171-05-300x158.png 300w, https://blog.andreev.it/wp-content/uploads/2024/03/P171-05-768x404.png 768w, https://blog.andreev.it/wp-content/uploads/2024/03/P171-05-1170x616.png 1170w, https://blog.andreev.it/wp-content/uploads/2024/03/P171-05-585x308.png 585w, https://blog.andreev.it/wp-content/uploads/2024/03/P171-05.png 1305w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><br />
You will see this screen which consists of two parts, service provider metatada (that&#8217;s AWS) and Identity provider metadata (that&#8217;s Entra ID). Click on <strong>Download metadata file</strong>. You&#8217;ll get an XML file.<br />
<a href="https://blog.andreev.it/wp-content/uploads/2024/03/P171-06.png"><img loading="lazy" decoding="async" src="https://blog.andreev.it/wp-content/uploads/2024/03/P171-06-906x1024.png" alt="" width="906" height="1024" class="aligncenter size-large wp-image-9793" srcset="https://blog.andreev.it/wp-content/uploads/2024/03/P171-06-906x1024.png 906w, https://blog.andreev.it/wp-content/uploads/2024/03/P171-06-265x300.png 265w, https://blog.andreev.it/wp-content/uploads/2024/03/P171-06-768x868.png 768w, https://blog.andreev.it/wp-content/uploads/2024/03/P171-06-1170x1323.png 1170w, https://blog.andreev.it/wp-content/uploads/2024/03/P171-06-585x661.png 585w, https://blog.andreev.it/wp-content/uploads/2024/03/P171-06.png 1239w" sizes="(max-width: 906px) 100vw, 906px" /></a><br />
Keep the page open and in a new browser window go to portal.azure.com.</p>
<h1>Entra ID</h1>
<p>Once logged to Azure, go to <strong>Enterprise Applications</strong> and search for <strong>AWS IAM Identity Center (successor to AWS Single Sign-On)</strong>. Click to install. When you are presented with the <strong>Overview </strong>of the application, click on <strong>Assign users and groups</strong>. Depending on your Entra ID level (P1 or P2) you might not be able to assign groups, so you have to assign users.<br />
<a href="https://blog.andreev.it/wp-content/uploads/2024/03/P171-07.png"><img loading="lazy" decoding="async" src="https://blog.andreev.it/wp-content/uploads/2024/03/P171-07-1024x600.png" alt="" width="1024" height="600" class="aligncenter size-large wp-image-9795" srcset="https://blog.andreev.it/wp-content/uploads/2024/03/P171-07-1024x600.png 1024w, https://blog.andreev.it/wp-content/uploads/2024/03/P171-07-300x176.png 300w, https://blog.andreev.it/wp-content/uploads/2024/03/P171-07-768x450.png 768w, https://blog.andreev.it/wp-content/uploads/2024/03/P171-07-1536x900.png 1536w, https://blog.andreev.it/wp-content/uploads/2024/03/P171-07-2048x1199.png 2048w, https://blog.andreev.it/wp-content/uploads/2024/03/P171-07-1920x1124.png 1920w, https://blog.andreev.it/wp-content/uploads/2024/03/P171-07-1170x685.png 1170w, https://blog.andreev.it/wp-content/uploads/2024/03/P171-07-585x343.png 585w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><br />
The next step is to setup the SSO. Click on <strong>2. Set up single sign on</strong> and then <strong>SAML</strong>. You&#8217;ll be presented with this page and eventually you&#8217;ll see a prompt if you want to save some SSO settings. If you don&#8217;t see the prompt, no worries. If you see the prompt, click <strong>Yes</strong>.<br />
<a href="https://blog.andreev.it/wp-content/uploads/2024/03/P171-08.png"><img loading="lazy" decoding="async" src="https://blog.andreev.it/wp-content/uploads/2024/03/P171-08-814x1024.png" alt="" width="814" height="1024" class="aligncenter size-large wp-image-9798" srcset="https://blog.andreev.it/wp-content/uploads/2024/03/P171-08-814x1024.png 814w, https://blog.andreev.it/wp-content/uploads/2024/03/P171-08-238x300.png 238w, https://blog.andreev.it/wp-content/uploads/2024/03/P171-08-768x967.png 768w, https://blog.andreev.it/wp-content/uploads/2024/03/P171-08-1170x1473.png 1170w, https://blog.andreev.it/wp-content/uploads/2024/03/P171-08-585x736.png 585w, https://blog.andreev.it/wp-content/uploads/2024/03/P171-08.png 1218w" sizes="(max-width: 814px) 100vw, 814px" /></a><br />
Click on <strong>Upload metadata file</strong> and point to the XML file that you saved from AWS. Click <strong>Save </strong>and don&#8217;t worry about any of the fields there. If you see a popup to test the config, just click <strong>No, I&#8217;ll test later</strong>. Under step 3, <strong>SAML Certificates</strong>, click to <strong>Download </strong>Federation Metadata XML.<br />
<a href="https://blog.andreev.it/wp-content/uploads/2024/03/P171-09.png"><img loading="lazy" decoding="async" src="https://blog.andreev.it/wp-content/uploads/2024/03/P171-09.png" alt="" width="1009" height="546" class="aligncenter size-full wp-image-9799" srcset="https://blog.andreev.it/wp-content/uploads/2024/03/P171-09.png 1009w, https://blog.andreev.it/wp-content/uploads/2024/03/P171-09-300x162.png 300w, https://blog.andreev.it/wp-content/uploads/2024/03/P171-09-768x416.png 768w, https://blog.andreev.it/wp-content/uploads/2024/03/P171-09-585x317.png 585w" sizes="(max-width: 1009px) 100vw, 1009px" /></a><br />
You&#8217;ll get another XML file called <strong>AWS IAM Identity Center (successor to AWS Single Sign-On).xml</strong>.</p>
<h1>Back to AWS</h1>
<p>Go back to the same page where you&#8217;ve downloaded the XML metadata file, but this time look at the bottom part where it says <strong>Identity provider metadata</strong> and <strong>IdP SAML metadata</strong>. Click on <strong>Choose file</strong> and upload the file from Azure. Click <strong>Next</strong>, type <strong>ACCEPT </strong>and click <strong>Change identity source</strong>.<br />
Once completed click to <strong>Enable </strong>Automatic provisioning.  Copy the <strong>SCIM endpoint</strong> and the <strong>access token</strong>. </p>
<h1>Back to Azure</h1>
<p>Under the AWS SSO application. on the left side click on <strong>Provisioning</strong>. Change the <strong>Provisioning Mode</strong> to <strong>Automatic</strong>. Expand <strong>Admin credentials</strong> and for <strong>Tenant ID</strong> enter the <strong>SCIM endpoint</strong> and for <strong>Secret Token</strong>, enter the token. Click <strong>Test Connection</strong> and upon successful test, click <strong>Save</strong>. If you see clientsecret instead of Tenant ID, it means you are not using the right AWS application and you use the AWS Single Account application instead. Start from scratch.<br />
Anytime you assign a new user or a group to AWS application, Azure will sync the user to AWS. But, instead of waiting (40 mins by default) for the initial sync, click on the <strong>Overview </strong>and click <strong>Start provisioning</strong>.<br />
<a href="https://blog.andreev.it/wp-content/uploads/2024/03/P171-10.png"><img loading="lazy" decoding="async" src="https://blog.andreev.it/wp-content/uploads/2024/03/P171-10-1024x704.png" alt="" width="1024" height="704" class="aligncenter size-large wp-image-9803" srcset="https://blog.andreev.it/wp-content/uploads/2024/03/P171-10-1024x704.png 1024w, https://blog.andreev.it/wp-content/uploads/2024/03/P171-10-300x206.png 300w, https://blog.andreev.it/wp-content/uploads/2024/03/P171-10-768x528.png 768w, https://blog.andreev.it/wp-content/uploads/2024/03/P171-10-1170x804.png 1170w, https://blog.andreev.it/wp-content/uploads/2024/03/P171-10-585x402.png 585w, https://blog.andreev.it/wp-content/uploads/2024/03/P171-10.png 1200w" sizes="(max-width: 1024px) 100vw, 1024px" /></a></p>
<h1>Back to AWS</h1>
<p>If your provisioning works fine, you&#8217;ll see your assigned Azure user under <strong>Users </strong>in IAM Identity Center. On the left side of the IAM Identity Center, click on <strong>Permission sets</strong>. Click <strong>Create Permission set</strong> and choose <strong>Predefined permission set</strong>, then <strong>AdministratorAccess</strong>. Change the name, description, session duration if needed and then click <strong>Next</strong> and then <strong>Create</strong>.<br />
Finally, click on <strong>AWS accounts</strong>, select an account from the organization, click <strong>Assign users or groups</strong>, click <strong>Users </strong>or <strong>Groups</strong>, select a user and click <strong>Next</strong>. Assign a permission set, click <strong>Next </strong>and <strong>Submit</strong>.<br />
<a href="https://blog.andreev.it/wp-content/uploads/2024/03/P171-11.png"><img loading="lazy" decoding="async" src="https://blog.andreev.it/wp-content/uploads/2024/03/P171-11-1024x675.png" alt="" width="1024" height="675" class="aligncenter size-large wp-image-9804" srcset="https://blog.andreev.it/wp-content/uploads/2024/03/P171-11-1024x675.png 1024w, https://blog.andreev.it/wp-content/uploads/2024/03/P171-11-300x198.png 300w, https://blog.andreev.it/wp-content/uploads/2024/03/P171-11-768x506.png 768w, https://blog.andreev.it/wp-content/uploads/2024/03/P171-11-585x386.png 585w, https://blog.andreev.it/wp-content/uploads/2024/03/P171-11.png 1048w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><br />
Now, test the SSO by going to whatever.awsapps.com/start# and you&#8217;ll be redirected to the Microsoft sign in prompt. Follow the authentication process for Entra ID (username, password, MFA etc) and once you pass the authentication process you&#8217;ll see the AWS account that you have access to.<br />
<a href="https://blog.andreev.it/wp-content/uploads/2024/03/P171-12.png"><img loading="lazy" decoding="async" src="https://blog.andreev.it/wp-content/uploads/2024/03/P171-12-1024x309.png" alt="" width="1024" height="309" class="aligncenter size-large wp-image-9806" srcset="https://blog.andreev.it/wp-content/uploads/2024/03/P171-12-1024x309.png 1024w, https://blog.andreev.it/wp-content/uploads/2024/03/P171-12-300x91.png 300w, https://blog.andreev.it/wp-content/uploads/2024/03/P171-12-768x232.png 768w, https://blog.andreev.it/wp-content/uploads/2024/03/P171-12-1170x353.png 1170w, https://blog.andreev.it/wp-content/uploads/2024/03/P171-12-585x177.png 585w, https://blog.andreev.it/wp-content/uploads/2024/03/P171-12.png 1513w" sizes="(max-width: 1024px) 100vw, 1024px" /></a></p>
<h1>AWS CLI and SSO</h1>
<p>Follow the instructions to <a href="https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html" rel="noopener" target="_blank">install </a>AWS CLI for your OS, then configure SSO. Name your session, enter the URL you configured earlier, enter the region where you configured SSO and hit enter for the registration scopes. </p>
<pre class="brush: bash; title: ; notranslate">
aws configure sso
SSO session name (Recommended): sso
SSO start URL &#x5B;None]: https://your_url.awsapps.com/start
SSO region &#x5B;None]: us-east-1
SSO registration scopes &#x5B;sso:account:access]:
Attempting to automatically open the SSO authorization page in your default browser.
If the browser does not open or you wish to use a different device to authorize this request, open the following URL:

https://device.sso.us-east-1.amazonaws.com/

Then enter the code:

PWKG-CAFZ
</pre>
<p>After successful authentication, you&#8217;ll be presented with the accounts available to you. Pick one.<br />
<a href="https://blog.andreev.it/wp-content/uploads/2024/03/P171-13.png"><img loading="lazy" decoding="async" src="https://blog.andreev.it/wp-content/uploads/2024/03/P171-13-1024x305.png" alt="" width="1024" height="305" class="aligncenter size-large wp-image-9819" srcset="https://blog.andreev.it/wp-content/uploads/2024/03/P171-13-1024x305.png 1024w, https://blog.andreev.it/wp-content/uploads/2024/03/P171-13-300x89.png 300w, https://blog.andreev.it/wp-content/uploads/2024/03/P171-13-768x229.png 768w, https://blog.andreev.it/wp-content/uploads/2024/03/P171-13-1536x458.png 1536w, https://blog.andreev.it/wp-content/uploads/2024/03/P171-13-1170x349.png 1170w, https://blog.andreev.it/wp-content/uploads/2024/03/P171-13-585x174.png 585w, https://blog.andreev.it/wp-content/uploads/2024/03/P171-13.png 1734w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><br />
You&#8217;ll be prompted to choose the roles available to you and then specify your default region, default output and the profile. \<br />
NOTE: If you&#8217;ll be working with multiple accounts, maybe you should specify a different profile than the default. It&#8217;s up to you. E.g. specify prod and dev profiles. </p>
<pre class="brush: plain; title: ; notranslate">
There are 2 AWS accounts available to you.
Using the account ID 123456789012
The only role available to you is: AdministratorAccess
Using the role name &quot;AdministratorAccess&quot;
CLI default client Region &#x5B;None]: us-east-2
CLI default output format &#x5B;None]: json
CLI profile name &#x5B;AdministratorAccess-123456789012]: default

To use this profile, specify the profile name using --profile, as shown:

aws s3 ls --profile default
</pre>
<p>After your SSO session expires, you have to log back in.</p>
<pre class="brush: bash; title: ; notranslate">
aws sso login
</pre>
<p>If you are like me and always uses the <strong>default </strong>profile so I don&#8217;t have to type <em>&#8211;profile</em> parameter, then anytime you want to use a different account, just <strong>aws configure sso</strong> again, but specify the other account now. </p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.andreev.it/2024/03/entra-id-azure-ad-and-aws-sso/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Azure, AWS: Use Azure AD with AWS SSO</title>
		<link>https://blog.andreev.it/2021/06/azure-aws-use-azure-ad-with-aws-sso/</link>
					<comments>https://blog.andreev.it/2021/06/azure-aws-use-azure-ad-with-aws-sso/#respond</comments>
		
		<dc:creator><![CDATA[Kliment Andreev]]></dc:creator>
		<pubDate>Sat, 12 Jun 2021 16:14:21 +0000</pubDate>
				<category><![CDATA[AWS]]></category>
		<category><![CDATA[Azure]]></category>
		<category><![CDATA[Cloud]]></category>
		<category><![CDATA[Azure AD]]></category>
		<category><![CDATA[SSO]]></category>
		<guid isPermaLink="false">https://blog.andreev.it/?p=8872</guid>

					<description><![CDATA[There is a newer version of this post but feel free to refer to&#8230;]]></description>
										<content:encoded><![CDATA[<div id="bsf_rt_marker"></div><p>There is a <a href="https://blog.andreev.it/2024/03/entra-id-azure-ad-and-aws-sso/" rel="noopener" target="_blank">newer</a> version of this post but feel free to refer to this one in case you have any issues.<br />
In this post, I&#8217;ll explain how to configure both Azure and AWS so when you log to AWS you&#8217;ll use your Azure AD credentials. In my lab, I have an Azure subscription and Azure AD (free tier). I also have a multi account AWS in AWS Organization structure. I want to be able to log to both Azure and AWS using the same Azure AD credentials. This way, I can use only Azure AD to control access to my cloud resources.<br />
First, we&#8217;ll configure AWS for SSO. Log to your management/root account in AWS. Type <strong>sso </strong>in the search bar and choose <strong>Azure Single Sign-On</strong>.<br />
<a href="https://blog.andreev.it/wp-content/uploads/2021/06/P155-01.png"><img loading="lazy" decoding="async" src="https://blog.andreev.it/wp-content/uploads/2021/06/P155-01.png" alt="" width="676" height="240" class="aligncenter size-full wp-image-8873" srcset="https://blog.andreev.it/wp-content/uploads/2021/06/P155-01.png 676w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-01-300x107.png 300w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-01-585x208.png 585w" sizes="(max-width: 676px) 100vw, 676px" /></a><br />
Click on the button to <strong>Enable AWS SSO</strong>.<br />
<a href="https://blog.andreev.it/wp-content/uploads/2021/06/P155-02.png"><img loading="lazy" decoding="async" src="https://blog.andreev.it/wp-content/uploads/2021/06/P155-02.png" alt="" width="867" height="358" class="aligncenter size-full wp-image-8874" srcset="https://blog.andreev.it/wp-content/uploads/2021/06/P155-02.png 867w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-02-300x124.png 300w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-02-768x317.png 768w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-02-585x242.png 585w" sizes="(max-width: 867px) 100vw, 867px" /></a><br />
From the <strong>Dashboard</strong>, <strong>Choose your identity source</strong>.<br />
<a href="https://blog.andreev.it/wp-content/uploads/2021/06/P155-03.png"><img loading="lazy" decoding="async" src="https://blog.andreev.it/wp-content/uploads/2021/06/P155-03.png" alt="" width="1219" height="540" class="aligncenter size-full wp-image-8877" srcset="https://blog.andreev.it/wp-content/uploads/2021/06/P155-03.png 1219w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-03-300x133.png 300w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-03-1024x454.png 1024w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-03-768x340.png 768w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-03-1170x518.png 1170w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-03-585x259.png 585w" sizes="(max-width: 1219px) 100vw, 1219px" /></a><br />
You&#8217;ll be taken to the <strong>Settings </strong>pane. Click on <strong>Change </strong>under <strong>Identity source</strong>.<br />
<a href="https://blog.andreev.it/wp-content/uploads/2021/06/P155-04.png"><img loading="lazy" decoding="async" src="https://blog.andreev.it/wp-content/uploads/2021/06/P155-04.png" alt="" width="940" height="408" class="aligncenter size-full wp-image-8878" srcset="https://blog.andreev.it/wp-content/uploads/2021/06/P155-04.png 940w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-04-300x130.png 300w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-04-768x333.png 768w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-04-585x254.png 585w" sizes="(max-width: 940px) 100vw, 940px" /></a><br />
Select <strong>External identity provider</strong> and click on <strong>Download metadata file</strong>.<br />
<a href="https://blog.andreev.it/wp-content/uploads/2021/06/P155-05.png"><img loading="lazy" decoding="async" src="https://blog.andreev.it/wp-content/uploads/2021/06/P155-05.png" alt="" width="1278" height="490" class="aligncenter size-full wp-image-8879" srcset="https://blog.andreev.it/wp-content/uploads/2021/06/P155-05.png 1278w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-05-300x115.png 300w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-05-1024x393.png 1024w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-05-768x294.png 768w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-05-1170x449.png 1170w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-05-585x224.png 585w" sizes="(max-width: 1278px) 100vw, 1278px" /></a><br />
In Azure, go to <strong>Azure Active Directory</strong> and from the left, click on <strong>Enterprise applications</strong>.<br />
<a href="https://blog.andreev.it/wp-content/uploads/2021/06/P155-06.png"><img loading="lazy" decoding="async" src="https://blog.andreev.it/wp-content/uploads/2021/06/P155-06.png" alt="" width="392" height="484" class="aligncenter size-full wp-image-8880" srcset="https://blog.andreev.it/wp-content/uploads/2021/06/P155-06.png 392w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-06-243x300.png 243w" sizes="(max-width: 392px) 100vw, 392px" /></a><br />
Click on <strong>New application</strong>.<br />
<a href="https://blog.andreev.it/wp-content/uploads/2021/06/P155-07.png"><img loading="lazy" decoding="async" src="https://blog.andreev.it/wp-content/uploads/2021/06/P155-07.png" alt="" width="484" height="313" class="aligncenter size-full wp-image-8881" srcset="https://blog.andreev.it/wp-content/uploads/2021/06/P155-07.png 484w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-07-300x194.png 300w" sizes="(max-width: 484px) 100vw, 484px" /></a><br />
Search for <strong>AWS Single</strong> and choose <strong>AWS Single Sign-on</strong>. Make sure you choose this one if you have multi accounts in AWS. The setup is slightly different for the other single account access.<br />
<a href="https://blog.andreev.it/wp-content/uploads/2021/06/P155-08.png"><img loading="lazy" decoding="async" src="https://blog.andreev.it/wp-content/uploads/2021/06/P155-08.png" alt="" width="742" height="501" class="aligncenter size-full wp-image-8882" srcset="https://blog.andreev.it/wp-content/uploads/2021/06/P155-08.png 742w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-08-300x203.png 300w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-08-585x395.png 585w" sizes="(max-width: 742px) 100vw, 742px" /></a><br />
Click on the <strong>Create </strong>button on the right and wait for about 30 seconds. When this screen shows up, click on <strong>Single sign-on</strong>.<br />
<a href="https://blog.andreev.it/wp-content/uploads/2021/06/P155-09.png"><img loading="lazy" decoding="async" src="https://blog.andreev.it/wp-content/uploads/2021/06/P155-09.png" alt="" width="571" height="465" class="aligncenter size-full wp-image-8883" srcset="https://blog.andreev.it/wp-content/uploads/2021/06/P155-09.png 571w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-09-300x244.png 300w" sizes="(max-width: 571px) 100vw, 571px" /></a><br />
Choose <strong>SAML </strong>from the choices.<br />
<a href="https://blog.andreev.it/wp-content/uploads/2021/06/P155-10.png"><img loading="lazy" decoding="async" src="https://blog.andreev.it/wp-content/uploads/2021/06/P155-10.png" alt="" width="1143" height="310" class="aligncenter size-full wp-image-8884" srcset="https://blog.andreev.it/wp-content/uploads/2021/06/P155-10.png 1143w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-10-300x81.png 300w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-10-1024x278.png 1024w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-10-768x208.png 768w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-10-585x159.png 585w" sizes="(max-width: 1143px) 100vw, 1143px" /></a><br />
When this screen shows up, choose <strong>Upload metadata file</strong>.<br />
<a href="https://blog.andreev.it/wp-content/uploads/2021/06/P155-11.png"><img loading="lazy" decoding="async" src="https://blog.andreev.it/wp-content/uploads/2021/06/P155-11.png" alt="" width="798" height="510" class="aligncenter size-full wp-image-8885" srcset="https://blog.andreev.it/wp-content/uploads/2021/06/P155-11.png 798w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-11-300x192.png 300w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-11-768x491.png 768w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-11-585x374.png 585w" sizes="(max-width: 798px) 100vw, 798px" /></a><br />
Select the file that you just downloaded from the last step you did previously in AWS. You don&#8217;t have to do anything, just click <strong>Save</strong> and then close the blade on the right.<br />
<a href="https://blog.andreev.it/wp-content/uploads/2021/06/P155-12.png"><img loading="lazy" decoding="async" src="https://blog.andreev.it/wp-content/uploads/2021/06/P155-12.png" alt="" width="780" height="564" class="aligncenter size-full wp-image-8887" srcset="https://blog.andreev.it/wp-content/uploads/2021/06/P155-12.png 780w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-12-300x217.png 300w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-12-768x555.png 768w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-12-585x423.png 585w" sizes="(max-width: 780px) 100vw, 780px" /></a><br />
You&#8217;ll get something like this, just click there as instructed to fix it.<br />
<a href="https://blog.andreev.it/wp-content/uploads/2021/06/P155-13.png"><img loading="lazy" decoding="async" src="https://blog.andreev.it/wp-content/uploads/2021/06/P155-13.png" alt="" width="522" height="136" class="aligncenter size-full wp-image-8888" srcset="https://blog.andreev.it/wp-content/uploads/2021/06/P155-13.png 522w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-13-300x78.png 300w" sizes="(max-width: 522px) 100vw, 522px" /></a><br />
If you are asked if you want to test the SSO, just ignore the message and click on, <strong>No, I&#8217;ll test later</strong>.<br />
<a href="https://blog.andreev.it/wp-content/uploads/2021/06/P155-14.png"><img loading="lazy" decoding="async" src="https://blog.andreev.it/wp-content/uploads/2021/06/P155-14.png" alt="" width="595" height="169" class="aligncenter size-full wp-image-8889" srcset="https://blog.andreev.it/wp-content/uploads/2021/06/P155-14.png 595w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-14-300x85.png 300w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-14-585x166.png 585w" sizes="(max-width: 595px) 100vw, 595px" /></a><br />
Scroll down a bit to step 4 and click on Install the extension. This is the easiest way to do this. You can go the manual way, but it&#8217;s not worth it. Don&#8217;t worry, you can always remove the extension after. It&#8217;s for a one time setup. I use Firefox and it works fine, which means it will definitely work on Chrome and Edge.<br />
<a href="https://blog.andreev.it/wp-content/uploads/2021/06/P155-15.png"><img loading="lazy" decoding="async" src="https://blog.andreev.it/wp-content/uploads/2021/06/P155-15.png" alt="" width="804" height="197" class="aligncenter size-full wp-image-8890" srcset="https://blog.andreev.it/wp-content/uploads/2021/06/P155-15.png 804w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-15-300x74.png 300w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-15-768x188.png 768w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-15-585x143.png 585w" sizes="(max-width: 804px) 100vw, 804px" /></a><br />
Once you install the extension, click on it in the upper right corner.<br />
<a href="https://blog.andreev.it/wp-content/uploads/2021/06/P155-16.png"><img loading="lazy" decoding="async" src="https://blog.andreev.it/wp-content/uploads/2021/06/P155-16.png" alt="" width="324" height="77" class="aligncenter size-full wp-image-8891" srcset="https://blog.andreev.it/wp-content/uploads/2021/06/P155-16.png 324w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-16-300x71.png 300w" sizes="(max-width: 324px) 100vw, 324px" /></a><br />
Click on <strong>Sign in to get started</strong> button.<br />
<a href="https://blog.andreev.it/wp-content/uploads/2021/06/P155-17.png"><img loading="lazy" decoding="async" src="https://blog.andreev.it/wp-content/uploads/2021/06/P155-17.png" alt="" width="376" height="279" class="aligncenter size-full wp-image-8892" srcset="https://blog.andreev.it/wp-content/uploads/2021/06/P155-17.png 376w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-17-300x223.png 300w" sizes="(max-width: 376px) 100vw, 376px" /></a><br />
You should be automatically signed if you have the Azure session open in another tab. You&#8217;ll see something like this if everything is OK.<br />
<a href="https://blog.andreev.it/wp-content/uploads/2021/06/P155-18.png"><img loading="lazy" decoding="async" src="https://blog.andreev.it/wp-content/uploads/2021/06/P155-18.png" alt="" width="804" height="378" class="aligncenter size-full wp-image-8893" srcset="https://blog.andreev.it/wp-content/uploads/2021/06/P155-18.png 804w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-18-300x141.png 300w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-18-768x361.png 768w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-18-585x275.png 585w" sizes="(max-width: 804px) 100vw, 804px" /></a><br />
Click on the button <strong>Set up AWS Single Sign-on</strong> under step 5. Azure will prompt you to save the federation XML file and just click OK for the Azure prompt.<br />
<a href="https://blog.andreev.it/wp-content/uploads/2021/06/P155-25.png"><img loading="lazy" decoding="async" src="https://blog.andreev.it/wp-content/uploads/2021/06/P155-25.png" alt="" width="1108" height="736" class="aligncenter size-full wp-image-8908" srcset="https://blog.andreev.it/wp-content/uploads/2021/06/P155-25.png 1108w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-25-300x199.png 300w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-25-1024x680.png 1024w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-25-768x510.png 768w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-25-585x389.png 585w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-25-263x175.png 263w" sizes="(max-width: 1108px) 100vw, 1108px" /></a><br />
Azure will open a new AWS tab and ask you to confirm if it&#8217;s OK to make changes in AWS. Click OK.<br />
<a href="https://blog.andreev.it/wp-content/uploads/2021/06/P155-26.png"><img loading="lazy" decoding="async" src="https://blog.andreev.it/wp-content/uploads/2021/06/P155-26.png" alt="" width="748" height="451" class="aligncenter size-full wp-image-8909" srcset="https://blog.andreev.it/wp-content/uploads/2021/06/P155-26.png 748w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-26-300x181.png 300w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-26-585x353.png 585w" sizes="(max-width: 748px) 100vw, 748px" /></a><br />
You&#8217;ll see some action on the screen like someone clicks in your browser. Don&#8217;t do anything. Just click Yes or OK when asked.<br />
<a href="https://blog.andreev.it/wp-content/uploads/2021/06/P155-27.png"><img loading="lazy" decoding="async" src="https://blog.andreev.it/wp-content/uploads/2021/06/P155-27.png" alt="" width="714" height="414" class="aligncenter size-full wp-image-8910" srcset="https://blog.andreev.it/wp-content/uploads/2021/06/P155-27.png 714w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-27-300x174.png 300w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-27-585x339.png 585w" sizes="(max-width: 714px) 100vw, 714px" /></a><br />
The extension will ask you to upload the federation XML file from Azure that you saved earlier and then it will reconfigure AWS and you should see this at the end.<br />
<a href="https://blog.andreev.it/wp-content/uploads/2021/06/P155-28.png"><img loading="lazy" decoding="async" src="https://blog.andreev.it/wp-content/uploads/2021/06/P155-28.png" alt="" width="1290" height="697" class="aligncenter size-full wp-image-8911" srcset="https://blog.andreev.it/wp-content/uploads/2021/06/P155-28.png 1290w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-28-300x162.png 300w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-28-1024x553.png 1024w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-28-768x415.png 768w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-28-1170x632.png 1170w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-28-585x316.png 585w" sizes="(max-width: 1290px) 100vw, 1290px" /></a><br />
You&#8217;ll end up at the initial screen for step 1 in Azure. Just click <strong>Save </strong>and you are OK.<br />
Now, if you don&#8217;t have any users or groups in Azure AD, go create some. In my case, I use free Azure AD so I am not gonna be able to use groups. It requires Azure AD P1 which is not free. But, I&#8217;ll show you how to assign a user in Azure AD. If you use Azure AD Connect to sync your on-prem AD with your Azure AD, you can choose that user as well. With your <strong>AWS Single Sign-on</strong> app selected, click on <strong>Users and groups</strong>.<br />
<a href="https://blog.andreev.it/wp-content/uploads/2021/06/P155-19.png"><img loading="lazy" decoding="async" src="https://blog.andreev.it/wp-content/uploads/2021/06/P155-19.png" alt="" width="411" height="346" class="aligncenter size-full wp-image-8894" srcset="https://blog.andreev.it/wp-content/uploads/2021/06/P155-19.png 411w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-19-300x253.png 300w" sizes="(max-width: 411px) 100vw, 411px" /></a><br />
Click on Add user/group.<br />
<a href="https://blog.andreev.it/wp-content/uploads/2021/06/P155-20.png"><img loading="lazy" decoding="async" src="https://blog.andreev.it/wp-content/uploads/2021/06/P155-20.png" alt="" width="405" height="232" class="aligncenter size-full wp-image-8895" srcset="https://blog.andreev.it/wp-content/uploads/2021/06/P155-20.png 405w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-20-300x172.png 300w" sizes="(max-width: 405px) 100vw, 405px" /></a><br />
As I mentioned earlier, I can&#8217;y choose groups because of my Azure AD free tier, so click on <strong>None Selected</strong>.<br />
<a href="https://blog.andreev.it/wp-content/uploads/2021/06/P155-21.png"><img loading="lazy" decoding="async" src="https://blog.andreev.it/wp-content/uploads/2021/06/P155-21.png" alt="" width="722" height="320" class="aligncenter size-full wp-image-8896" srcset="https://blog.andreev.it/wp-content/uploads/2021/06/P155-21.png 722w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-21-300x133.png 300w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-21-585x259.png 585w" sizes="(max-width: 722px) 100vw, 722px" /></a><br />
Select the user and just click <strong>Assign </strong>at the bottom.<br />
<a href="https://blog.andreev.it/wp-content/uploads/2021/06/P155-22.png"><img loading="lazy" decoding="async" src="https://blog.andreev.it/wp-content/uploads/2021/06/P155-22.png" alt="" width="364" height="234" class="aligncenter size-full wp-image-8897" srcset="https://blog.andreev.it/wp-content/uploads/2021/06/P155-22.png 364w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-22-300x193.png 300w" sizes="(max-width: 364px) 100vw, 364px" /></a><br />
I&#8217;ve assigned this guy from Azure AD (awsadmin). Just click on <strong>Provisioning </strong>on the left. We have to sync these users to AWS now.<br />
<a href="https://blog.andreev.it/wp-content/uploads/2021/06/P155-23.png"><img loading="lazy" decoding="async" src="https://blog.andreev.it/wp-content/uploads/2021/06/P155-23.png" alt="" width="688" height="450" class="aligncenter size-full wp-image-8898" srcset="https://blog.andreev.it/wp-content/uploads/2021/06/P155-23.png 688w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-23-300x196.png 300w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-23-585x383.png 585w" sizes="(max-width: 688px) 100vw, 688px" /></a><br />
Click on <strong>Get started</strong> and choose <strong>Automatic</strong>.<br />
<a href="https://blog.andreev.it/wp-content/uploads/2021/06/P155-24.png"><img loading="lazy" decoding="async" src="https://blog.andreev.it/wp-content/uploads/2021/06/P155-24.png" alt="" width="811" height="642" class="aligncenter size-full wp-image-8899" srcset="https://blog.andreev.it/wp-content/uploads/2021/06/P155-24.png 811w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-24-300x237.png 300w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-24-768x608.png 768w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-24-585x463.png 585w" sizes="(max-width: 811px) 100vw, 811px" /></a><br />
You&#8217;ll have to provide a <strong>Tenant URL</strong> and a <strong>Secret Token</strong>.<br />
Go back to AWS, then <strong>SSO</strong>, click on <strong>Settings</strong> and click on <strong>Enable automatic provisioning</strong> under <strong>Provisioning</strong>.<br />
<a href="https://blog.andreev.it/wp-content/uploads/2021/06/P155-31.png"><img loading="lazy" decoding="async" src="https://blog.andreev.it/wp-content/uploads/2021/06/P155-31.png" alt="" width="922" height="609" class="aligncenter size-full wp-image-8916" srcset="https://blog.andreev.it/wp-content/uploads/2021/06/P155-31.png 922w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-31-300x198.png 300w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-31-768x507.png 768w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-31-780x516.png 780w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-31-585x386.png 585w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-31-263x175.png 263w" sizes="(max-width: 922px) 100vw, 922px" /></a><br />
Click on <strong>Show token</strong>. Copy both values on the clipboard, those are the <strong>Tenant URL</strong> and the <strong>token </strong>needed for Azure. Copy and paste them in Azure.<br />
<a href="https://blog.andreev.it/wp-content/uploads/2021/06/P155-29.png"><img loading="lazy" decoding="async" src="https://blog.andreev.it/wp-content/uploads/2021/06/P155-29.png" alt="" width="1192" height="727" class="aligncenter size-full wp-image-8913" srcset="https://blog.andreev.it/wp-content/uploads/2021/06/P155-29.png 1192w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-29-300x183.png 300w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-29-1024x625.png 1024w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-29-768x468.png 768w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-29-1170x714.png 1170w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-29-585x357.png 585w" sizes="(max-width: 1192px) 100vw, 1192px" /></a><br />
Click <strong>Test Connection</strong> and make sure you get OK as a result. Click <strong>Save</strong>.<br />
<a href="https://blog.andreev.it/wp-content/uploads/2021/06/P155-30.png"><img loading="lazy" decoding="async" src="https://blog.andreev.it/wp-content/uploads/2021/06/P155-30.png" alt="" width="1204" height="840" class="aligncenter size-full wp-image-8914" srcset="https://blog.andreev.it/wp-content/uploads/2021/06/P155-30.png 1204w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-30-300x209.png 300w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-30-1024x714.png 1024w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-30-768x536.png 768w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-30-1170x816.png 1170w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-30-585x408.png 585w" sizes="(max-width: 1204px) 100vw, 1204px" /></a><br />
You&#8217;ll be back here. Click on <strong>Edit attribute mappings</strong>.<br />
<a href="https://blog.andreev.it/wp-content/uploads/2021/06/P155-32.png"><img loading="lazy" decoding="async" src="https://blog.andreev.it/wp-content/uploads/2021/06/P155-32.png" alt="" width="1144" height="715" class="aligncenter size-full wp-image-8917" srcset="https://blog.andreev.it/wp-content/uploads/2021/06/P155-32.png 1144w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-32-300x188.png 300w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-32-1024x640.png 1024w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-32-768x480.png 768w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-32-585x366.png 585w" sizes="(max-width: 1144px) 100vw, 1144px" /></a><br />
Change the <strong>Provisioning status</strong> to <strong>On </strong>and click <strong>Save</strong>.<br />
<a href="https://blog.andreev.it/wp-content/uploads/2021/06/P155-33.png"><img loading="lazy" decoding="async" src="https://blog.andreev.it/wp-content/uploads/2021/06/P155-33.png" alt="" width="641" height="886" class="aligncenter size-full wp-image-8918" srcset="https://blog.andreev.it/wp-content/uploads/2021/06/P155-33.png 641w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-33-217x300.png 217w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-33-585x809.png 585w" sizes="(max-width: 641px) 100vw, 641px" /></a><br />
If you close that blade, you&#8217;ll see that one user synced successfully.<br />
<a href="https://blog.andreev.it/wp-content/uploads/2021/06/P155-34.png"><img loading="lazy" decoding="async" src="https://blog.andreev.it/wp-content/uploads/2021/06/P155-34.png" alt="" width="733" height="540" class="aligncenter size-full wp-image-8919" srcset="https://blog.andreev.it/wp-content/uploads/2021/06/P155-34.png 733w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-34-300x221.png 300w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-34-585x431.png 585w" sizes="(max-width: 733px) 100vw, 733px" /></a><br />
Go to AWS and under <strong>Users </strong>you&#8217;ll see the same user. Yay!<br />
<a href="https://blog.andreev.it/wp-content/uploads/2021/06/P155-35.png"><img loading="lazy" decoding="async" src="https://blog.andreev.it/wp-content/uploads/2021/06/P155-35.png" alt="" width="1303" height="664" class="aligncenter size-full wp-image-8920" srcset="https://blog.andreev.it/wp-content/uploads/2021/06/P155-35.png 1303w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-35-300x153.png 300w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-35-1024x522.png 1024w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-35-768x391.png 768w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-35-1170x596.png 1170w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-35-585x298.png 585w" sizes="(max-width: 1303px) 100vw, 1303px" /></a><br />
OK, if you look at the User portal, you&#8217;ll see the URL for your Single Sign-on. You definitely want to customize the URL to suit your needs.<br />
<a href="https://blog.andreev.it/wp-content/uploads/2021/06/P155-36.png"><img loading="lazy" decoding="async" src="https://blog.andreev.it/wp-content/uploads/2021/06/P155-36.png" alt="" width="1663" height="514" class="aligncenter size-full wp-image-8922" srcset="https://blog.andreev.it/wp-content/uploads/2021/06/P155-36.png 1663w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-36-300x93.png 300w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-36-1024x316.png 1024w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-36-768x237.png 768w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-36-1536x475.png 1536w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-36-1170x362.png 1170w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-36-585x181.png 585w" sizes="(max-width: 1663px) 100vw, 1663px" /></a><br />
Go to that URL, but use a separate browser or some private mode, so you don&#8217;t affect any open sessions. You&#8217;ll be redirected and prompted to log with your Azure AD. You might get a prompt to configure MFA, skip it for now, you can always configure it later.<br />
This is what you&#8217;ll see.<br />
<a href="https://blog.andreev.it/wp-content/uploads/2021/06/P155-37.png"><img loading="lazy" decoding="async" src="https://blog.andreev.it/wp-content/uploads/2021/06/P155-37.png" alt="" width="1006" height="646" class="aligncenter size-full wp-image-8923" srcset="https://blog.andreev.it/wp-content/uploads/2021/06/P155-37.png 1006w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-37-300x193.png 300w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-37-768x493.png 768w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-37-585x376.png 585w" sizes="(max-width: 1006px) 100vw, 1006px" /></a><br />
But we assigned AWS app in Azure to this user. What&#8217;s going on?<br />
<a href="https://blog.andreev.it/wp-content/uploads/2021/06/P155-38.png"><img loading="lazy" decoding="async" src="https://blog.andreev.it/wp-content/uploads/2021/06/P155-38.png" alt="" width="744" height="610" class="aligncenter size-full wp-image-8924" srcset="https://blog.andreev.it/wp-content/uploads/2021/06/P155-38.png 744w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-38-300x246.png 300w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-38-585x480.png 585w" sizes="(max-width: 744px) 100vw, 744px" /></a><br />
Just go to <strong>AWS | SSO | AWS Accounts</strong>, select the accounts that you assign to a user and click <strong>Assign users</strong>.<br />
<a href="https://blog.andreev.it/wp-content/uploads/2021/06/P155-39.png"><img loading="lazy" decoding="async" src="https://blog.andreev.it/wp-content/uploads/2021/06/P155-39.png" alt="" width="1327" height="886" class="aligncenter size-full wp-image-8925" srcset="https://blog.andreev.it/wp-content/uploads/2021/06/P155-39.png 1327w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-39-300x200.png 300w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-39-1024x684.png 1024w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-39-768x513.png 768w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-39-1170x781.png 1170w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-39-585x391.png 585w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-39-263x175.png 263w" sizes="(max-width: 1327px) 100vw, 1327px" /></a><br />
Select the user (in my case awsadmin) and click<strong> Permission sets</strong>.<br />
<a href="https://blog.andreev.it/wp-content/uploads/2021/06/P155-40.png"><img loading="lazy" decoding="async" src="https://blog.andreev.it/wp-content/uploads/2021/06/P155-40.png" alt="" width="1608" height="979" class="aligncenter size-full wp-image-8926" srcset="https://blog.andreev.it/wp-content/uploads/2021/06/P155-40.png 1608w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-40-300x183.png 300w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-40-1024x623.png 1024w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-40-768x468.png 768w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-40-1536x935.png 1536w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-40-1170x712.png 1170w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-40-585x356.png 585w" sizes="(max-width: 1608px) 100vw, 1608px" /></a><br />
Click on <strong>Create new permission set</strong>. This will open a new tab.<br />
<a href="https://blog.andreev.it/wp-content/uploads/2021/06/P155-41.png"><img loading="lazy" decoding="async" src="https://blog.andreev.it/wp-content/uploads/2021/06/P155-41.png" alt="" width="1594" height="634" class="aligncenter size-full wp-image-8927" srcset="https://blog.andreev.it/wp-content/uploads/2021/06/P155-41.png 1594w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-41-300x119.png 300w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-41-1024x407.png 1024w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-41-768x305.png 768w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-41-1536x611.png 1536w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-41-1170x465.png 1170w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-41-585x233.png 585w" sizes="(max-width: 1594px) 100vw, 1594px" /></a><br />
This is where you assign permission to that user or group (if you have license). Use the second option for custom policies, e.g. access to only a set of S3 buckets or assign tagging policies only. I&#8217;ll use the first option for the pre-made policies. Click on <strong>Details</strong>.<br />
<a href="https://blog.andreev.it/wp-content/uploads/2021/06/P155-42.png"><img loading="lazy" decoding="async" src="https://blog.andreev.it/wp-content/uploads/2021/06/P155-42.png" alt="" width="1566" height="505" class="aligncenter size-full wp-image-8928" srcset="https://blog.andreev.it/wp-content/uploads/2021/06/P155-42.png 1566w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-42-300x97.png 300w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-42-1024x330.png 1024w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-42-768x248.png 768w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-42-1536x495.png 1536w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-42-1170x377.png 1170w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-42-585x189.png 585w" sizes="(max-width: 1566px) 100vw, 1566px" /></a><br />
I&#8217;ll use the <strong>Administrator access</strong>. Click <strong>Tags </strong>to proceed.<br />
<a href="https://blog.andreev.it/wp-content/uploads/2021/06/P155-43.png"><img loading="lazy" decoding="async" src="https://blog.andreev.it/wp-content/uploads/2021/06/P155-43.png" alt="" width="1585" height="1090" class="aligncenter size-full wp-image-8929" srcset="https://blog.andreev.it/wp-content/uploads/2021/06/P155-43.png 1585w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-43-300x206.png 300w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-43-1024x704.png 1024w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-43-768x528.png 768w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-43-1536x1056.png 1536w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-43-1170x805.png 1170w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-43-585x402.png 585w" sizes="(max-width: 1585px) 100vw, 1585px" /></a><br />
Finish the rest and go back to the first AWS tab. On the right click the <strong>Refresh </strong>button.<br />
<a href="https://blog.andreev.it/wp-content/uploads/2021/06/P155-44.png"><img loading="lazy" decoding="async" src="https://blog.andreev.it/wp-content/uploads/2021/06/P155-44.png" alt="" width="1633" height="295" class="aligncenter size-full wp-image-8930" srcset="https://blog.andreev.it/wp-content/uploads/2021/06/P155-44.png 1633w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-44-300x54.png 300w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-44-1024x185.png 1024w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-44-768x139.png 768w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-44-1536x277.png 1536w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-44-1170x211.png 1170w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-44-585x106.png 585w" sizes="(max-width: 1633px) 100vw, 1633px" /></a><br />
The permission set should show up. Select and click <strong>Finish</strong>.<br />
<a href="https://blog.andreev.it/wp-content/uploads/2021/06/P155-45.png"><img loading="lazy" decoding="async" src="https://blog.andreev.it/wp-content/uploads/2021/06/P155-45.png" alt="" width="1561" height="399" class="aligncenter size-full wp-image-8931" srcset="https://blog.andreev.it/wp-content/uploads/2021/06/P155-45.png 1561w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-45-300x77.png 300w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-45-1024x262.png 1024w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-45-768x196.png 768w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-45-1536x393.png 1536w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-45-1170x299.png 1170w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-45-585x150.png 585w" sizes="(max-width: 1561px) 100vw, 1561px" /></a><br />
If the permission set doesn&#8217;t show up, don&#8217;t worry. Repeat the same same procedure from the AWS accounts menu to select accounts and users and you&#8217;ll see that this time the permission set will show up.<br />
Finally, go to the same URL where nothing showed up when we logged with that awsadmin user. Click Refresh in the browser and you&#8217;ll see the accounts now.<br />
<a href="https://blog.andreev.it/wp-content/uploads/2021/06/P155-46.png"><img loading="lazy" decoding="async" src="https://blog.andreev.it/wp-content/uploads/2021/06/P155-46.png" alt="" width="1677" height="1132" class="aligncenter size-full wp-image-8934" srcset="https://blog.andreev.it/wp-content/uploads/2021/06/P155-46.png 1677w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-46-300x203.png 300w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-46-1024x691.png 1024w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-46-768x518.png 768w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-46-1536x1037.png 1536w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-46-1170x790.png 1170w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-46-585x395.png 585w" sizes="(max-width: 1677px) 100vw, 1677px" /></a><br />
Click to log to the Management Console and you are all set!<br />
<a href="https://blog.andreev.it/wp-content/uploads/2021/06/P155-47.png"><img loading="lazy" decoding="async" src="https://blog.andreev.it/wp-content/uploads/2021/06/P155-47.png" alt="" width="1189" height="226" class="aligncenter size-full wp-image-8935" srcset="https://blog.andreev.it/wp-content/uploads/2021/06/P155-47.png 1189w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-47-300x57.png 300w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-47-1024x195.png 1024w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-47-768x146.png 768w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-47-1170x222.png 1170w, https://blog.andreev.it/wp-content/uploads/2021/06/P155-47-585x111.png 585w" sizes="(max-width: 1189px) 100vw, 1189px" /></a></p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.andreev.it/2021/06/azure-aws-use-azure-ad-with-aws-sso/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Azure: Connect your local AD domain to Azure AD</title>
		<link>https://blog.andreev.it/2018/08/134-azure-connect-your-local-ad-domain-to-azure-ad/</link>
					<comments>https://blog.andreev.it/2018/08/134-azure-connect-your-local-ad-domain-to-azure-ad/#respond</comments>
		
		<dc:creator><![CDATA[Kliment Andreev]]></dc:creator>
		<pubDate>Wed, 01 Aug 2018 13:56:27 +0000</pubDate>
				<category><![CDATA[Azure]]></category>
		<category><![CDATA[Cloud]]></category>
		<category><![CDATA[Azure AD]]></category>
		<category><![CDATA[on-prem AD]]></category>
		<guid isPermaLink="false">http://blog.iandreev.com/?p=3984</guid>

					<description><![CDATA[In this post I&#8217;ll describe how to connect/integrate your on-prem domain with Azure AD&#8230;]]></description>
										<content:encoded><![CDATA[<div id="bsf_rt_marker"></div><p>In this post I&#8217;ll describe how to connect/integrate your on-prem domain with Azure AD and enable SSO. So, when you want to log to your Office 365 subscription or access your Azure resources, you can just type your username and you&#8217;ll be logged on without being asked for a password. In order to do that there are some prerequisites. First, you will need admin access to both your on-prem local Active Directory and your Azure AD subscription. I am using Office 365 so I have Azure AD already and my on-prem domain controller is Windows 2012R2. If you are using Azure cloud, you should also have Azure AD. The trial version is also supported. Second, the SSO works only for devices joined to the domain. IE and Chrome are supported, Edge is not. The process below explains how to do this with a single AD forest. If you have multiple domains and forests, read the links all the way at the bottom.  </p>
<div style="border:1px solid red; padding:16px;">
<p style="text-align:center;"><strong><span style="color:#800000;">NOTE</span> </strong></p>
<p style="text-align:center;">You can&#8217;t log to Office/Azure with your LOCAL domain. It has to be a public domain accessible with a public DNS. If you have the public domain already in Azure AD, then you can skip the next part.</p>
</div>
<p>The on-prem AD server needs to be able to talk to Azure AD. </p>
<h1>Add custom domain in Azure AD</h1>
<p>Go to <a href="http://aad.portal.azure.com" rel="noopener noreferrer" target="_blank">Azure AD</a> and on the left side click on <strong>Azure Active Directory</strong> and then click on <strong>Custom domain names</strong>.<br />
Click on <strong>Add custom domain</strong> on the top.</p>
<p><a href="https://blog.andreev.it/wp-content/uploads/2018/08/P111-01.png"><img loading="lazy" decoding="async" src="https://blog.andreev.it/wp-content/uploads/2018/08/P111-01.png" alt="" width="745" height="272" class="aligncenter size-full wp-image-8254" /></a><br />
Enter the name of your public domain and you&#8217;ll get some instruction on what to do next. Pretty much, you have to create a TXT record in the DNS for the public domain that you want to use. </p>
<p><a href="https://blog.andreev.it/wp-content/uploads/2018/08/P111-02.png"><img loading="lazy" decoding="async" src="https://blog.andreev.it/wp-content/uploads/2018/08/P111-02.png" alt="" width="617" height="481" class="aligncenter size-full wp-image-8255" /></a><br />
It might take some time. My DNS is with godaddy and it took about 10 mins. Just wait for 5-10 mins, click <strong>Verify </strong>and the domain should show up as <strong>Verified</strong>.</p>
<h1>On-prem change</h1>
<p>As I said earlier, the SSO won&#8217;t work with your local domain user name. You will have to change it to be with a public domain suffix. For example, if my on-prem username is kliment and the UPN is kliment@domain.local, I have to change that to be kliment@public-domain.com. You can do that by adding the public domain in AD. On the domain controller, open up <strong>Active Directory Domains and Trusts</strong>, right-click the top item and click <strong>Properties</strong>. </p>
<p><a href="https://blog.andreev.it/wp-content/uploads/2018/08/P111-03.png"><img loading="lazy" decoding="async" src="https://blog.andreev.it/wp-content/uploads/2018/08/P111-03.png" alt="" width="549" height="314" class="aligncenter size-full wp-image-8256" /></a><br />
Add your public domain that you just verified in Azure AD. </p>
<p><a href="https://blog.andreev.it/wp-content/uploads/2018/08/P111-04.png"><img loading="lazy" decoding="async" src="https://blog.andreev.it/wp-content/uploads/2018/08/P111-04.png" alt="" width="403" height="260" class="aligncenter size-full wp-image-8257" /></a><br />
Now, open up <strong>Active Directory Users and Computers</strong> and change the UPN for a test user so the public domain is visible, not the local one.</p>
<p><a href="https://blog.andreev.it/wp-content/uploads/2018/08/P111-05.png"><img loading="lazy" decoding="async" src="https://blog.andreev.it/wp-content/uploads/2018/08/P111-05.png" alt="" width="414" height="201" class="aligncenter size-full wp-image-8258" /></a>If you need to change the UPN using a script, look at this <a href="https://support.office.com/en-us/article/how-to-prepare-a-non-routable-domain-such-as-local-domain-for-directory-synchronization-e7968303-c234-46c4-b8b0-b5c93c6d57a7" rel="noopener noreferrer" target="_blank">link </a>all the way at the bottom.</p>
<h1>Azure AD Connect</h1>
<p>On a PC or a domain controller that&#8217;s joined to the local domain, download and install Azure AD Connect from their official <a href="https://www.microsoft.com/en-us/download/details.aspx?id=47594" rel="noopener noreferrer" target="_blank">site</a>. Enter the admin credentials for your Azure AD subscription.</p>
<p><a href="https://blog.andreev.it/wp-content/uploads/2018/08/P111-06.png"><img loading="lazy" decoding="async" src="https://blog.andreev.it/wp-content/uploads/2018/08/P111-06.png" alt="" width="884" height="614" class="aligncenter size-full wp-image-8259" /></a><br />
Enter the admin credentials for your on-prem AD. </p>
<p><a href="https://blog.andreev.it/wp-content/uploads/2018/08/P111-07.png"><img loading="lazy" decoding="async" src="https://blog.andreev.it/wp-content/uploads/2018/08/P111-07.png" alt="" width="878" height="621" class="aligncenter size-full wp-image-8260" /></a><br />
Make sure your domain shows up here and says <strong>Verified</strong>. Click on <strong>Continue without any verified domains</strong>. </p>
<p><a href="https://blog.andreev.it/wp-content/uploads/2018/08/P111-08.png"><img loading="lazy" decoding="async" src="https://blog.andreev.it/wp-content/uploads/2018/08/P111-08.png" alt="" width="885" height="615" class="aligncenter size-full wp-image-8261" /></a><br />
At the end you&#8217;ll see this. Click <strong>Exit</strong>.</p>
<p><a href="https://blog.andreev.it/wp-content/uploads/2018/08/P111-09.png"><img loading="lazy" decoding="async" src="https://blog.andreev.it/wp-content/uploads/2018/08/P111-09.png" alt="" width="882" height="624" class="aligncenter size-full wp-image-8262" /></a><br />
Give it some time for the initial sync to complete. This might take some times depending on the size of your AD. I have only a couple of users on-prem, so the sync took about 5 mins or less. Once it&#8217;s complete, launch the <strong>Azure AD Connect</strong> again and click on <strong>Change user sign-in</strong>. </p>
<p><a href="https://blog.andreev.it/wp-content/uploads/2018/08/P111-10.png"><img loading="lazy" decoding="async" src="https://blog.andreev.it/wp-content/uploads/2018/08/P111-10.png" alt="" width="885" height="633" class="aligncenter size-full wp-image-8263" /></a><br />
Click on <strong>Enable single sign-on</strong> and click <strong>Next</strong>. You&#8217;ll be prompted to enter your on-prem admin password again.<br />
<a href="https://blog.andreev.it/wp-content/uploads/2018/08/P111-11.png"><img loading="lazy" decoding="async" src="https://blog.andreev.it/wp-content/uploads/2018/08/P111-11.png" alt="" width="884" height="632" class="aligncenter size-full wp-image-8264" /></a></p>
<p>At this point you should be able to log in. Just go to portal.office.com if you have an Office 365 subscription or portal.azure.com for Azure and once you enter your e-mail address as a login, you&#8217;ll be able to log in.</p>
<h1>Tips</h1>
<p>If your username for the Azure AD is the same as an on-prem user, you&#8217;ll have problem syncing. The easiest way is to not change the UPN for that user. Or you can create a separate OU and not sync that OU with the AD Connector. If you have a conflict, you&#8217;ll get an email that looks like this.</p>
<p><a href="https://blog.andreev.it/wp-content/uploads/2018/08/P111-12.png"><img loading="lazy" decoding="async" src="https://blog.andreev.it/wp-content/uploads/2018/08/P111-12.png" alt="" width="1044" height="123" class="aligncenter size-full wp-image-8265" /></a><br />
In AD connector, go to <strong>Customize synchronization options</strong>.</p>
<p><a href="https://blog.andreev.it/wp-content/uploads/2018/08/P111-13.png"><img loading="lazy" decoding="async" src="https://blog.andreev.it/wp-content/uploads/2018/08/P111-13.png" alt="" width="885" height="620" class="aligncenter size-full wp-image-8266" /></a><br />
Then uncheck the OU that you don&#8217;t want to be synchronized. </p>
<p><a href="https://blog.andreev.it/wp-content/uploads/2018/08/P111-14.png"><img loading="lazy" decoding="async" src="https://blog.andreev.it/wp-content/uploads/2018/08/P111-14.png" alt="" width="880" height="614" class="aligncenter size-full wp-image-8267" /></a><br />
In case you want to remove the domain, you&#8217;ll have to remove the users first. But in order to remove the users, you&#8217;ll have to stop the sync. Uninstalling the AD Connector won&#8217;t help. So, download PowerShell for <a href="https://www.powershellgallery.com/packages/MSOnline/1.1.166.0" rel="noopener noreferrer" target="_blank">Azure Active Directory</a> and execute these lines.</p>
<pre class="brush: powershell; title: ; notranslate">
Connect-MsolService
Set-MsolDirSyncEnabled –EnableDirSync $false
</pre>
<p>You have to wait quite a while, in my case about 30 mins. You can check if the sync is disabled by doing:</p>
<pre class="brush: powershell; title: ; notranslate">
(Get-MSOLCompanyInformation).DirectorySynchronizationEnabled
</pre>
<p>Once you get <strong>false</strong> as an output, you can delete the users and the custom domain.</p>
<h1>Useful links</h1>
<p><a href="https://docs.microsoft.com/en-us/azure/active-directory/connect/active-directory-aadconnect-prerequisites">https://docs.microsoft.com/en-us/azure/active-directory/connect/active-directory-aadconnect-prerequisites</a><br />
<a href="https://docs.microsoft.com/en-us/azure/active-directory/connect/active-directory-aadconnect-sso-quick-start">https://docs.microsoft.com/en-us/azure/active-directory/connect/active-directory-aadconnect-sso-quick-start</a><br />
<a href="https://docs.microsoft.com/en-us/azure/active-directory/connect/active-directory-aadconnect" rel="noopener noreferrer" target="_blank">https://docs.microsoft.com/en-us/azure/active-directory/connect/active-directory-aadconnect</a><br />
<a href="https://support.office.com/en-us/article/how-to-prepare-a-non-routable-domain-such-as-local-domain-for-directory-synchronization-e7968303-c234-46c4-b8b0-b5c93c6d57a7" rel="noopener noreferrer" target="_blank">https://support.office.com/en-us/article/how-to-prepare-a-non-routable-domain-such-as-local-domain-for-directory-synchronization-e7968303-c234-46c4-b8b0-b5c93c6d57a7</a><br />
<a href="https://docs.microsoft.com/en-us/azure/active-directory/connect/active-directory-aadconnect-troubleshoot-sso" rel="noopener noreferrer" target="_blank">https://docs.microsoft.com/en-us/azure/active-directory/connect/active-directory-aadconnect-troubleshoot-sso</a></p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.andreev.it/2018/08/134-azure-connect-your-local-ad-domain-to-azure-ad/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
