<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="https://www.w3.org/2005/Atom" xmlns:sy="https://purl.org/rss/1.0/modules/syndication/" xmlns:dc="https://purl.org/dc/elements/1.1/" xmlns:content="https://purl.org/rss/1.0/modules/content/" xmlns:wfw="https://wellformedweb.org/CommentAPI/" xmlns:slash="https://purl.org/rss/1.0/modules/slash/"
  version="2.0">
  <channel>
    <title>Shanky's blog</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/windows_security__system_center/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/windows_security__system_center/feed.xml</link>
    <description>Windows, Forefront,  Security and System Center</description>
    <lastBuildDate>Wed, 17 Apr 2019 03:53:04 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>New-AzureRmAutomationAccount - Error Creating Automation Account</title>
      <link>https://docs.microsoft.com/archive/blogs/windows_security__system_center/new-azurermautomationaccount</link>
      <pubDate>Fri, 17 Jun 2016 16:13:25 GMT</pubDate>
      <dc:creator><![CDATA[ShashankaHaritsa]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/windows_security__system_center/?p=45</guid>
      <description><![CDATA[I was working with one of the customers who had issues creating Automation Account through Azure...]]></description>
      <content:encoded><![CDATA[I was working with one of the customers who had issues creating Automation Account through Azure Powershell.

We got an Error while running the following Command

<strong>New-AzureRMAutomationAccount -ResourceGroupName $ResourceGroup -Name  $AutomationAccountName -Location $Location</strong>

This was the Error:

<span style="color: #ff0000">New-AzureRMAutomationAccount : BadRequest: {"Message":"The request is invalid.","ModelState":{"account.name":["The account name is invalid.  The account name must not be empty, and must not </span>
<span style="color: #ff0000">exceed 50 characters in length.  The account name must start with a letter or number.  The account name can contain letters, numbers, and dashes.  The final character must be a letter or a </span>
<span style="color: #ff0000">number."]}}</span>
<span style="color: #ff0000">At line:1 char:1</span>
<span style="color: #ff0000">+ New-AzureRMAutomationAccount -ResourceGroupName $ResourceGroup -Name  ...</span>
<span style="color: #ff0000">+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</span>
<span style="color: #ff0000">    + CategoryInfo          : CloseError: (:) [New-AzureRmAutomationAccount], CloudException</span>
<span style="color: #ff0000">    + FullyQualifiedErrorId : Microsoft.Azure.Commands.Automation.Cmdlet.NewAzureAutomationAccount</span>

&nbsp;

&nbsp;

Looking at the command, the command itself was correct.

You can refer this for the cmdlet info: <a href="https://msdn.microsoft.com/en-us/library/mt603526.aspx">https://msdn.microsoft.com/en-us/library/mt603561.aspx</a>

But we knew it was something related to Account name that we were giving.

We went to Azure Portal and when we tried creating the Account, we just gave the same information that we had passed into the variable $<strong>AutomationAccountName</strong>  above.

<a href="https://msdnshared.blob.core.windows.net/media/2016/06/error.png"><img class="alignnone size-full wp-image-75" src="https://msdnshared.blob.core.windows.net/media/2016/06/error.png" alt="error" width="754" height="180" /></a>

Then, it said the account name should be at least 6 characters.

Once we changed it in the variable, we were able to create the Automation Account without errors.

I hope it helps.

&nbsp;

&nbsp;]]></content:encoded>
    </item>
    <item>
      <title>Step-By-Step: Azure Application Proxy with Single Sign On</title>
      <link>https://docs.microsoft.com/archive/blogs/windows_security__system_center/step-by-step-azure-application-proxy-with-single-sign-on</link>
      <pubDate>Wed, 10 Jun 2015 08:21:00 GMT</pubDate>
      <dc:creator><![CDATA[ShashankaHaritsa]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/windows_security__system_center/2015/06/10/step-by-step-azure-application-proxy-with-single-sign-on/</guid>
      <description><![CDATA[Most of you might have heard about the Azure Application Proxy already and might have tried it as...]]></description>
      <content:encoded><![CDATA[<p>Most of you might have heard about the Azure Application Proxy already and might have tried it as well.&nbsp; If you have not done so already , you can learn about it here :</p>
<p><a href="https://msdn.microsoft.com/en-us/library/azure/dn768214.aspx">https://msdn.microsoft.com/en-us/library/azure/dn768214.aspx</a></p>
<p><a href="https://msdn.microsoft.com/en-us/library/azure/dn768219.aspx">https://msdn.microsoft.com/en-us/library/azure/dn768219.aspx</a></p>
<p>Now, in this article i will outline the steps involved in Publishing an application through Azure Application Proxy using custom Domain and Single Sign On. Before we move further, You will need the following:</p>
<p>1. Active Directory On Premise</p>
<p>2. Custom Domain and Access to create DNS records ( Mainly TXT Records and Host A Records)</p>
<p>3. AAD Sync Tool ( Can be downloaded from :<a href="https://go.microsoft.com/fwlink/?LinkID=278924">https://go.microsoft.com/fwlink/?LinkID=278924)</a></p>
<p>4. ADFS Server ( On Premise)</p>
<h2>&nbsp;Adding a Custom Domain to Azure</h2>
<ul>
<li>Here, we will add a custom domain in the Azure.</li>
<li>you would typically need a Global Admin account to make any changes.</li>
<li>Login to Azure Portal --&gt;Active Directory--&gt;Click on the desired Directory</li>
<li>Click on Domains</li>
</ul>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/29/8032.Custom%20Domain.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-29/8032.Custom-Domain.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/29/8032.Custom%20Domain.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-29/8032.Custom-Domain.png" alt="" border="0" /></a></p>
<ul>
<li>Click on ADD button at the bottom</li>
</ul>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/29/3056.ADD%20Custom%20Domain%20Button.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-29/3056.ADD-Custom-Domain-Button.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/29/3056.ADD%20Custom%20Domain%20Button.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-29/3056.ADD-Custom-Domain-Button.png" alt="" border="0" /></a></p>
<ul>
<li>&nbsp;Add the Domain Name that you have planned to implement ( you will need to be cautious here, as this will be the suffix you are going to use for your SSO Later and hence planning is needed)</li>
</ul>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/29/6472.Specify%20the%20domain.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-29/6472.Specify-the-domain.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/29/6472.Specify%20the%20domain.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-29/6472.Specify-the-domain.png" alt="" border="0" /></a></p>
<ul>
<li>Also, Enable Single Sign On option</li>
</ul>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/29/6457.Enable%20SIngle%20Sign%20on.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-29/6457.Enable-SIngle-Sign-on.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/29/6457.Enable%20SIngle%20Sign%20on.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-29/6457.Enable-SIngle-Sign-on.png" alt="" border="0" /></a></p>
<ul>
<li>Click on Add and you would see a confirmation as below.</li>
</ul>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/29/4403.Successfully%20added%20the%20domain.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-29/4403.Successfully-added-the-domain.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/29/4403.Successfully%20added%20the%20domain.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-29/4403.Successfully-added-the-domain.png" alt="" border="0" /></a></p>
<ul>
<li>This does not really mean you can use it for Single Sign on yet</li>
<li>Click on the Next( Right Arrow Indication) and you will be taken to below screen from where you can go to Directory Integration Page.</li>
</ul>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/29/6215.Configure%20SSO.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-29/6215.Configure-SSO.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/29/6215.Configure%20SSO.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-29/6215.Configure-SSO.png" alt="" border="0" /></a></p>
<p>&nbsp;</p>
<h2><strong>Setting Up Directory Sync</strong></h2>
<ul>
<li>Before You install the AAD Sync Tool and Configure it on Premise, you will need to enable Directory Integration in the Azure Portal.</li>
<li>Go to Azure portal Select the Directory, Click on Directory Integration and ensure that Directory Sync is Activated as below, if not activate it and save.</li>
</ul>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/29/4857.Enable%20DirSync.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-29/4857.Enable-DirSync.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/29/4857.Enable%20DirSync.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-29/4857.Enable-DirSync.png" alt="" border="0" /></a></p>
<ul>
<li>Download the AAD Sync Tool from <a href="https://go.microsoft.com/fwlink/?LinkID=278924">https://go.microsoft.com/fwlink/?LinkID=278924</a></li>
<li>install the same on a Domain Joined Computer ( Ensure that this computer is not disabled in your AD)</li>
<li>Once the Installation is complete, you will need to configure the Tool.</li>
<li>First Provide the Credentials for your Azure AD( should have Administrative Privileges)</li>
</ul>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</p>
<p>&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/29/6765.AAD1.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-29/6765.AAD1.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/29/6765.AAD1.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-29/6765.AAD1.png" alt="" border="0" /></a></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/29/3443.AAD2.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-29/3443.AAD2.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/29/3443.AAD2.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-29/3443.AAD2.png" alt="" border="0" /></a></p>
<ul>
<li>Next, you will need to provide the Enterprise Admin credential for the On Premise AD</li>
</ul>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/29/7802.AAD3.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-29/7802.AAD3.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/29/7802.AAD3.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-29/7802.AAD3.png" alt="" border="0" /></a></p>
<ul>
<li>Enable Hybrid Deployment, if you need one.</li>
</ul>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/29/1715.AAD4.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-29/1715.AAD4.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/29/1715.AAD4.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-29/1715.AAD4.png" alt="" border="0" /></a></p>
<ul>
<li>Enable Password Sync</li>
</ul>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/29/8737.AAD5.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-29/8737.AAD5.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/29/8737.AAD5.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-29/8737.AAD5.png" alt="" border="0" /></a></p>
<ul>
<li>&nbsp;Click Next to configure the AAD Sync Tool. Once configured you can click Finish.</li>
</ul>
<h2>Set up a trust between AD FS and Azure AD</h2>
<ul>
<li>Now that you have added the customer domain and enabled Directory Sync, we will enable the trust between ADFS( On Premise) and Azure AD</li>
</ul>
<ul>
<li>So before we proceed further, I assume that you have already setup an ADFS Server on Premise and is published to the outside world for the connectivity( you can use Web Application Proxy to publish ADFS 2012 r2 on Premise. Also please note that you do not have to separately publish the ADFS Link on WAP, just configuring Web Application Proxy would suffice.)</li>
</ul>
<ul>
<li>You will need to download the Microsoft Azure Active Directory Module which can be downloaded here: https://go.microsoft.com/fwlink/p/?linkid=236297</li>
<li>
<p>Before you Install the Microsoft Azure Active Directory Module, ensure that you have installed <span style="color: #888888;">"<a href="https://go.microsoft.com/fwlink/?LinkID=286152"><span style="color: #888888;">Microsoft Online Services Sign-In Assistant for IT Professionals RTW"</span></a></span> and if you have not, you can download it from here:https://www.microsoft.com/en-us/download/details.aspx?id=41950</p>
</li>
<li>Once you have installed the above components, it is time to configure Trust.</li>
<li>Login to ADFS Server, if you have not already, Click on the Microsoft Azure Active Directory Module for powershell on your Desktop( ADFS Server).</li>
</ul>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/29/8461.Azure%20Directory%20Module%20For%20Powershell.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-29/8461.Azure-Directory-Module-For-Powershell.png"><img style="float: left;" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/29/8461.Azure%20Directory%20Module%20For%20Powershell.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-29/8461.Azure-Directory-Module-For-Powershell.png" alt="" width="144" height="269" border="0" /></a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<ul>
<li>Follow the article https://msdn.microsoft.com/library/azure/jj205461.aspx#BKMK_ConvertDomain to add the domain</li>
</ul>
<ul>
<li>Once you add the new domain, you will be given a unique TXT Record</li>
</ul>
<ul>
<li>Go to your Managed DNS Service/Server</li>
</ul>
<ul>
<li>Add a TXT Record Provided while adding the Domain above.</li>
</ul>
<ul>
<li>Go back to the Aure AD PowerShell Module and run the command&nbsp; <strong>Run <code>New-MsolFederatedDomain &ndash;DomainName &lt;domain&gt;</code></strong>, where &lt;domain&gt; is the domain to be added and enabled for single sign-on.</li>
</ul>
<ul>
<li>If we are able to resolve to the DNS you have added above, you should get a message stating Command completed successfully else, you will receive an error and will be asked to add the TXT Record. Please note that it may take 15 minutes to 48 hours for this record to be active.</li>
</ul>
<h2>Publishing through Azure Application Proxy</h2>
<p>There are two parts in this section:</p>
<ol>
<li>Download and Install the connector on a domain Joined computer On Premise.</li>
<li>Configure and Publish the Application through Application on your Azure Portal.</li>
</ol>
<h3>Download and Install APP Proxy Connector</h3>
<ul>
<li>You will first need to download and Install the connector On premise to connect to Azure.</li>
<li>The easiest way to download the Connector is by going to your Azure Portal--&gt;Active Directory--&gt;Domain--&gt;Configure</li>
</ul>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/29/4375.Download%20Connector%201.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-29/4375.Download-Connector-1.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/29/4375.Download%20Connector%201.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-29/4375.Download-Connector-1.png" alt="" border="0" /></a></p>
<p>&nbsp;</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/29/1325.Download%20Connector%202.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-29/1325.Download-Connector-2.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/29/1325.Download%20Connector%202.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-29/1325.Download-Connector-2.png" alt="" border="0" /></a></p>
<ul>
<li>The Installation is pretty straight Forward, Click on the downloaded file</li>
</ul>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/29/6574.Install%20AAD%20Proxy%20connector%201.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-29/6574.Install-AAD-Proxy-connector-1.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/29/6574.Install%20AAD%20Proxy%20connector%201.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-29/6574.Install-AAD-Proxy-connector-1.png" alt="" border="0" /></a></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/29/2161.Install%20AAD%20Proxy%20connector%202.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-29/2161.Install-AAD-Proxy-connector-2.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/29/2161.Install%20AAD%20Proxy%20connector%202.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-29/2161.Install-AAD-Proxy-connector-2.png" alt="" border="0" /></a></p>
<ul>
<li>Provide the credentials when asked ( Usually, a Global Admin Credential on Azure AD)</li>
</ul>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/29/2047.Install%20AAD%20Proxy%20connector%203.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-29/2047.Install-AAD-Proxy-connector-3.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/29/2047.Install%20AAD%20Proxy%20connector%203.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-29/2047.Install-AAD-Proxy-connector-3.png" alt="" border="0" /></a></p>
<ul>
<li>If everything goes well, you will see this:</li>
</ul>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/29/1856.Install%20AAD%20Proxy%20connector%20Completed.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-29/1856.Install-AAD-Proxy-connector-Completed.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/29/1856.Install%20AAD%20Proxy%20connector%20Completed.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-29/1856.Install-AAD-Proxy-connector-Completed.png" alt="" border="0" /></a></p>
<ul>
<li>you can verify the same by going to services.msc and ensure that the following services are running.</li>
</ul>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/29/5584.Connector%20services.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-29/5584.Connector-services.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/29/5584.Connector%20services.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-29/5584.Connector-services.png" alt="" border="0" /></a></p>
<p>&nbsp;</p>
<h3>Configure and Publish the Application through Application on your Azure Portal</h3>
<ul>
<li>Go to the Applications under your Azure Portal</li>
</ul>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/29/5023.Applications.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-29/5023.Applications.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/29/5023.Applications.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-29/5023.Applications.png" alt="" border="0" /></a></p>
<ul>
<li>Click on Add</li>
</ul>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/29/6254.ADD%20Application.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-29/6254.ADD-Application.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/29/6254.ADD%20Application.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-29/6254.ADD-Application.png" alt="" width="127" height="92" border="0" /></a></p>
<ul>
<li>In the next window Select, Publish an application that will be accessible from Outside your Network</li>
</ul>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/29/3252.ADD%20Application%201.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-29/3252.ADD-Application-1.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/29/3252.ADD%20Application%201.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-29/3252.ADD-Application-1.png" alt="" width="469" height="371" border="0" /></a></p>
<ul>
<li>Provide the details as desired:</li>
</ul>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/29/1122.ADD%20Application%202.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-29/1122.ADD-Application-2.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/29/1122.ADD%20Application%202.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-29/1122.ADD-Application-2.png" alt="" width="466" height="349" border="0" /></a></p>
<ul>
<li>You will be taken to properties of the rule/Application automatically and you would see something like this.</li>
</ul>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/29/4276.Properties.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-29/4276.Properties.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/29/4276.Properties.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-29/4276.Properties.png" alt="" border="0" /></a></p>
<ul>
<li>Since we plan to use Single Sign on, we will use Pre-Authentication Method as Azure Active Directory and also use the Internal Authentication Method as Integrated Windows Authentication.</li>
<li>Please note that when you make the above selection, you will need to configure the On Premise Application to work with Kerberos Constrained Delegation. I am going to cover it in separate Article as it is out of scope of this article.</li>
</ul>
<p>&nbsp;</p>
<p><strong>NOTE: </strong></p>
<ol>
<li><strong>You will need to be cautious about the changes you are making , it needs a planning before you enable Single Sign On for the Custom Domain.</strong></li>
<li>&nbsp;Once you configure the ADFS, you have to ensure that the Federation Service Name is Accessible to the outside world through a Reverse Proxy mechanism, if you are using ADFS on 2012 R2, It is a good idea to use Web Application Proxy on Windows 2012 R2( ADFS Proxy).</li>
<li>With Single Sign on Enabled, you will typical Access the site published on Azure Application Proxy that will redirect you to On Premise ADFS to Authenticate and then, you will be redirected back to Azure Application Proxy once Authenticated and If for any reason, your On Premise ADFS is not setup, you will fail to access the Application. So, it is very important to ensure that the ADFS on Premise is accessible and you have the correct DNS records for the same.</li>
<li>If you are using the Pre-authetication on the Azure Application Proxy and have selected Integrated Windows Authentication , you must Configure the Application to work with KCD and ensure that the computer running the APP Connector has the Proper Delegations set on its Computer Object in AD along with the SPNs.</li>
</ol>
<p>I hope, the above information helps.</p>
<p>&nbsp;</p>
<p><strong>Shashanka Haritsa</strong></p>
<p><strong>Technical Lead</strong></p>
<p><strong>CSS Security</strong></p>]]></content:encoded>
    </item>
    <item>
      <title>Web Application Proxy fail to connect to ADFS with 407 Error</title>
      <link>https://docs.microsoft.com/archive/blogs/windows_security__system_center/web-application-proxy-fail-to-connect-to-adfs-with-407-error</link>
      <pubDate>Thu, 04 Jun 2015 13:06:00 GMT</pubDate>
      <dc:creator><![CDATA[ShashankaHaritsa]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/windows_security__system_center/2015/06/04/web-application-proxy-fail-to-connect-to-adfs-with-407-error/</guid>
      <description><![CDATA[Howdy,
Recently, i was working on one of the Web Application Proxy connectivity issues with the...]]></description>
      <content:encoded><![CDATA[<p>Howdy,</p>
<p>Recently, i was working on one of the Web Application Proxy connectivity issues with the backend ADFS Server and I just wanted to share this information to give a general idea of what all can go wrong.</p>
<p>So, this is what we heard when we asked what is the issue:</p>
<p>The WAP was configured earlier with ADFS and everything was working as expected and suddenly, the Web Application Proxy does not connect to the backend ADFS anymore.</p>
<p>We started looking at the Events to understand what has happened and Interestingly, we found this</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/29/0410.Event.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-29/0410.Event.jpg"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/29/0410.Event.jpg" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-29/0410.Event.jpg" alt="" border="0" /></a></p>
<p>This is usually, thrown by a Proxy server and not the ADFS,&nbsp; Reference: <a href="https://msdn.microsoft.com/en-us/library/windows/desktop/aa383887%28v=vs.85%29.aspx">https://msdn.microsoft.com/en-us/library/windows/desktop/aa383887%28v=vs.85%29.aspx</a></p>
<p>Just to see what happens, we ran the Install-WebApplicationproxy command and we found the similar error as below</p>
<p>&nbsp;</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/29/6813.Powershell%20command.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-29/6813.Powershell-command.jpg"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/29/6813.Powershell%20command.jpg" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-29/6813.Powershell-command.jpg" alt="" border="0" /></a></p>
<p>So, why are we going through a Proxy server when connecting to the ADFS and why was this working before?</p>
<p>The answer was the GPO Setting that was enabled on the WAP Server that had Proxy configured. Please take a look at this article to understand how can that be done</p>
<p><a href="https://blogs.msdn.com/b/asiatech/archive/2014/05/12/how-to-apply-the-content-of-ie-settings-in-gpo-which-used-iem-ie-maintenance-before-ie10-to-ie10-version-since-iem-has-been-deprecated-begin-from-ie10.aspx">https://blogs.msdn.com/b/asiatech/archive/2014/05/12/how-to-apply-the-content-of-ie-settings-in-gpo-which-used-iem-ie-maintenance-before-ie10-to-ie10-version-since-iem-has-been-deprecated-begin-from-ie10.aspx</a></p>
<p>We had to remove this GPO from the computer in order to fix the error.</p>
<p>You may also encounter similar issues if you have a proxy and are trying to Configure the WAP over GUI. Here is an example:</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/29/3704.Run%20Getting%20started%20wizard.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-29/3704.Run-Getting-started-wizard.jpg"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/29/3704.Run%20Getting%20started%20wizard.jpg" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-29/3704.Run-Getting-started-wizard.jpg" alt="" border="0" /></a></p>
<p>&nbsp;</p>
<p>I hope that helps</p>
<p>&nbsp;</p>
<p><strong>Shashanka Haritsa</strong></p>
<p><strong>Technical Lead</strong></p>
<p><strong>CSS Security</strong></p>
<p>&nbsp;</p>
<p>&nbsp;</p>]]></content:encoded>
    </item>
    <item>
      <title>Configure WAP for KCD with Web App</title>
      <link>https://docs.microsoft.com/archive/blogs/windows_security__system_center/configure-wap-for-kcd-with-web-app</link>
      <pubDate>Tue, 31 Mar 2015 08:34:00 GMT</pubDate>
      <dc:creator><![CDATA[ShashankaHaritsa]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/windows_security__system_center/2015/03/31/configure-wap-for-kcd-with-web-app/</guid>
      <description><![CDATA[This article will help you configure the WAP to do Kerberos Constrained Delegation to the Back end...]]></description>
      <content:encoded><![CDATA[<p><span style="font-family: arial,helvetica,sans-serif; font-size: small;">This article will help you configure the WAP to do Kerberos Constrained Delegation to the Back end Web-app.</span><br /><br /><br /><span style="font-family: arial,helvetica,sans-serif; font-size: small;">Before we start, I would like to add some prerequisites and here they are:</span><br /><br /><br /><br /><span style="font-family: arial,helvetica,sans-serif; font-size: small;">* Access to AD Objects( WAP Computer object)</span><br /><br /><span style="font-family: arial,helvetica,sans-serif; font-size: small;">* WAP Configured in Domain</span><br /><br /><span style="font-family: arial,helvetica,sans-serif; font-size: small;">* Access to ADFS to add the Relying party trust</span><br /><br /><span style="font-family: arial,helvetica,sans-serif; font-size: small;">* Web application in the Back end compatible with KCD</span></p>
<p>&nbsp;</p>
<p><span style="font-size: small;"><strong>Configuring Back-end Server</strong></span></p>
<p><span style="font-family: arial,helvetica,sans-serif; font-size: small;">In my Case, I am keeping it very simple by using IIS on a Windows 2012 R2 server &amp; I use the Default web site. To run the site over SSL, you will also need to bind the certificate to the Default web Site. Go <br />to Bindings on the Default Web Site under IIS and add the desired certificate as shown below.</span></p>
<p><span style="font-size: small;"><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/29/6253.8037.Bindings.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-29/6253.8037.Bindings.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/29/6253.8037.Bindings.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-29/6253.8037.Bindings.png" alt="" border="0" /></a></span></p>
<p><span style="font-family: arial,helvetica,sans-serif; font-size: small;">Now you need to reset your IIS to make sure that the changes take effect.</span></p>
<p><span style="font-size: small;"><strong>Configuring Relying Party Trust in ADFS</strong></span></p>
<p><span style="font-size: small;">We will now add the Relying party Trust for the Site under ADFS. To do so, open ADFS Management and Click on Relying Party Trusts as below:</span></p>
<p><span style="font-size: small;"><strong><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/29/8625.5545.Trust%20relying%20party.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-29/8625.5545.Trust_2500_20relying_2500_20party.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/29/8625.5545.Trust%20relying%20party.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-29/8625.5545.Trust_2500_20relying_2500_20party.png" alt="" width="382" height="473" border="0" /></a></strong></span></p>
<p><span style="font-size: small;"><strong></strong>&nbsp;</span></p>
<p><span style="font-size: small;">In the Right hand Side Pane, Click on Add Non-Claims-Aware Relying Party Trust</span></p>
<p><span style="font-size: small;"><strong><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/29/2705.3252.non%20claims%20provider%20trust.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-29/2705.3252.non_2500_20claims_2500_20provider_2500_20trust.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/29/2705.3252.non%20claims%20provider%20trust.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-29/2705.3252.non_2500_20claims_2500_20provider_2500_20trust.png" alt="" width="461" height="275" border="0" /></a></strong></span></p>
<p>&nbsp;</p>
<p><span style="font-size: small;">A new Wizard will start, Click Next and Specify the name of this Trust</span></p>
<p><span style="font-size: small;"><strong><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/29/7870.4061.name%20of%20the%20trust.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-29/7870.4061.name_2500_20of_2500_20the_2500_20trust.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/29/7870.4061.name%20of%20the%20trust.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-29/7870.4061.name_2500_20of_2500_20the_2500_20trust.png" alt="" width="752" height="437" border="0" /></a></strong></span></p>
<p><span style="font-size: small;">In the next screen, add the Identifier as below [ you would have to change this as per the desired configuration in your environment]</span></p>
<p><span style="font-size: small;">Keep the default selection in the next screen</span></p>
<p><span style="font-size: small;"><strong><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/29/7181.4212.default%20options1.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-29/7181.4212.default_2500_20options1.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/29/7181.4212.default%20options1.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-29/7181.4212.default_2500_20options1.png" alt="" width="700" height="412" border="0" /></a></strong></span></p>
<p>&nbsp;</p>
<p><span style="font-size: small;">Click Close and an Issuance Authorization Rules will automatically open.&nbsp; If not, open up Edit Issuance Authorization Rules for the Relying<br /> Party that you have just added</span></p>
<p><span style="font-size: small;"><strong><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/29/0118.0181.issuance%201.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-29/0118.0181.issuance_2500_201.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/29/0118.0181.issuance%201.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-29/0118.0181.issuance_2500_201.png" alt="" border="0" /></a></strong></span></p>
<p><span style="font-size: small;">Click Add Rule, and select Permit All Users from the drop down</span></p>
<p><span style="font-size: small;"><strong><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/29/5722.1643.permit%20all.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-29/5722.1643.permit_2500_20all.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/29/5722.1643.permit%20all.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-29/5722.1643.permit_2500_20all.png" alt="" width="672" height="387" border="0" /></a></strong></span></p>
<p><span style="font-size: small;">Click Next, Finish and Apply. Now, that completes the Relying Party configuration on ADFS</span></p>
<p><br /><span style="font-size: small;"><strong>Adding Delegation to the WAP Computer Object on AD</strong></span></p>
<p><span style="font-size: small;">we will now add the required delegation on the WAP&nbsp; computer object. In my case, the WAP Server name is MSWAP01. So, locate the computer object.<br /> Right click and Properties</span></p>
<p><span style="font-size: small;"><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/29/2475.8540.wapcompproperties.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-29/2475.8540.wapcompproperties.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/29/2475.8540.wapcompproperties.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-29/2475.8540.wapcompproperties.png" alt="" border="0" /></a></span></p>
<p><br /><span style="font-family: arial,helvetica,sans-serif; font-size: small;">Click on Delegation Tab and select Use any authentication Protocol.</span></p>
<p><span style="font-size: small;"><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/29/8715.4024.delegation%20tab.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-29/8715.4024.delegation_2500_20tab.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/29/8715.4024.delegation%20tab.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-29/8715.4024.delegation_2500_20tab.png" alt="" border="0" /></a></span></p>
<p>&nbsp;</p>
<p><span style="font-size: small;">Click on Add and select the back-end web application server for the service Type http ( in my case it will be MSWEBAP01)</span></p>
<p><span style="font-size: small;"><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/29/8081.2806.http%20service%20spn.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-29/8081.2806.http_2500_20service_2500_20spn.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/29/8081.2806.http%20service%20spn.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-29/8081.2806.http_2500_20service_2500_20spn.png" alt="" border="0" /></a></span></p>
<p><span style="font-size: small;">Click Apply.</span><br /><br /><span style="font-size: small;">Please refer the article https://technet.microsoft.com/en-in/library/cc731241.aspx to set SPN.</span></p>
<p>&nbsp;</p>
<p><span style="font-size: small;"><strong>Publishing the Web Application on WAP</strong></span></p>
<p>&nbsp;</p>
<p><span style="font-size: small;">Now, on the Web Application Proxy configuration Console, Click on Publish<br /><br />Click Next in the Wizard and select Preauthentication method as ADFS &amp; Click Next.</span></p>
<p><span style="font-size: small;"><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/29/5367.1856.pre%20auth.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-29/5367.1856.pre_2500_20auth.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/29/5367.1856.pre%20auth.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-29/5367.1856.pre_2500_20auth.png" alt="" border="0" /></a></span></p>
<p><span style="font-size: small;">You should now see the Relying party that you have added on the ADFS ( in this case it would webapkcd). Select the same and click Next</span></p>
<p><span style="font-size: small;"><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/29/6888.5545.relying%20party%20on%20wap.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-29/6888.5545.relying_2500_20party_2500_20on_2500_20wap.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/29/6888.5545.relying%20party%20on%20wap.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-29/6888.5545.relying_2500_20party_2500_20on_2500_20wap.png" alt="" border="0" /></a></span></p>
<p><span style="font-size: small;">In the next screen, provide the URL details and select the certificate that has desired CN along with the SPN</span></p>
<p><span style="font-size: small;"><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/29/0363.3482.publish%20settings.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-29/0363.3482.publish_2500_20settings.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/29/0363.3482.publish%20settings.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-29/0363.3482.publish_2500_20settings.png" alt="" border="0" /></a></span></p>
<p>&nbsp;</p>
<p><span style="font-size: small;">Click Next &amp; click on Publish, that completes the Publishing part.</span></p>
<p>&nbsp;</p>
<p><span style="font-size: small;"><strong>Testing the published application</strong></span></p>
<p><span style="font-size: small;">In order to test the application, make sure your ADFS service name and <br />Externally published application names are resolvable from the DNS <br />Standpoint.<br /><br />Try to access the site https://portal.contoso.com and you would be redirected to ADFS Authentication page</span></p>
<p><span style="font-size: small;"><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/29/4863.7418.logon.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-29/4863.7418.logon.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/29/4863.7418.logon.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-29/4863.7418.logon.png" alt="" width="765" height="346" border="0" /></a></span></p>
<p><span style="font-size: small;">If everything is working as expected, you should see the default IIS Page as below.</span></p>
<p><span style="font-size: small;"><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/29/4452.5582.webpage.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-29/4452.5582.webpage.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/29/4452.5582.webpage.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-29/4452.5582.webpage.png" alt="" border="0" /></a></span></p>
<p><span style="font-size: small;">I hope this helps.</span></p>
<p>&nbsp;</p>
<p><strong><span style="font-size: small;">Author: Shashanka Haritsa</span></strong></p>
<p><strong><span style="font-size: small;">Technical Lead</span></strong></p>
<p><strong><span style="font-size: small;">Microsoft CSS</span></strong></p>
<p><span style="font-size: medium;"><span style="font-size: 16px;"></span></span></p>]]></content:encoded>
    </item>
  </channel>
</rss>