<?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>Angeo's Blogs</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/angeos_blogs/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/angeos_blogs/feed.xml</link>
    <description />
    <lastBuildDate>Wed, 17 Apr 2019 03:47:53 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>L2TP/IPsec Client Access VPN with Pre-shared key is not working in TMG</title>
      <link>https://docs.microsoft.com/archive/blogs/angeos_blogs/l2tpipsec-client-access-vpn-with-pre-shared-key-is-not-working-in-tmg</link>
      <pubDate>Tue, 12 Dec 2017 09:08:04 GMT</pubDate>
      <dc:creator><![CDATA[angeos]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/angeos_blogs/?p=75</guid>
      <description><![CDATA[Recently I worked on an issue where the L2TP/IPSec Client Access VPN was not working through TMG....]]></description>
      <content:encoded><![CDATA[Recently I worked on an issue where the L2TP/IPSec Client Access VPN was not working through TMG. The TMG was configured to use Pre-Shared key for the IPsec policy but the VPN clients were unable to establish the session with the TMG server.

In the Event viewer we, got the below error

<em>The following error occurred in the Point to Point Protocol module on port: VPN2-220, UserName: testuser@xxx.com. The connection was prevented because of a policy configured on your RAS/VPN server. Specifically, the authentication method used by the server to verify your username and password may not match the authentication method configured in your connection profile. Please contact the Administrator of the RAS server and notify them of this error.</em>

We verified all the configuration on the TMG and client machines but couldn’t find anything wrong. Then we collected the ikee traces from the TMG server and found the below interesting entry in the log.

5020 Auth methods: 1

5021 -- 0 --

5022   <em>Type: Certificate</em>

&nbsp;

The Type was showing as <em>Certificate</em> instead of Pre-Shared key. Further checking in the RRAS settings, we found that the TMG was unable to save the Pre-Shared key in the RRAS configuration. In RRAS settings, the Pre-shared key was not even showing as enabled.

<a href="https://msdnshared.blob.core.windows.net/media/2017/12/RRAS.jpg"><img width="210" height="300" class="alignnone size-medium wp-image-85" alt="" src="https://msdnshared.blob.core.windows.net/media/2017/12/RRAS-210x300.jpg" /></a>

So we investigated further by collecting various trace logs and finally figured out the TMG server had the below registry key enabled.

HKLM\System\CurrentControlSet\services\RasMan\Parameters\<em>DisableSavePassword </em>

The value for the <i>DisableSavePassword</i> was set to 1 and this was preventing TMG from saving the Pre-shared key. After disabling this registry setting, the TMG was able to configure the Pre-shared key in the RRAS and VPN clients were able to connect successfully.

<strong>Author:</strong>

<strong><span>ANIL GEORGE</span> </strong>
<span>Microsoft Security Support Escalation Engineer</span>

<strong>Reviewer:</strong>

<strong><span>KARTHIK DIVAKARAN</span> </strong>
<span>Microsoft Windows Escalation Engineer</span>]]></content:encoded>
    </item>
    <item>
      <title>Publishing Forefront Identity Manager (FIM) Self Service Password Reset (SSPR) portal through Web Application Proxy (WAP)</title>
      <link>https://docs.microsoft.com/archive/blogs/angeos_blogs/publishing-forefront-identity-manager-fim-self-service-password-reset-sspr-portal-through-web-application-proxy-wap</link>
      <pubDate>Wed, 01 Oct 2014 08:21:00 GMT</pubDate>
      <dc:creator><![CDATA[angeos]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/angeos_blogs/2014/10/01/publishing-forefront-identity-manager-fim-self-service-password-reset-sspr-portal-through-web-application-proxy-wap/</guid>
      <description><![CDATA[As we know FIM SSPR service has two portals.

Password registration portal
Password reset...]]></description>
      <content:encoded><![CDATA[<p>As we know FIM SSPR service has two portals.</p>
<ol>
<li>Password registration portal</li>
<li>Password reset portal.</li>
</ol>
<p>In this blog post you we will see how to publish the <strong>SSPR Reset portal</strong> through WAP.</p>
<p>You can visit the below blog posts to know the details on publishing FIM Portal and SSPR Registration portal.</p>
<p><strong><em><a href="https://blogs.msdn.com/b/angeos_blogs/archive/2014/09/12/how-to-publish-forefront-identity-manager-fim-portal-through-web-application-proxy-wap.aspx">How to publish FIM Portal through Web Application Proxy.</a></em></strong></p>
<p><strong><em><a href="https://blogs.msdn.com/b/angeos_blogs/archive/2014/10/01/publishing-forefront-identity-manager-fim-self-service-password-reset-sspr-portals-through-web-application-proxy-wap.aspx">How to publish FIM SSPR Registration portal through Web Application Proxy.</a></em></strong></p>
<p><strong>&nbsp;</strong></p>
<h3><strong>Publishing FIM Password Reset Portal on WAP</strong></h3>
<p>The Password reset portal cannot be published using the Pre-authentication method on the WAP as the portal requires anonymous access from the end users. So publishing password reset portal through the WAP is pretty simple.</p>
<p>1. Make sure you are able to access your password reset portal from the WAP server from a browser. If you are unable to access it from the WAP server, please check your name resolution or Firewall settings or any other settings which prevents the access.</p>
<p>2. Open &lsquo;Remote Access Management console&rsquo; on the WAP server Click on the &lsquo;Publish&rsquo; option.</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/67/35/0647.Image1.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-35/0647.Image1.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/67/35/0647.Image1.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-35/0647.Image1.png" alt="" border="0" /></a></p>
<p>&nbsp;</p>
<p>3. Click next and select &lsquo;Pass-through&rsquo; option.</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/67/35/2451.Image2.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-35/2451.Image2.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/67/35/2451.Image2.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-35/2451.Image2.png" alt="" border="0" /></a></p>
<p>4. Enter the following details on the next window.</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/67/35/3644.Image3.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-35/3644.Image3.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/67/35/3644.Image3.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-35/3644.Image3.png" alt="" border="0" /></a></p>
<ol>
<li>Name: Any name to identify this application&nbsp; (eg: Password Reset Portal)</li>
<li>External URL: The url you will use to access the Password reset Portal from external world or&nbsp; internet (https://passwordreset.contoso.com)</li>
<li>External Certificate: Since the site is published over SSL we need to select a certificate for this site. Before beginning this wizard, make sure to obtain and install a certificate which has the external name of your Password reset portal.</li>
<li>Backend server URL:&nbsp; this is the URL which you use to access the password reset portal&nbsp; from your Intranet&nbsp; (eg: https://passwordreset.contoso.com )</li>
</ol>
<p><br />Click Next, Publish and finish the wizard.</p>
<p>Configure your external firewall to forward the traffic coming for password reset portal to WAP server IP.</p>
<p>Test the access from an external client machine. You should be able to access it.</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/67/35/2158.Image4.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-35/2158.Image4.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/67/35/2158.Image4.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-35/2158.Image4.png" alt="" border="0" /></a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><strong>Author:</strong> &nbsp;</p>
<p><strong><span style="font-size: x-small;">ANIL GEORGE</span>&nbsp;</strong><br /><span style="font-size: x-small;">Microsoft Security Support Engineer</span></p>
<p>&nbsp;</p>
<p><strong>Reviewer:</strong></p>
<p><strong><span style="font-size: x-small;">SURAJ SINGH</span>&nbsp;</strong><br />Microsoft Security Support Escalation Engineer</p>
<p>&nbsp;</p>]]></content:encoded>
    </item>
    <item>
      <title>Publishing Forefront Identity Manager (FIM) Self Service Password Reset (SSPR) registration portal through Web Application Proxy (WAP</title>
      <link>https://docs.microsoft.com/archive/blogs/angeos_blogs/publishing-forefront-identity-manager-fim-self-service-password-reset-sspr-registration-portal-through-web-application-proxy-wap</link>
      <pubDate>Wed, 01 Oct 2014 08:07:00 GMT</pubDate>
      <dc:creator><![CDATA[angeos]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/angeos_blogs/2014/10/01/publishing-forefront-identity-manager-fim-self-service-password-reset-sspr-registration-portal-through-web-application-proxy-wap/</guid>
      <description><![CDATA[As we know FIM SSPR service has two portals.

Password registration portal
Password reset...]]></description>
      <content:encoded><![CDATA[<p>As we know FIM SSPR service has two portals.</p>
<ol>
<li>Password registration portal</li>
<li>Password reset portal.</li>
</ol>
<p>In this blog post you we will see how to publish the <strong>SSPR registration portal</strong> through WAP.</p>
<p>You can visit the below blog posts to know the details on publishing FIM Portal and SSPR Reset portal.</p>
<p><a href="https://blogs.msdn.com/b/angeos_blogs/archive/2014/09/12/how-to-publish-forefront-identity-manager-fim-portal-through-web-application-proxy-wap.aspx"><strong><em>How to publish FIM Portal through Web Application P</em></strong><strong><em>roxy.</em></strong></a></p>
<p><a href="https://blogs.msdn.com/b/angeos_blogs/archive/2014/10/01/publishing-forefront-identity-manager-fim-self-service-password-reset-sspr-portal-through-web-application-proxy-wap.aspx"><strong><em>How to publish FIM SSPR Reset portal through Web Application Pr</em></strong><strong><em>oxy.</em></strong></a></p>
<p><strong>&nbsp;</strong></p>
<h3><strong>Publishing FIM Password Registration Portal through Web Application Proxy</strong></h3>
<p>The Password Registration portal can be configured with Pre-authentication on WAP. For this, we have to use the Kerberos Constrained Delegation (KCD) method to delegate the credential from the WAP server to the FIM Password Registration Portal server.</p>
<p>Let&rsquo;s collect the required information about the FIM SSPR Registration portal for publishing.</p>
<p>1. Find the Service Principal Name (SPN) registered for Password Registration portal.</p>
<p>Normally the SPNs for SSPR portals will be registered on the computer account where the SSPR portals are installed. Please refer <a href="https://technet.microsoft.com/en-us/library/jj134299(v=ws.10).aspx">this article</a> for more details.</p>
<p>Open an elevated command prompt and run the below command to list the SPN registered on the computer account.</p>
<p>&nbsp;&nbsp; Setspn &ndash;L&nbsp;&nbsp; &lt;PasswordRegistrationPortalComputerName&gt;</p>
<p>&nbsp;<br /><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/67/35/3056.Image1.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-35/3056.Image1.jpg"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/67/35/3056.Image1.jpg" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-35/3056.Image1.jpg" alt="" border="0" /></a>&nbsp;</p>
<p>You can see that in my lab I have registered the SPN as <strong>HTTP/passwordregistration.contoso.com</strong></p>
<p>2. Find out your internal url for accessing the Password Registration Portal</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; I am using https://passwordregistration.contoso.com</p>
<p>&nbsp;&nbsp;&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/67/35/1057.Image2.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-35/1057.Image2.jpg"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/67/35/1057.Image2.jpg" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-35/1057.Image2.jpg" alt="" width="382" height="239" border="0" /></a></p>
<p>&nbsp;</p>
<p>&nbsp;3. Go to your WAP server and try to access the Password&nbsp; registration portal using this same URL. If you are able to access then you can proceed with publishing. If you cannot access the Portal from the WAP server, then you need to troubleshoot that first. You can check whether the name resolution works correctly or not or is there any Firewall in between the WAP and SSPR portal server which is blocking the traffic etc.</p>
<p>&nbsp;</p>
<p><strong>Now we have all the required details about the Password Registration Portal for publishing.</strong></p>
<h3><strong>Creating the Relying Party Trust in ADFS for FIM Password Registration Portal.</strong></h3>
<p>1. Go to your ADFS 2012 server and open the ADFS Management console.</p>
<p>Expand the &lsquo;Trust Relationships&rsquo; and select the &lsquo;Relying Party Trusts&rsquo; Click on the &lsquo;Add Non-Claims-Aware Relaying Party Trust&rsquo;</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/67/35/2068.Image3.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-35/2068.Image3.jpg"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/67/35/2068.Image3.jpg" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-35/2068.Image3.jpg" alt="" width="491" height="119" border="0" /></a></p>
<p>2.&nbsp;Click Start on the Window and give a Display name to identify this Relying Party</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/67/35/0844.Image4.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-35/0844.Image4.jpg"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/67/35/0844.Image4.jpg" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-35/0844.Image4.jpg" alt="" width="492" height="207" border="0" /></a></p>
<p><br /> 3.&nbsp;Click next and type the URL you use to access the FIM Password Registration Portal on your Intranet and click Add.</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/67/35/2664.Image5.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-35/2664.Image5.jpg"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/67/35/2664.Image5.jpg" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-35/2664.Image5.jpg" alt="" border="0" /></a></p>
<p>4.&nbsp;Click Next and select the first option on the next window.</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/67/35/3323.Image6.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-35/3323.Image6.jpg"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/67/35/3323.Image6.jpg" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-35/3323.Image6.jpg" alt="" width="494" height="322" border="0" /></a></p>
<p><br /> 5.&nbsp;Click next and Close the Wizard and an Issuance Authorization Rules will&nbsp; automatically open.&nbsp; If not, open up Edit Issuance Authorization Rules for the Relying Party that you have just added.</p>
<p>&nbsp;</p>
<p>Click on Add Rules</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/67/35/7484.Image7.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-35/7484.Image7.jpg"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/67/35/7484.Image7.jpg" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-35/7484.Image7.jpg" alt="" width="370" height="427" border="0" /></a><br /> <br />&nbsp;</p>
<p>6. Select &lsquo;Permit All Users&rsquo; from the Claim rule template. Click Next, Finish and Apply the Wizard.</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/67/35/7382.Image8.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-35/7382.Image8.jpg"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/67/35/7382.Image8.jpg" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-35/7382.Image8.jpg" alt="" width="494" height="174" border="0" /></a></p>
<p><br />Now we have completed creating the Relaying Party Trust for FIM Password registration Portal on ADFS.</p>
<p>&nbsp;</p>
<p><strong>Now, let&rsquo;s go to the next step of how to Configure Delegation to the WAP computer Account in Active Directory:</strong></p>
<p><strong>&nbsp;</strong></p>
<h3><strong>Configure Delegation to the WAP computer Account in Active Directory</strong></h3>
<p><strong>&nbsp;</strong></p>
<p>&nbsp;1. Find your WAP computer object in AD and take the properties of it.</p>
<p>&nbsp;&nbsp;&nbsp; Go to the &lsquo;Delegation&rsquo; tab and select the highlighted options and then click on Add button</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/67/35/3252.Image9.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-35/3252.Image9.jpg"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/67/35/3252.Image9.jpg" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-35/3252.Image9.jpg" alt="" border="0" /></a></p>
<p>2.&nbsp;Click on &lsquo;Users and Computers&rsquo; button and enter the name of the computer account under FIM Password Registration Portal is running. (explained in the 1<sup>st</sup> &nbsp;step in the beginning of this article)</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/67/35/7183.Image10.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-35/7183.Image10.jpg"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/67/35/7183.Image10.jpg" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-35/7183.Image10.jpg" alt="" width="396" height="309" border="0" /></a><br />&nbsp;</p>
<p>&nbsp;3. Select the correct SPN (in my case HTTP/passwordregistration.contoso.com)&nbsp; and then click OK. Click Apply and OK on the Delegation tab.</p>
<p>&nbsp;&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/67/35/1680.Image11.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-35/1680.Image11.jpg"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/67/35/1680.Image11.jpg" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-35/1680.Image11.jpg" alt="" width="377" height="427" border="0" /></a></p>
<p>&nbsp;</p>
<p><strong>Let&rsquo;s go through the Final Step of Publishing Password Registration Portal on WAP:</strong></p>
<p><strong>&nbsp;</strong><strong>&nbsp;</strong></p>
<h3><strong>Publishing FIM Password Registration Portal on WAP</strong></h3>
<p>&nbsp;</p>
<p>Now we are ready to publish the Password Registration Portal on WAP</p>
<p>1. Go to the WAP server and open the Remote Access Management Console.</p>
<p>&nbsp;&nbsp;&nbsp; Click on the Publish option on the right hand side of the console.</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/67/35/2063.Image12.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-35/2063.Image12.jpg"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/67/35/2063.Image12.jpg" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-35/2063.Image12.jpg" alt="" border="0" /></a></p>
<p>2. Select ADFS for the Preauthentcation method.</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/67/35/2311.Image13.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-35/2311.Image13.jpg"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/67/35/2311.Image13.jpg" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-35/2311.Image13.jpg" alt="" border="0" /></a></p>
<p><br />&nbsp;3. Click Next and it displays you the Relying Parties configured on the ADFS server. Select &lsquo;SSPR Registration&rsquo; from the list and click Next.</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/67/35/0027.Image15.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-35/0027.Image15.jpg"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/67/35/0027.Image15.jpg" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-35/0027.Image15.jpg" alt="" width="494" height="309" border="0" /></a></p>
<p>&nbsp;</p>
<p>4. On the next window you need to enter five options.</p>
<ul>
<li>Name: any name to identify this application&nbsp; (eg: SSPR Registration )</li>
<li>External URL: The url you will use to access the Password Registration Portal from external world or&nbsp; internet (https://passwordregistration.contoso.com)</li>
<li>External Certificate: Since the site is published over SSL we need to select a certificate for this site. Before beginning this wizard, make sure to obtain and install a certificate which has the external name of your Password registration portal.</li>
<li>Backend server URL:&nbsp; this is the URL which you use to access the password registration portal from your Intranet&nbsp; (eg: https://passwordregistration.contoso.com&nbsp;)</li>
<li>Backend server SPN: Enter the SPN we registered for Registration portal computer account. (eg: http/passwordregistration.contoso.com)</li>
</ul>
<p>&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/67/35/2352.Image15.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-35/2352.Image15.jpg"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/67/35/2352.Image15.jpg" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-35/2352.Image15.jpg" alt="" border="0" /></a></p>
<p><br /> 5.&nbsp; Click Next, Publish and then Close.</p>
<p>&nbsp;</p>
<p>So, now we have published the FIM Password Registration portal through WAP !</p>
<p>&nbsp;</p>
<p><strong><span style="text-decoration: underline;">ADDITIONAL INFORMATION</span></strong></p>
<p>You may have to do some additional configuration on your external Firewall to direct the traffic coming for FIM Password registration portal from the internet to the WAP server IP. Your ADFS url should also be accessible from the internet client and this URL should be resolved to the correct IP address (Normally it will be resolved to your WAP server IP).</p>
<p>Once that is done you will be able to access your FIM Password registration portal from an external client machine.</p>
<p><br /> <a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/67/35/0116.Image16.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-35/0116.Image16.jpg"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/67/35/0116.Image16.jpg" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-35/0116.Image16.jpg" alt="" width="444" height="272" 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/67/35/7043.Image17.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-35/7043.Image17.jpg"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/67/35/7043.Image17.jpg" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-35/7043.Image17.jpg" alt="" width="445" height="363" border="0" /></a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><strong>Author:</strong> &nbsp;</p>
<p><strong><span style="font-size: x-small;">ANIL GEORGE</span>&nbsp;</strong><br /><span style="font-size: x-small;"><span style="font-size: x-small;">Microsoft Security Support Engineer</span></span></p>
<p>&nbsp;</p>
<p><strong>Reviewer:</strong></p>
<p><strong><span style="font-size: x-small;">SURAJ SINGH</span>&nbsp;</strong><br />Microsoft Security Support Escalation Engineer</p>
<p><br />&nbsp;</p>]]></content:encoded>
    </item>
    <item>
      <title>How to publish Forefront Identity Manager (FIM) Portal through Web Application Proxy (WAP)</title>
      <link>https://docs.microsoft.com/archive/blogs/angeos_blogs/how-to-publish-forefront-identity-manager-fim-portal-through-web-application-proxy-wap</link>
      <pubDate>Fri, 12 Sep 2014 08:41:00 GMT</pubDate>
      <dc:creator><![CDATA[angeos]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/angeos_blogs/2014/09/12/how-to-publish-forefront-identity-manager-fim-portal-through-web-application-proxy-wap/</guid>
      <description><![CDATA[As Microsoft has introduced a new reverse proxy solution called Web Application Proxy (WAP) in...]]></description>
      <content:encoded><![CDATA[<p>As Microsoft has introduced a new reverse proxy solution called Web Application Proxy (WAP) in Windows 2012 R2, more people have started using this feature for publishing their internal applications to the external world. I would like to explain in this blog post how we can publish the Forefront Identity Manager (FIM) Portal to the external world using the Web Application Proxy.</p>
<p>Let&rsquo;s have a look at some basic information about the Web Application Proxy.</p>
<p>The minimum requirement to install the Web Application Proxy in your environment is;</p>
<p>At least&nbsp;one Windows 2012 Domain controller</p>
<p>One&nbsp;ADFS 2.0 running on Windows Server 2012</p>
<p>One&nbsp;Windows Server 2012 R2 for Web Application Proxy service.</p>
<p>&nbsp;</p>
<p>Since the scope of this blog is to demonstrate how to publish the Forefront Identity Manager portals through Web Application Proxy, I do not want to go in to the details of installing and configuring ADFS and WAP. <br />You can find the details on that in the below article.</p>
<p><a title="Installing and Configuring Web Application Proxy for Publishing Internal Applications" href="https://technet.microsoft.com/en-us/library/dn383650.aspx"><strong>Installing and Configuring Web Application Proxy for Publishing Internal Applications</strong></a><strong></strong></p>
<p>&nbsp;</p>
<h3><strong>Pre-authentication available on Web Application Proxy</strong></h3>
<p>There are 2 type of authentication methods available in Web Application Proxy when you publish an application.</p>
<ul>
<li>ADFS</li>
<li>Pass-through</li>
</ul>
<p>ADFS authentication can be broadly divided in to two;</p>
<ul>
<li>Claims-Aware</li>
<li>Non-Claims-Aware</li>
</ul>
<p>Example for Claims-Aware applications are SharePoint 2013. As FIM is not a Claims-Aware application, we will publish it through WAP using the Non-Claims-Aware method.</p>
<h4><strong>Pass-throughAuthentication</strong></h4>
<p>The Pass-through authentication on Web Application Proxy is othing but allowing the client to directly authenticate with the backend ebserver. In this case WAP does not do any kind of Pre-authentication for the session.</p>
<p>Now, let&rsquo;s talk about Publishing FIM Portal through WAP with Pre-Authentication in detail:</p>
<p>&nbsp;</p>
<h3><strong>Publishing FIM Portal through WAP with Pre-Authentication</strong></h3>
<p>The first requirement for publishing a Non-Claims aware application with pre-authentication is Kerberos Constrained Delegation (KCD). The WAP will authenticate the client user against ADFS and then delegate the credentials to the backend application using Kerberos Constrained Delegation method. So it is important to setup the FIM Portal for Kerberos Authentication.</p>
<p>You can see <a href="https://social.technet.microsoft.com/wiki/contents/articles/3385.fim-2010-kerberos-authentication-setup.aspx">here</a>&nbsp;how to configure FIM for Kerberos Authentication.</p>
<h4><strong>Collecting the Pre-requisites from your FIM environment</strong></h4>
<p>1. Find the account under which the Application Pool for FIM Portal is running.</p>
<p style="padding-left: 30px;">I installed my FIM Portal on the default &lsquo;SharePoint-80&rsquo; Site and for you it may be different. On the IIS management console, right click on the FIM Portal and select &lsquo;Manage Web site&rsquo; -&gt; &lsquo;Advanced Settings&rsquo;</p>
<p>You can see on the top under which Application pool this FIM Portal is running. In my case it is &lsquo;SharePoint -80&rsquo;</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/67/35/5468.Image1.JPG" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-35/5468.Image1.JPG"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/67/35/5468.Image1.JPG" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-35/5468.Image1.JPG" alt="" border="0" /></a></p>
<p style="padding-left: 30px;">Go to the Application Pool section on the IIS and check what is the account configured for this FIM Portal AppPool. In my lab it is, <em>contoso\fimsppool</em>&nbsp;</p>
<p style="padding-left: 30px;"><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/67/35/3858.Image2.JPG" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-35/3858.Image2.JPG"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/67/35/3858.Image2.JPG" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-35/3858.Image2.JPG" alt="" border="0" /></a></p>
<p>2. Check whether you have the correct Service Principal Name (SPN) registered for this AppPool account.</p>
<p style="padding-left: 30px;">Open an elevated command prompt on your server and enter the below command to check it.</p>
<p style="padding-left: 30px;">&nbsp;&nbsp; Setspn &ndash; L contoso\fimsppool</p>
<p style="padding-left: 30px;">(here contoso is your domainand fimsppool is the account under which the FIM Portal AppPool is running).</p>
<p style="padding-left: 30px;"><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/67/35/4405.Image3.JPG" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-35/4405.Image3.JPG"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/67/35/4405.Image3.JPG" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-35/4405.Image3.JPG" alt="" border="0" /></a></p>
<p style="padding-left: 30px;">I have 2 SPNs registered <strong>HTTP/fim.contoso.com</strong> and <strong>HTTP/FIM</strong></p>
<p>3. Find out your internal url for accessing the FIM Portal</p>
<p style="padding-left: 30px;">I am using <a href="https://fim.contoso.com">https://fim.contoso.com</a></p>
<p style="padding-left: 30px;"><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/67/35/4382.Image4.JPG" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-35/4382.Image4.JPG"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/67/35/4382.Image4.JPG" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-35/4382.Image4.JPG" alt="" border="0" /></a></p>
<p>Go to your WAP server and try to access the FIM portal using this same URL. If you are able to access then you can proceed with publishing. If you cannot access the FIM Portal from the WAP server, then you need to troubleshoot that first. You can check whether the name resolution works correctly or not or is there any Firewall in between the WAP and FIM portal server which is blocking the traffic etc.</p>
<p><strong>Now we have all the required details about FIM for publishing.</strong></p>
<p>FIM Portal Application Pool Account : contoso\fimsppool</p>
<p>SPN registered on AppPool Account : http/fim.contoso.com</p>
<p>Internal FIM Portal URL : https://fim.contoso.com</p>
<h2><strong>Creating the Relying Party Trust in ADFS for FIM Portal.</strong></h2>
<p>Go to your ADFS 2012 server and Open the ADFS Management console.</p>
<p>Expand the &lsquo;Trust Relationships&rsquo; and select the &lsquo;Relying Party Trusts&rsquo; Click on the &lsquo;Add Non-Claims-Aware Relaying Party Trust&rsquo;</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/67/35/0714.Image5.JPG" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-35/0714.Image5.JPG"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/67/35/0714.Image5.JPG" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-35/0714.Image5.JPG" alt="" border="0" /></a></p>
<p>&nbsp;</p>
<p>Click Start on the Window and give a Display name to identify this Relying Party</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/67/35/4863.Image6.JPG" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-35/4863.Image6.JPG"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/67/35/4863.Image6.JPG" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-35/4863.Image6.JPG" alt="" border="0" /></a></p>
<p>&nbsp;&nbsp;</p>
<p>Click next and type the URL you use to access the FIM Portal on your Intranet and click Add.</p>
<p>&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/67/35/8562.Image7.JPG" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-35/8562.Image7.JPG"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/67/35/8562.Image7.JPG" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-35/8562.Image7.JPG" alt="" border="0" /></a></p>
<p>&nbsp;</p>
<p>Click Next and select the first option on the next window.</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/67/35/5807.Image8.JPG" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-35/5807.Image8.JPG"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/67/35/5807.Image8.JPG" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-35/5807.Image8.JPG" alt="" width="432" height="262" border="0" /></a></p>
<p>&nbsp;&nbsp;</p>
<p>Click next and Close the Wizard and an Issuance Authorization Rules will automatically open.&nbsp; If not, open up Edit Issuance Authorization Rules for the Relying Party that you have just added</p>
<p>&nbsp;</p>
<p>Click on Add Rules</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/67/35/2500.Image9.JPG" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-35/2500.Image9.JPG"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/67/35/2500.Image9.JPG" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-35/2500.Image9.JPG" alt="" width="256" height="365" border="0" /></a></p>
<p>&nbsp;</p>
<p>Select &lsquo;Permit All Users&rsquo; from the Claim rule template. Click Next, Finish and Apply the Wizard.</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/67/35/6888.Image10.JPG" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-35/6888.Image10.JPG"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/67/35/6888.Image10.JPG" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-35/6888.Image10.JPG" alt="" width="491" height="175" border="0" /></a></p>
<p>&nbsp;&nbsp;</p>
<p>Now we have completed creating the Relaying Party Trust for FIM Portal on ADFS.</p>
<p>&nbsp;&nbsp;</p>
<p>Now, let&rsquo;s go to the next step of how to Configure Delegation to the WAP computer Account in Active Directory:</p>
<p><strong>&nbsp;</strong></p>
<h2><strong>Configure Delegation to the WAP computer Account in Active Directory</strong></h2>
<p><strong>&nbsp;</strong></p>
<p>&nbsp;</p>
<p>Find your WAP computer object in AD and take the properties of it. Go to the &lsquo;Delegation&rsquo; tab and select the highlighted options and then click on Add button</p>
<p>&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/67/35/8741.Image11.JPG" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-35/8741.Image11.JPG"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/67/35/8741.Image11.JPG" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-35/8741.Image11.JPG" alt="" border="0" /></a></p>
<p>&nbsp;&nbsp;</p>
<p>Click on &lsquo;Users and Computers.&rsquo; button and enter the name of the Application Pool account under FIM Portal is running. (explained in the 2<sup>nd</sup> step in the beginning of this article)</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/67/35/7206.Image12.JPG" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-35/7206.Image12.JPG"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/67/35/7206.Image12.JPG" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-35/7206.Image12.JPG" alt="" width="391" height="340" border="0" /></a>&nbsp;</p>
<p>Select the correct SPN (in my case HTTP/fim.contoso.com) and then click OK. Click Apply and OK on the Delegation tab.</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/67/35/6318.Image13.JPG" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-35/6318.Image13.JPG"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/67/35/6318.Image13.JPG" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-35/6318.Image13.JPG" alt="" width="305" height="353" border="0" /></a></p>
<p>&nbsp;&nbsp;&nbsp;</p>
<p><strong>Let&rsquo;s go through the Final Step of Publishing FIM Portal on WAP:</strong></p>
<p><strong>&nbsp;</strong><strong>&nbsp;</strong></p>
<h2><strong>Publishing FIM Portal on WAP</strong></h2>
<p>&nbsp;</p>
<p>Now we are ready to publish the FIM Portal on WAP. Go to the WAP server and open the <strong>Remote Access Management Console</strong>. Click on the <strong>Publish</strong> option on the right hand side of the console.</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/67/35/0005.Image14.JPG" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-35/0005.Image14.JPG"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/67/35/0005.Image14.JPG" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-35/0005.Image14.JPG" alt="" width="490" height="144" border="0" /></a></p>
<p>&nbsp;</p>
<p>Select <strong>ADFS</strong> for the Preauthentcation method.</p>
<p>&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/67/35/2744.Image15.JPG" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-35/2744.Image15.JPG"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/67/35/2744.Image15.JPG" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-35/2744.Image15.JPG" alt="" width="494" height="190" border="0" /></a></p>
<p>&nbsp;</p>
<p>Click Next and it displays you the Relying Parties configured on the ADFS server. Select &lsquo;FIM Portal&rsquo; from the list and click<br />Next.</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/67/35/3630.Image16.JPG" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-35/3630.Image16.JPG"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/67/35/3630.Image16.JPG" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-35/3630.Image16.JPG" alt="" width="402" height="221" border="0" /></a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>On the next window you need to enter five options.</p>
<p>Name: any name to identify this application&nbsp; (eg: FIM Portal)</p>
<p><strong>External URL</strong>: The url you will use to access the FIM Portal from external world or&nbsp; internet (https://fimportal.contoso.com)</p>
<p><strong>External Certificate:</strong> Since the site is published over SSL we need to select a certificate for this site. Before beginning this wizard, make sure to obtain and install a certificate which has the external name of your FIM portal.</p>
<p><strong>Backend server URL:</strong>&nbsp; this is the URL which you use to access the FIM portal from your Intranet&nbsp; (eg: https://fim.contoso.com )</p>
<p><strong>Backend server SPN:</strong> Enter the SPN we registered for FIM portal Application pool. (eg: http/fim.contoso.com)</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/67/35/3276.Image17.JPG" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-35/3276.Image17.JPG"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/67/35/3276.Image17.JPG" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-35/3276.Image17.JPG" alt="" width="495" height="308" border="0" /></a></p>
<p>&nbsp;&nbsp;</p>
<p>Click Next, Publish and then Close.</p>
<p>So, now we have published the FIM portal through WAP!</p>
<p>&nbsp;&nbsp;</p>
<p><strong><span style="text-decoration: underline;">ADDITIONAL INFORMATION:</span></strong></p>
<p>You may have to do some additional configuration on your external Firewall to direct the traffic coming for FIM portal from the internet to the WAP server IP. Your ADFS url should be accessible from the internet client and this URL should be resolved to the correct IP address (Normally it will be resolved to your WAP server IP).</p>
<p>Once that is done you will be able to access your FIM portal from an external client machine.</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/67/35/6825.Image18.JPG" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-35/6825.Image18.JPG"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/67/35/6825.Image18.JPG" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-35/6825.Image18.JPG" alt="" width="445" height="319" border="0" /></a></p>
<p><br />&nbsp;&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/67/35/6332.Image19.JPG" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-35/6332.Image19.JPG"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/67/35/6332.Image19.JPG" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-35/6332.Image19.JPG" alt="" width="496" height="212" border="0" /></a></p>
<p>&nbsp;</p>
<p><strong>Other related blogs:</strong></p>
<p><em><a href="https://blogs.msdn.com/b/angeos_blogs/archive/2014/10/01/publishing-forefront-identity-manager-fim-self-service-password-reset-sspr-portal-through-web-application-proxy-wap.aspx">Publishing FIM SSPR Reset Portal through WAP</a></em></p>
<p><em><a href="https://blogs.msdn.com/b/angeos_blogs/archive/2014/10/01/publishing-forefront-identity-manager-fim-self-service-password-reset-sspr-portals-through-web-application-proxy-wap.aspx">Publishing FIM SSPR Registration Portal through WAP</a></em></p>
<p>&nbsp;</p>
<p><strong>Author:</strong> &nbsp;</p>
<p><strong><span style="font-size: x-small;">ANIL GEORGE</span>&nbsp;</strong><br /><span style="font-size: x-small;">Microsoft Security Support Engineer</span></p>
<p>&nbsp;</p>
<p><strong>Reviewer:</strong></p>
<p><strong><span style="font-size: x-small;">NITIN SINGH</span>&nbsp;</strong><br />Microsoft Security Support Escalation Engineer</p>]]></content:encoded>
    </item>
  </channel>
</rss>