<?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>#identityjunkie</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/identityjunkie/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/identityjunkie/feed.xml</link>
    <description />
    <lastBuildDate>Wed, 17 Apr 2019 03:30:02 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>Azure: Reprovisioning VMs with Reserved IPs</title>
      <link>https://docs.microsoft.com/archive/blogs/identityjunkie/azure-reprovisioning-vms-with-reserved-ips</link>
      <pubDate>Wed, 08 Jul 2015 04:29:01 GMT</pubDate>
      <dc:creator><![CDATA[Chris Calderon]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/identityjunkie/2015/07/08/azure-reprovisioning-vms-with-reserved-ips/</guid>
      <description><![CDATA[Had issues setting reservations for VMs I was working with, so found a known issue in the Azure...]]></description>
      <content:encoded><![CDATA[<p>Had issues setting <a href="https://azure.microsoft.com/en-us/documentation/articles/virtual-networks-reserved-public-ip/#how-to-manage-reserved-vips">reservations</a> for VMs I was working with, so found a known issue in the Azure modules, V0.9.4; therefore, downgraded to the last version to get working. Get previous versions from GitHub <a href="https://github.com/Azure/azure-powershell/releases">here</a>.</p>
<p>Next task was setting the reservation to existing VMs deployed into my cloud service. After removing, find image not in use then re-provision passing the parameters into the New-AzureVM using the &ndash;ReservedIPName switch. See example:</p>
<pre class="scroll"><code class="csharp">$vm = New-AzureVMConfig -Name $name -InstanceSize A5 -DiskName (Get-AzureDisk | where {$_.AttachedTo -like &#39;&#39;}).DiskName | `
Add-AzureEndpoint -Protocol tcp -LocalPort 443 -PublicPort 443 -Name &quot;HTTPS&quot; | Set-AzureSubnet $subnet
New-AzureVM -ServiceName $cloudService -Location $location -VNetName $vnet -VMs $vm -ReservedIPName $vip.ReservedIPName -Verbose
</code></pre>
<p>Reference links for more details:</p>
<p>https://azure.microsoft.com/en-us/documentation/articles/virtual-networks-reserved-public-ip/</p>
<p>https://azure.microsoft.com/en-us/documentation/articles/virtual-networks-reserved-public-ip/#how-to-manage-reserved-vips</p>]]></content:encoded>
    </item>
    <item>
      <title>UAG Build Versions</title>
      <link>https://docs.microsoft.com/archive/blogs/identityjunkie/uag-build-versions</link>
      <pubDate>Fri, 29 Mar 2013 16:02:25 GMT</pubDate>
      <dc:creator><![CDATA[Chris Calderon]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/identityjunkie/2013/03/29/uag-build-versions/</guid>
      <description><![CDATA[UAG Build Versions:
Ver. 4.0.1752.10000 (SP1)
Ver. 4.0.1773.10100 (SP1U1)
Ver. 4.0.2095.10000...]]></description>
      <content:encoded><![CDATA[<p style="margin: 0in; font-family: Calibri; font-size: 10.5pt;"><strong>UAG Build Versions:</strong></p>
<p style="margin: 0in; font-family: Calibri; font-size: 10.5pt;">Ver. 4.0.1752.10000 (SP1)</p>
<p style="margin: 0in; font-family: Calibri; font-size: 10.5pt;">Ver. 4.0.1773.10100 (SP1U1)</p>
<p style="margin: 0in; font-family: Calibri; font-size: 10.5pt;">Ver. 4.0.2095.10000 (SP2)</p>
<p style="margin: 0in; font-family: Calibri; font-size: 10.5pt;">Ver. 4.0.3123.10000 (SP3)</p>]]></content:encoded>
    </item>
    <item>
      <title>UAG Service Pack installation failure</title>
      <link>https://docs.microsoft.com/archive/blogs/identityjunkie/uag-service-pack-installation-failure</link>
      <pubDate>Fri, 29 Mar 2013 15:26:29 GMT</pubDate>
      <dc:creator><![CDATA[Chris Calderon]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/identityjunkie/2013/03/29/uag-service-pack-installation-failure/</guid>
      <description><![CDATA[Service Packs and Updates Packages for UAG are not cumulative so in order to get to the latest build...]]></description>
      <content:encoded><![CDATA[<p><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: small;">Service Packs and Updates Packages for UAG are not cumulative so in order to get to the latest build you&rsquo;ll need to install each individually. The order of installation should be as described:</span></p>
<p><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: small;">UAG-<a href="https://support.microsoft.com/kb/2585140">KB2585140</a>&nbsp;&ndash; UAG Service Pack 1 Update 1</span></p>
<p><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: small;">TMG-<a href="https://support.microsoft.com/kb/2555840">KB2555840</a>&nbsp;&ndash; TMG Service Pack 2</span></p>
<p><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: small;">TMG-<a href="https://support.microsoft.com/kb/2689195">KB2689195</a>&nbsp;&ndash; TMG Rollup 2 for TMG SP2</span></p>
<p><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: small;">TMG-<a href="https://support.microsoft.com/kb/980674">KB980674</a>&nbsp;&ndash; TMG Array Hotfix</span></p>
<p><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: small;">UAG-<a href="https://support.microsoft.com/kb/2710791">KB2710791</a>&nbsp;&ndash; UAG Service Pack 2</span></p>
<p><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: small;">UAG-<a href="https://support.microsoft.com/kb/2744025">KB2744025</a>&nbsp;&ndash; UAG Service Pack 3</span></p>
<p><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: small;">In any case the installations of UAG service packs fail due to a premature error, be sure you are running the installers as administrators. The second thing to do is enable verbose logging during the installation.</span></p>
<p><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: small;">The error is because the schema upgrade operations are timing out. To extend, temporarily increase the value by modifying the machine.config file located within C:\Windows\Microsoft.NET\Framework64\v2.0.050727\CONFIG by adding the following element just before the &lt;/configuration&gt; tag. Re-run the service pack to install.&nbsp;&nbsp;</span></p>
<p><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: small;">Reference <a href="https://support.microsoft.com/kb/2811066">KB2811066</a>&nbsp;for fix.</span></p>]]></content:encoded>
    </item>
    <item>
      <title>“0 is not a valid DN depth”</title>
      <link>https://docs.microsoft.com/archive/blogs/identityjunkie/0-is-not-a-valid-dn-depth</link>
      <pubDate>Thu, 04 Oct 2012 08:41:40 GMT</pubDate>
      <dc:creator><![CDATA[Chris Calderon]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/identityjunkie/2012/10/04/0-is-not-a-valid-dn-depth/</guid>
      <description><![CDATA[After upgrading to R2, I ran into a stopped-server (Event ID: 6311 and 6401) error where an XMA was...]]></description>
      <content:encoded><![CDATA[<p>After upgrading to R2, I ran into a stopped-server (Event ID: 6311 and 6401) error where an XMA was terminated when attempting any type of Full Import. The weird thing was other XMAs on this server that used the same libraries worked fine; therefore, isolating it to something in the CS of this particular management agent. Because the CS was fairly large, clearing it was not an option.</p>
<p>Within the eventlogs, the following error is reported: "ERR_: MMS(6968): d:\bt\9394412\private\source\miis\shared\utils\libutils.cpp(10364): Unusual error code reported 0x80070057. Forefront Identity Manager 4.1.2273.0". There is also traces of the ' 0 is not a valid DN depth' error.&rdquo;</p>
<p>The following R2 hotfix resolves the &ldquo;0 is not a valid DN depth&rdquo; error. The hotfix is located <a href="https://support.microsoft.com/kb/2734159">here</a> or can be found by searching on <a href="https://support.microsoft.com/kb/2734159">KB2734159</a>.</p>]]></content:encoded>
    </item>
    <item>
      <title>Configuring SSTP in a UAG Array Notes</title>
      <link>https://docs.microsoft.com/archive/blogs/identityjunkie/configuring-sstp-in-a-uag-array-notes</link>
      <pubDate>Thu, 05 Jul 2012 16:33:56 GMT</pubDate>
      <dc:creator><![CDATA[Chris Calderon]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/identityjunkie/2012/07/05/configuring-sstp-in-a-uag-array-notes/</guid>
      <description><![CDATA[Today, I spent most of my day validating documentation and configurations for publishing SSTP within...]]></description>
      <content:encoded><![CDATA[<p><span style="font-family: tahoma,arial,helvetica,sans-serif;">Today, I spent most of my day validating documentation and configurations for publishing SSTP within a UAG Array. A few things you need to consider when working with UAG arrays is to make sure all nodes are at consistent patch levels. Below is a list of current patches necessary to get this working:</span></p>
<ul>
<li><span style="font-family: tahoma,arial,helvetica,sans-serif;">TMG KB980674 (An IPsec VPN site-to-site tunnel or a PPTP VPN site-to-site tunnel does not work if you enable integrated NLB on a TMG array</span></li>
<li><span style="font-family: tahoma,arial,helvetica,sans-serif;">TMG KB2689195 (TMG SP2 Rollup 2)</span></li>
<li><span style="font-family: tahoma,arial,helvetica,sans-serif;">TMG KB2555840 (TMG SP2)</span></li>
<li><span style="font-family: tahoma,arial,helvetica,sans-serif;">UAG KB2585140 (UAG SP1 Update 1)</span></li>
</ul>
<p><span style="font-family: tahoma,arial,helvetica,sans-serif;">Reference the following TechNet articles related to the topic of this post:</span></p>
<ul>
<li><span style="font-family: tahoma,arial,helvetica,sans-serif;"><a href="https://technet.microsoft.com/en-us/library/ee809077.aspx#BKMK_IP">Publishing SSTP in UAG</a></span></li>
<li><span style="font-family: tahoma,arial,helvetica,sans-serif;"><a href="https://blogs.technet.com/b/edgeaccessblog/archive/2009/06/29/array-and-network-load-balancing.aspx">UAG Array and Network Load Balancing</a></span></li>
</ul>
<p><span style="font-family: tahoma,arial,helvetica,sans-serif;">Additionally, make sure your private managed network does not overlap with the address pools allocated for VPN clients.</span></p>]]></content:encoded>
    </item>
    <item>
      <title>Issuing objectGUID as an ADFS Claim</title>
      <link>https://docs.microsoft.com/archive/blogs/identityjunkie/issuing-objectguid-as-an-adfs-claim</link>
      <pubDate>Wed, 27 Jun 2012 22:16:00 GMT</pubDate>
      <dc:creator><![CDATA[Chris Calderon]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/identityjunkie/2012/06/27/issuing-objectguid-as-an-adfs-claim/</guid>
      <description><![CDATA[The objectGUID&nbsp;in AD will in a base64 format when issued from an AD attribute store. To get the...]]></description>
      <content:encoded><![CDATA[<p><span style="font-family: tahoma,arial,helvetica,sans-serif;">The <a href="https://msdn.microsoft.com/en-us/library/windows/desktop/ms679021(v=vs.85).aspx">objectGUID</a>&nbsp;in AD will in a base64 format when issued from an AD attribute store. To get the actual GUID value, you must decode and convert it. You can use the <a href="https://msdn.microsoft.com/en-us/library/hh599320.aspx">StringPrcoessing</a>&nbsp;custom attribute store and extend it using something like:</span></p>
<pre class="scroll"><code class="csharp">static private string ConvertBase64ToGuid(string myData)<br /> {<br /> byte[] encodeAsBytes = System.Convert.FromBase64String(myData);<br /> string returnValue = new Guid(encodeAsBytes).ToString();<br /> return returnValue;<br /> <br /> }</code></pre>
<p></p>
<p></p>]]></content:encoded>
    </item>
    <item>
      <title>Federating FIM 2010 using UAG/ADFS and KCD</title>
      <link>https://docs.microsoft.com/archive/blogs/identityjunkie/federating-fim-2010-using-uagadfs-and-kcd</link>
      <pubDate>Thu, 19 May 2011 14:45:00 GMT</pubDate>
      <dc:creator><![CDATA[Chris Calderon]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/identityjunkie/2011/05/19/federating-fim-2010-using-uagadfs-and-kcd/</guid>
      <description><![CDATA[This post is about leveraging ADFS/UAG to publish FIM to identities outside the trusted security...]]></description>
      <content:encoded><![CDATA[<p><span style="font-family: verdana,geneva;">This post is about leveraging ADFS/UAG to publish FIM to identities outside the trusted security realms for delegation and/or self-service identity related tasks. Before getting into the technical stuff, this post is not meant to be a &ldquo;How To&rdquo; guide. It&rsquo;s really just to demonstrate the capabilities of our identity stack.</span></p>
<p><span style="font-family: verdana,geneva;">Where is this applicable?&nbsp; Say you have a resource forest where FIM resides so how do you provide access to the portal from autonomous security realms without having to create a bunch of NT trusts or maintaining secondary credentials. Because shadow accounts exist within the resource forest as security principals for dependent services (for example BPOS or O365), you can leverage UAG, ADFS, and KCD together to provide secure access. UAG is claims-aware and supports Kerberos protocol extensions for (1) protocol transitioning and (2) constrained delegation. </span></p>
<ul>
<li><span style="font-family: verdana,geneva;">Protocol transition is a Kerberos extension introduced in Windows 2003 which allows a service that uses Kerberos to obtain a Kerberos service ticket on behalf of a Kerberos principal to the service without requiring the principal to initially authenticate to the KDC with credentials. </span></li>
<li><span style="font-family: verdana,geneva;">Constrained delegation is an extension which allows a service to obtain service tickets (under the delegated users identity) to a subset of other services after it has been presented with a service ticket that is obtained either through the TGS_REQ protocol, as defined in IETF RFC 1510, or in the protocol transition extension.</span></li>
</ul>
<p><span style="font-family: verdana,geneva;">The architecture should look and works as&nbsp;diagramed below: </span></p>
<p><span style="font-family: verdana,geneva;">&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/95/0131.image1.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-95/0131.image1.jpg"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/95/0131.image1.jpg" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-95/0131.image1.jpg" border="0" /></a></span></p>
<p><span style="font-family: verdana,geneva;">To get this working you need the following:</span></p>
<ol>
<li><span style="font-family: verdana,geneva;">Kerberos-enabled WSS 3.0 (FIM Portal Server) + working FIM 2010 installation</span></li>
<li><span style="font-family: verdana,geneva;">ADFS 2.0 Server (STS-RP and STS-IP)</span></li>
<li><span style="font-family: verdana,geneva;">UAG 2010 SP1</span></li>
</ol>
<p><span style="font-family: verdana,geneva;">There are many online references for configuring WSS for Kerberos; therefore, I&rsquo;m just going to summarize the key configuration tasks and troubleshooting notes. </span></p>
<p><span style="font-family: verdana,geneva;"><b><span style="text-decoration: underline;">Configuring WSS for Kerberos</span></b></span></p>
<ol>
<li><span style="font-family: verdana,geneva;">Reference the following TechNet article to configure Kerberos authentication within WSS:</span> 
<ul>
<li><span style="font-family: verdana,geneva;"><a href="https://technet.microsoft.com/en-us/library/cc263449(office.12).aspx">Configure Kerberos Authentication (Office SharePoint Server)</a></span></li>
</ul>
</li>
<li><span style="font-family: verdana,geneva;">Insure Kerberos enabled end-to-end:</span> 
<ul>
<li><span style="font-family: verdana,geneva;">Run the following query to determine Kerberos is </span><span style="font-family: verdana,geneva;">being used for SQL:</span> 
<ul>
<li><span style="font-family: verdana,geneva;"></span><span style="font-family: verdana,geneva;"><code class="mysql">SELECT SESSION_ID,AUTH_SCHEMA,NET_TRANSPORT FROM SYS.DM_EXEC_CONNECTIONS WHERE @@SSPID = SESSION_ID</code></span> </li>
<li><span style="font-family: verdana,geneva;">Verify Kerberos is being used on the WSS Web Front-end event logs. You should be able to filter the log to Event ID: 4624.</span> 
<ul>
<li><span style="font-family: verdana,geneva;">You can also use <a href="https://www.fiddler2.com/fiddler2/">Fiddler</a> to validate WWW-Authentication from the client browser to IIS.</span></li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
<span style="font-family: verdana,geneva;">
<li>Once you&rsquo;re sure Kerberos is configured end-to-end within WSS, you should be good to proceed. </li>
</span></ol>
<p><span style="font-family: verdana,geneva;"><b><span style="text-decoration: underline;">Configure UAG with ADFS 2.0</span></b></span></p>
<p><span style="font-family: verdana,geneva;">For the ADFS and UAG configuration make sure the common pre-requisites are configured properly. What I&rsquo;m referring to is name resolution, certificates, and a working configuration. To insure this, I recommend configuring a sample claims-aware application to insure ADFS is working. This can be accomplished by using any of the step-by-step guides published by the PG.</span></p>
<ul>
<li><span style="font-family: verdana,geneva;"><a href="https://technet.microsoft.com/en-us/library/adfs2-step-by-step-guides(WS.10).aspx">ADFS 2.0 Step-by-Step and How To Guides</a></span></li>
</ul>
<p><span style="font-family: verdana,geneva;">The next step is to create a portal trunk in UAG and wire it up to the STS.</span></p>
<ol>
<li><span style="font-family: verdana,geneva;">Within the UAG Management Tool, add an ADFS Authentication Server.</span></li>
<li><span style="font-family: verdana,geneva;">Specify the URL of the federation metadata and select the &ldquo;Retrieve Metadata&rdquo; button.</span> 
<ul>
<li><span style="font-family: verdana,geneva;">Select the claim value to be used as lead user value. I used Name but this can be something like UPN or Windows Account Name; whatever you want really.</span></li>
</ul>
</li>
<li><span style="font-family: verdana,geneva;"></span><span style="font-family: verdana,geneva;">Create a portal trunk which will use ADFS as an authentication mechanism. </span></li>
<li><span style="font-family: verdana,geneva;">Save and activate the configuration. The next step would be configuring UAG as an RP in ADFS.</span> 
<ul>
<li><span style="font-family: verdana,geneva;">Verify the federation metadata on UAG and save it to a file for later use.</span></li>
</ul>
</li>
<li><span style="font-family: verdana,geneva;">Configure UAG as an RP Trust in ADFS. To do this, you will need to import the federation metadata from the file created in the previous step.</span></li>
<li><span style="font-family: verdana,geneva;">Edit the Claims Rules to pass data from the attribute store. In my configuration, the minimum was SAM-Account-Name mapping to Name. Save and test the configuration.</span></li>
<li><span style="font-family: verdana,geneva;">As a test, you should attempt to access the UAG Portal. You should be redirected to your IDP. If you have more than one identity provider, then the requestor will need to select their IdP within the HRD page. Otherwise, you should get the FBA login page presented by the IdP. Enter the appropriate credentials to successfully authenticate and be redirected to the RP (UAG Portal). The RP will consume the AuthN token and the end result is to successfully long into the UAG Portal. </span></li>
</ol>
<p><span style="font-family: verdana,geneva;"><b><span style="text-decoration: underline;">Publish FIM through UAG</span></b></span></p>
<p><span style="font-family: verdana,geneva;">Now that requestors can successfully log into UAG using Federated AuthN, the next step is to publish FIM 2010 as an application within UAG.</span></p>
<ol>
<li><span style="font-family: verdana,geneva;">Add an application within the existing trunk. UAG comes with a template to use with FIM 2010.</span></li>
<li><span style="font-family: verdana,geneva;">Specify the URL for FIM under the web servers&rsquo; properties.</span></li>
<li><span style="font-family: verdana,geneva;">Enable SSO under the authentication properties. Select &ldquo;Use Kerberos constrained delegation for single sign-on. Additionally, select a value from this claim type as the shadow account user name for KCD when using federated authentication.</span><span style="font-family: verdana,geneva;">The final step is to configure the SPNs in Active Directory for KCD to the UAG server object. Using the UAG Management Tool, Export KCD Settings to Active Directory. Then use Ldifde.exe to import the SPN value which is set on the msDS-AllowToDelegateTo attribute of the UAG computer object.</span> 
<ul>
<li><span style="font-family: verdana,geneva;">I prefer publishing applications directly through UAG. To do this, uncheck &ldquo;Add portal and toolbar link&rdquo; and &ldquo;Open in a new window&rdquo; within the Portal Link properties. Within the Portal Trunk configuration, I modify the &ldquo;Portal home page&rdquo; to the FIM Application and uncheck &ldquo;Display home page within portal frame. </span><span style="font-family: verdana,geneva;">Assuming, the FIM SPNs are configured properly&hellip;we can assume a working FIM Portal. </span></li>
</ul>
</li>
<li><span style="font-family: verdana,geneva;">The final step is to test the configuration. Browse the FIM URL from an untrusted workstation outside of the network. The end result is the FIM Portal being rendered in the same way as if you were accessing it internally.</span></li>
</ol>
<p><span style="font-family: verdana,geneva;"></span><span style="font-family: verdana,geneva;"><b>Note:</b> Verify the KCD Protocol Transition is successful and Set KCD Shadow User Name through Web Monitor | Event Viewer | Security Events.</span></p>]]></content:encoded>
    </item>
  </channel>
</rss>