<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Yet another identity management blog</title>
	<atom:link href="http://blog.msresource.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.msresource.net</link>
	<description>Thoughts and opinions on and around Microsoft Identity Management</description>
	<lastBuildDate>Fri, 25 May 2012 22:30:34 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='blog.msresource.net' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Yet another identity management blog</title>
		<link>http://blog.msresource.net</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://blog.msresource.net/osd.xml" title="Yet another identity management blog" />
	<atom:link rel='hub' href='http://blog.msresource.net/?pushpress=hub'/>
		<item>
		<title>Initialising arrays in PowerShell</title>
		<link>http://blog.msresource.net/2012/05/25/initialising-arrays-in-powershell/</link>
		<comments>http://blog.msresource.net/2012/05/25/initialising-arrays-in-powershell/#comments</comments>
		<pubDate>Fri, 25 May 2012 22:25:59 +0000</pubDate>
		<dc:creator>Paul Williams</dc:creator>
				<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[Scripting]]></category>
		<category><![CDATA[PS]]></category>

		<guid isPermaLink="false">https://msresource.wordpress.com/?p=491</guid>
		<description><![CDATA[Initializing arrays in PowerShell (en-US spelling for search engine purposes ). I think it’s taken me three years to work this out and it took a rushed script with a typo to figure it out.  Later I finally found the &#8230; <a href="http://blog.msresource.net/2012/05/25/initialising-arrays-in-powershell/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.msresource.net&#038;blog=22278516&#038;post=491&#038;subd=msresource&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Initializing arrays in PowerShell (en-US spelling for search engine purposes <img class="wlEmoticon wlEmoticon-smile" style="border-style:none;" src="http://msresource.files.wordpress.com/2012/05/wlemoticon-smile1.png?w=640" alt="Smile" />).</p>
<p>I think it’s taken me three years to work this out and it took a rushed script with a typo to figure it out.  Later I finally found the answer on <em>stackoverflow.com</em> but by then it was too late…could have made my life easier when trying to write some simple base 64 conversion code for a colleague last year.  <img class="wlEmoticon wlEmoticon-smile" style="border-style:none;" src="http://msresource.files.wordpress.com/2012/05/wlemoticon-smile1.png?w=640" alt="Smile" /></p>
<p>Anyway.  How to define or initialise (initialize) an array in PowerShell?</p>
<p>For example, in C# we’d do this:</p>
<pre class="csharpcode">Person[] p = <span class="kwrd">new</span> Person[];</pre>
<p>or</p>
<pre class="csharpcode">DirectoryAttribute[] d = <span class="kwrd">new</span> DirectoryAttribute[5];</pre>
<p>How do we do this in PowerShell?  In much the same way, except we use New-Object in place of <em>new</em> and we don’t stipulate the upper bound in the square brackets but instead next to the square brackets, e.g.</p>
<pre class="csharpcode">[String[]]$str = New-Object String[] 5;</pre>
<p>Or, seeing as I was using System.DirectoryServices.Protocols.DirectoryAttribute…</p>
<pre class="csharpcode">[System.DirectoryServices.Protocols.DirectoryAttribute]$dsa = `
    New-Object System.DirectoryServices.Protocols.DirectoryAttribute[] 10;</pre>
<p>Simple yet hugely helpful I hope.  Happy initialising…</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/msresource.wordpress.com/491/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/msresource.wordpress.com/491/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/msresource.wordpress.com/491/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/msresource.wordpress.com/491/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/msresource.wordpress.com/491/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/msresource.wordpress.com/491/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/msresource.wordpress.com/491/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/msresource.wordpress.com/491/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/msresource.wordpress.com/491/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/msresource.wordpress.com/491/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/msresource.wordpress.com/491/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/msresource.wordpress.com/491/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/msresource.wordpress.com/491/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/msresource.wordpress.com/491/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.msresource.net&#038;blog=22278516&#038;post=491&#038;subd=msresource&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.msresource.net/2012/05/25/initialising-arrays-in-powershell/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cbbbebce35e638a60c0c5fab7b8a4d1a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">msresource</media:title>
		</media:content>

		<media:content url="http://msresource.files.wordpress.com/2012/05/wlemoticon-smile1.png" medium="image">
			<media:title type="html">Smile</media:title>
		</media:content>

		<media:content url="http://msresource.files.wordpress.com/2012/05/wlemoticon-smile1.png" medium="image">
			<media:title type="html">Smile</media:title>
		</media:content>
	</item>
		<item>
		<title>AD FS 2.0 Issuance Authorization Rules</title>
		<link>http://blog.msresource.net/2012/05/21/ad-fs-2-0-issuance-authorization-rules/</link>
		<comments>http://blog.msresource.net/2012/05/21/ad-fs-2-0-issuance-authorization-rules/#comments</comments>
		<pubDate>Mon, 21 May 2012 14:36:52 +0000</pubDate>
		<dc:creator>Paul Williams</dc:creator>
				<category><![CDATA[AD FS]]></category>
		<category><![CDATA[Active Directory Federation Services]]></category>
		<category><![CDATA[Active Directory Federation Services 2.0]]></category>
		<category><![CDATA[AD FS 2.0]]></category>
		<category><![CDATA[Example]]></category>

		<guid isPermaLink="false">https://msresource.wordpress.com/?p=488</guid>
		<description><![CDATA[I had to create a couple of issuance authorization rules in my last engagement and it took me a little longer than it should have to get the syntax correct so I thought I’d post a couple of examples that &#8230; <a href="http://blog.msresource.net/2012/05/21/ad-fs-2-0-issuance-authorization-rules/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.msresource.net&#038;blog=22278516&#038;post=488&#038;subd=msresource&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I had to create a couple of issuance authorization rules in my last engagement and it took me a little longer than it should have to get the syntax correct so I thought I’d post a couple of examples that might be of interest to others.</p>
<p>Firstly, lets clarify what I’m talking about.&nbsp; Taken from <a href="http://technet.microsoft.com/en-us/library/ee913560(v=WS.10).aspx" target="_blank">When to Use an Authorization Claim Rule</a> in the AD FS 2.0 Design Guide:</p>
<blockquote><p>You can use this rule in Active Directory Federation Services (AD FS) 2.0 when you need to take an incoming claim type and then apply an action that will determine whether a user will be permitted or denied access based on the value that you specify in the rule. When you use this rule, you pass through or transform claims that match the following rule logic, based on either of the options you configure in the rule:</p>
</blockquote>
<p>To wrap some further context around this post you define issuance authorization rules on relying party trusts.&nbsp; These rules are applied early on in the <a href="http://technet.microsoft.com/en-us/library/ee913585(v=ws.10)" target="_blank">claims pipeline process</a>.&nbsp; You use issuance authorization rules to determine whether or not a user has access to an relying party application.&nbsp; </p>
<p>A common issuance authorization rule is the <em>permit access to all users</em> rule template.&nbsp; If you look at the underlying claim rule language for this template you will see the following:</p>
<blockquote><p>=&gt; issue(Type = &#8220;http://schemas.microsoft.com/authorization/claims/permit&#8221;, Value = &#8220;true&#8221;);</p>
</blockquote>
<p>Nice and easy.&nbsp; Issue a claim of the type <em>http://schemas.microsoft.com/authorization/claims/permit </em>with a value of true.&nbsp; </p>
<p>It’s worth pointing out here that the value is irrelevant.&nbsp; The authorisation engine only looks for the type of claim, allowing access if there is a claim with a type of <em>http://schemas.microsoft.com/authorization/claims/permit</em>, and not allowing access if there’s no permit claim type or if there is a claim with a type of&nbsp; <em>http://schemas.microsoft.com/authorization/claims/deny</em> present.&nbsp; More information on this <a href="http://blogs.msdn.com/b/card/archive/2010/01/08/introduction-to-token-issuance-authorization-in-ad-fs-2-0-rc.aspx" target="_blank">here</a>.</p>
<p>The purpose of this post is to share two simple examples.&nbsp; I just designed an AD FS solution and made use of authorization rules to achieve the requirement of all users in <em>domain-a</em> have access to RP application XYZ.&nbsp; In this environment there were three domains in the forest.&nbsp; We only wanted users in one of the domains to access the application.&nbsp; I achieved this by creating a rule with the <em>Send Claims Using a Custom Rule</em> template and the following rule:</p>
<blockquote><p>c:[Type == "http://schemas.microsoft.com/ws/2008/06/identity/claims/windowsaccountname", Value =~ "^(?i)CORP\\.+$"]<br />=&gt; issue(Type = &#8220;http://schemas.microsoft.com/authorization/claims/permit&#8221;, Value = &#8220;true&#8221;);</p>
</blockquote>
<p>To explain the rule lets assume we have the following domains in the forest: <em>corp.contoso.com</em>, <em>partner.contoso.com</em>, and <em>emea.corp.contoso.com</em>.&nbsp; The above claim rule only permits access to a relying party if the Windows account name (<em>http://schemas.microsoft.com/ws/2008/06/identity/claims/windowsaccountname</em>) claim type has a value of CORP\something, e.g. CORP\paulw or CORP\chucn.</p>
<p>Next we had a similar requirement that we achieved with a rule around the value of the UPN claim type.&nbsp; We wanted partners to be able to access an RP.&nbsp; Non-employee accounts in the directory had a different UPN suffix to employees and contractors (non-employee accounts are created in partner.contoso.com if the partner organisation doesn’t have federation infrastructure).&nbsp; In this scenario we decided to permit access to an RP application for all users with a UPN of something@partner.contoso.com.&nbsp; Here’s an example:</p>
<blockquote><p>c:[Type == "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/upn", Value =~ "^(?i).+@partner\.contoso\.com$"]<br />=&gt; issue(Type = &#8220;http://schemas.microsoft.com/authorization/claims/permit&#8221;, Value = &#8220;true&#8221;);</p>
</blockquote>
<p>Hopefully this will help someone.&nbsp; It took me longer than it should have to get the regex right.&nbsp; <img class="wlEmoticon wlEmoticon-smile" style="border-style:none;" alt="Smile" src="http://msresource.files.wordpress.com/2012/05/wlemoticon-smile.png?w=640"></p>
<h2>Just in case you need a little more guidance on how to create these rules…</h2>
<p> If you’re new to AD FS and have just read the above and are thinking awesome, I really want to use that UPN rule but…I have no idea how to create it here goes…</p>
<ol>
<li>Open <strong>AD FS 2.0 management console</strong>, click <strong>Relying Party Trusts</strong>, click the RP trust that you want to configure and click <strong>Edit Claim Rules…</strong> in the actions bar.</li>
<li>The Edit Claim Rules for &lt;RP name&gt; dialog opens.&nbsp; Click the <strong>Issuance Authorization Rules</strong> tab (the middle tab).&nbsp; If you’re accessing the RP presently you likely have a single rule called Permit Access to All Users with an issued claims of Permit in the list.&nbsp; Remove this rule and click <strong>Add Rule…</strong></li>
<li>Choose the <strong>Send Claims Using a Custom Rule</strong> template and click <strong>Next</strong>.</li>
<li>Supply a name and then paste your syntax into the custom rule input.&nbsp; <strong>Click Finish</strong>.</li>
</ol>
<p>If you consider the following rule:</p>
<blockquote><p>c:[Type == "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/upn", Value =~ "<font>^(?i).+@partner\.contoso\.com$</font>"]<br />=&gt; issue(Type = &#8220;http://schemas.microsoft.com/authorization/claims/permit&#8221;, Value = &#8220;true&#8221;);</p>
</blockquote>
<p>The part that you need to configure is the regex –the contents within the quotes after =~ e.g. <strong>^(?i).+@partner\.contoso\.com$</strong>.</p>
<p>Regarding the regex. </p>
<ul>
<li><strong><font color="#ff0000">(?i)</font></strong> makes the pattern case insensitive.</li>
<li><strong><font color="#ff0000">^</font></strong> means starts with.</li>
<li><strong><font color="#ff0000">.+</font></strong> means anything one or more times.</li>
<li><strong><font color="#ff0000">@partner\.contoso\.com</font></strong> is the URL with an escape sequence for the dot (or period).</li>
<li><strong><font color="#ff0000">$</font></strong> means ends with.</li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/msresource.wordpress.com/488/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/msresource.wordpress.com/488/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/msresource.wordpress.com/488/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/msresource.wordpress.com/488/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/msresource.wordpress.com/488/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/msresource.wordpress.com/488/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/msresource.wordpress.com/488/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/msresource.wordpress.com/488/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/msresource.wordpress.com/488/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/msresource.wordpress.com/488/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/msresource.wordpress.com/488/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/msresource.wordpress.com/488/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/msresource.wordpress.com/488/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/msresource.wordpress.com/488/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.msresource.net&#038;blog=22278516&#038;post=488&#038;subd=msresource&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.msresource.net/2012/05/21/ad-fs-2-0-issuance-authorization-rules/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cbbbebce35e638a60c0c5fab7b8a4d1a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">msresource</media:title>
		</media:content>

		<media:content url="http://msresource.files.wordpress.com/2012/05/wlemoticon-smile.png" medium="image">
			<media:title type="html">Smile</media:title>
		</media:content>
	</item>
		<item>
		<title>Update Rollup 2 for Active Directory Federation Services (AD FS) 2.0</title>
		<link>http://blog.msresource.net/2012/05/11/update-rollup-2-for-active-directory-federation-services-ad-fs-2-0/</link>
		<comments>http://blog.msresource.net/2012/05/11/update-rollup-2-for-active-directory-federation-services-ad-fs-2-0/#comments</comments>
		<pubDate>Fri, 11 May 2012 08:31:25 +0000</pubDate>
		<dc:creator>Paul Williams</dc:creator>
				<category><![CDATA[AD FS]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Active Directory Federation Services]]></category>
		<category><![CDATA[Active Directory Federation Services 2.0]]></category>
		<category><![CDATA[AD FS 2.0]]></category>
		<category><![CDATA[Cumulative update]]></category>
		<category><![CDATA[Hotfix]]></category>
		<category><![CDATA[hotfix rollup]]></category>
		<category><![CDATA[update]]></category>
		<category><![CDATA[Update Rollup]]></category>

		<guid isPermaLink="false">https://msresource.wordpress.com/?p=483</guid>
		<description><![CDATA[Yesterday Microsoft released Update Rollup 2 for Active Directory Federation Services (AD FS) 2.0. This update rollup includes hotfixes and updates that fix four (4) product issues and add one (1) new capability to the product.  Summarised, the changes are &#8230; <a href="http://blog.msresource.net/2012/05/11/update-rollup-2-for-active-directory-federation-services-ad-fs-2-0/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.msresource.net&#038;blog=22278516&#038;post=483&#038;subd=msresource&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Yesterday Microsoft released <a href="http://support.microsoft.com/?id=2681584" target="_blank">Update Rollup 2 for Active Directory Federation Services (AD FS) 2.0</a>.</p>
<p>This update rollup includes hotfixes and updates that fix four (4) product issues and add one (1) new capability to the product.  Summarised, the changes are as follows.</p>
<h3>New capability</h3>
<ul>
<li>AD FS 2.0 does not fully support the RelayState parameter for Security Assertion Markup Language (SAML) protocol.  Update Rollup 2 for AD FS 2.0 adds a new capability that enables AD FS 2.0 to consume relay state in order to redirect the user to the RP application.</li>
</ul>
<p>For more information on this new capability please see <a href="http://technet.microsoft.com/en-us/library/jj127245(v=ws.10).aspx" target="_blank">Supporting Identity Provider Initiated RelayState</a>.</p>
<h3>Product issues resolved</h3>
<ul>
<li><strong>Issue 1</strong>: There is a reliability issue in AD FS 2.0 in which AD FS 2.0 Federation Service stops responding to requests in certain cases, especially when there is a large load on AD FS 2.0 federation server or federation server proxy.  This issue can occur in both federation passive and federation active scenarios.</li>
<li><strong>Issue 2</strong>: The whr parameter that is specified by an application for a home realm discovery scenario overwrites the previously set home realm discovery cookie.  This causes a user to be redirected to a different identity provider that the user cannot use to sign in when the user uses a different application.</li>
<li><strong>Issue 3</strong>: The AD FS 2.0 service stops unexpectedly when a valid certificate is set to the archived state.</li>
<li><strong>Issue 4</strong>: When you add an AD FS 2.0 federation server to a Windows Internal Database (WID) farm, you receive an error message.  This issue occurs when the federation server is in a time zone that is later than the primary federation server in the WID farm.</li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/msresource.wordpress.com/483/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/msresource.wordpress.com/483/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/msresource.wordpress.com/483/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/msresource.wordpress.com/483/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/msresource.wordpress.com/483/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/msresource.wordpress.com/483/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/msresource.wordpress.com/483/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/msresource.wordpress.com/483/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/msresource.wordpress.com/483/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/msresource.wordpress.com/483/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/msresource.wordpress.com/483/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/msresource.wordpress.com/483/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/msresource.wordpress.com/483/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/msresource.wordpress.com/483/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.msresource.net&#038;blog=22278516&#038;post=483&#038;subd=msresource&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.msresource.net/2012/05/11/update-rollup-2-for-active-directory-federation-services-ad-fs-2-0/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cbbbebce35e638a60c0c5fab7b8a4d1a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">msresource</media:title>
		</media:content>
	</item>
		<item>
		<title>Failure when making a web service call when running Start-FIMReportingInitialSync.ps1</title>
		<link>http://blog.msresource.net/2012/05/03/failure-when-making-a-web-service-call-when-running-start-fimreportinginitialsync-ps1/</link>
		<comments>http://blog.msresource.net/2012/05/03/failure-when-making-a-web-service-call-when-running-start-fimreportinginitialsync-ps1/#comments</comments>
		<pubDate>Thu, 03 May 2012 21:48:25 +0000</pubDate>
		<dc:creator>Paul Williams</dc:creator>
				<category><![CDATA[FIM]]></category>
		<category><![CDATA[FIM 2010 R2]]></category>
		<category><![CDATA[Reporting]]></category>
		<category><![CDATA[Troubleshooting]]></category>
		<category><![CDATA[Forefront Identity Manager]]></category>
		<category><![CDATA[Forefront Identity Manager 2010 R2]]></category>
		<category><![CDATA[Help]]></category>
		<category><![CDATA[Import-FIMConfig]]></category>
		<category><![CDATA[Tip]]></category>

		<guid isPermaLink="false">https://msresource.wordpress.com/?p=481</guid>
		<description><![CDATA[You invoke the script Start-FIMReportingInitialSync.ps1 and get the generic Failure when making web service call error from Import-FIMConfig.&#160; The error itself is “The web service client has encountered the following class of error: SystemConstraint”.&#160; The additional text details state: “The &#8230; <a href="http://blog.msresource.net/2012/05/03/failure-when-making-a-web-service-call-when-running-start-fimreportinginitialsync-ps1/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.msresource.net&#038;blog=22278516&#038;post=481&#038;subd=msresource&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>You invoke the script <strong>Start-FIMReportingInitialSync.ps1</strong> and get the generic <em>Failure when making web service call</em> error from Import-FIMConfig.&nbsp; The error itself is “<em>The web service client has encountered the following class of error: SystemConstraint</em>”.&nbsp; The additional text details state: “<em>The Request contains changes that violate system constraints</em>”.</p>
<p>As we’re running the Start-FIMReportingInitialSync.ps1 we know that we’re actually trying to create an <em>msidmReportingJob</em> resource.&nbsp; If we inspect the Forefront Identity Manager event log there’ll be a corresponding event (we have a correlation ID now too).&nbsp; The event will define the requestor, the correlation ID and then define the system constraint within the PermissionDeniedException:</p>
<blockquote><p>SystemConstraint &#8212;&gt; System.InvalidOperationException: This service instance could not create a reporting job because ReportingLoggingEnabled setting is false.</p>
</blockquote>
<p>OK.&nbsp; How do we set the ReportingLoggingEnabled option to true?&nbsp; Quite easily actually.</p>
<p>Navigate to Administration | All Resources | System Configuration Settings (msidmSystemConfiguration) in the FIM Portal and you’ll see a single resource: <strong>System Configuration Settings</strong>.&nbsp; Open the <strong>properties</strong> of this resource, click <strong>Extended Attributes</strong> and toggle the <strong>Reporting Logging Enabled</strong> checkbox.</p>
<p>Run the script again and all is well.</p>
<p>Looks like this isn’t toggled when you install Reporting via a change installation, i.e. you didn’t install Reporting when you installed the FIM Service.&nbsp; Whether or not the RTM bits will change this I don’t know…</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/msresource.wordpress.com/481/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/msresource.wordpress.com/481/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/msresource.wordpress.com/481/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/msresource.wordpress.com/481/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/msresource.wordpress.com/481/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/msresource.wordpress.com/481/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/msresource.wordpress.com/481/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/msresource.wordpress.com/481/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/msresource.wordpress.com/481/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/msresource.wordpress.com/481/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/msresource.wordpress.com/481/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/msresource.wordpress.com/481/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/msresource.wordpress.com/481/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/msresource.wordpress.com/481/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.msresource.net&#038;blog=22278516&#038;post=481&#038;subd=msresource&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.msresource.net/2012/05/03/failure-when-making-a-web-service-call-when-running-start-fimreportinginitialsync-ps1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cbbbebce35e638a60c0c5fab7b8a4d1a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">msresource</media:title>
		</media:content>
	</item>
		<item>
		<title>Make the installation and FIM MA accounts filtered disconnectors and save yourself a headache (and possibly a rebuild).</title>
		<link>http://blog.msresource.net/2012/03/27/make-the-installation-and-fim-ma-accounts-filtered-disconnectors-and-save-yourself-a-headache-and-possibly-a-rebuild/</link>
		<comments>http://blog.msresource.net/2012/03/27/make-the-installation-and-fim-ma-accounts-filtered-disconnectors-and-save-yourself-a-headache-and-possibly-a-rebuild/#comments</comments>
		<pubDate>Tue, 27 Mar 2012 20:51:19 +0000</pubDate>
		<dc:creator>Paul Williams</dc:creator>
				<category><![CDATA[FIM]]></category>
		<category><![CDATA[FIM 2010]]></category>
		<category><![CDATA[FIM 2010 R2]]></category>
		<category><![CDATA[FIM MA]]></category>
		<category><![CDATA[FIM Management Agent]]></category>
		<category><![CDATA[Forefront Identity Manager]]></category>
		<category><![CDATA[Forefront Identity Manager 2010]]></category>
		<category><![CDATA[Forefront Identity Manager 2010 R2]]></category>
		<category><![CDATA[Help]]></category>
		<category><![CDATA[Tip]]></category>
		<category><![CDATA[Troubleshooting]]></category>

		<guid isPermaLink="false">https://msresource.wordpress.com/?p=478</guid>
		<description><![CDATA[I know others have written and talked about this but please, please implement the following two connector filters on your FIM MA. Two separate filters defined for the Person data source object type: &#60;dn&#62; equals &#60;GUID&#62;.&#160; In case the screenshot &#8230; <a href="http://blog.msresource.net/2012/03/27/make-the-installation-and-fim-ma-accounts-filtered-disconnectors-and-save-yourself-a-headache-and-possibly-a-rebuild/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.msresource.net&#038;blog=22278516&#038;post=478&#038;subd=msresource&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I know others have written and talked about this but please, please implement the following two connector filters on your FIM MA.</p>
<p><a href="http://msresource.files.wordpress.com/2012/03/image3.png"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:inline;border-top:0;border-right:0;padding-top:0;" title="image" border="0" alt="image" src="http://msresource.files.wordpress.com/2012/03/image_thumb3.png?w=633&h=435" width="633" height="435"></a></p>
<p>Two separate filters defined for the Person data source object type: &lt;dn&gt; equals &lt;GUID&gt;.&nbsp; In case the screenshot isn’t clear the filters are:</p>
<ol>
<li>&lt;dn&gt; Equals fb89aefa-5ea1-47f1-8890-abe7797d6497</li>
<li>
<p>&lt;dn&gt; Equals 7fb2b853-24f0-4498-9534-4e10589723c4</p>
</li>
</ol>
<p>Basically that’s telling the FIM Synchronization Service to make the installation account (often referred to as the administrator account with a well-known GUID of 7fb2b853-24f0-4498-9534-4e10589723c4) and the Built-in Synchronization Account (the FIM MA account with a well-known GUID of fb89aefa-5ea1-47f1-8890-abe7797d6497) filtered disconnectors, i.e. exclude those two accounts from synchronisation.</p>
<p>Why, you might ask.&nbsp; Here’s why:</p>
<ul>
<li>You have an inbound flow defined from your AD DS MA that flows objectSid into the MV.</li>
<li>You have an outbound flow rule defined on the FIM MA that flows objectSid out to the FIM Service.</li>
<li>You have configured the flow to flow NULL values (i.e. delete values).&nbsp; </li>
</ul>
<p>Right, so what?</p>
<p>Well when you import and synchronise the FIM MA (to get your SRs into the MV for example) you will delete the ObjectSid value of both the administrator and FIM MA account because they’re usually not joined to anything else and the MV attribute is null because you haven’t flowed the FIM Service value into it because that configuration is more or less pointless (except to possibly save this issue <img style="border-style:none;" class="wlEmoticon wlEmoticon-smile" alt="Smile" src="http://msresource.files.wordpress.com/2012/03/wlemoticon-smile2.png?w=640">).</p>
<p>And?</p>
<p>Well no ObjectSID == no access to the FIM Service which means you can’t render the portal.&nbsp; Sure, if you poke around in the SQL database (perhaps you’ll look at the SPROCs in the [debug] schema), you can fix it but many people don’t and therefore end up rebuilding because the environment is new and nothing’s been backed up yet!</p>
<p>I’ve fielded two separate instances of the above in as many weeks, plus a colleague new to FIM did it about a month ago and two people on my FIM training course at the start of the month!&nbsp; So please implement the connector filters and be safe.&nbsp; <img style="border-style:none;" class="wlEmoticon wlEmoticon-smile" alt="Smile" src="http://msresource.files.wordpress.com/2012/03/wlemoticon-smile2.png?w=640"></p>
<p>For more info. on and around this topic look at Carol’s blog post on her recommended practices for the installation/administrator account: <a href="http://www.wapshere.com/missmiis/best-practices-for-the-fim-portal-administrator-account" target="_blank">Best practices for the FIM Portal Administrator account</a>.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/msresource.wordpress.com/478/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/msresource.wordpress.com/478/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/msresource.wordpress.com/478/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/msresource.wordpress.com/478/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/msresource.wordpress.com/478/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/msresource.wordpress.com/478/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/msresource.wordpress.com/478/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/msresource.wordpress.com/478/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/msresource.wordpress.com/478/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/msresource.wordpress.com/478/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/msresource.wordpress.com/478/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/msresource.wordpress.com/478/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/msresource.wordpress.com/478/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/msresource.wordpress.com/478/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.msresource.net&#038;blog=22278516&#038;post=478&#038;subd=msresource&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.msresource.net/2012/03/27/make-the-installation-and-fim-ma-accounts-filtered-disconnectors-and-save-yourself-a-headache-and-possibly-a-rebuild/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cbbbebce35e638a60c0c5fab7b8a4d1a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">msresource</media:title>
		</media:content>

		<media:content url="http://msresource.files.wordpress.com/2012/03/image_thumb3.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://msresource.files.wordpress.com/2012/03/wlemoticon-smile2.png" medium="image">
			<media:title type="html">Smile</media:title>
		</media:content>

		<media:content url="http://msresource.files.wordpress.com/2012/03/wlemoticon-smile2.png" medium="image">
			<media:title type="html">Smile</media:title>
		</media:content>
	</item>
		<item>
		<title>PWReset Activity could not connect to the directory</title>
		<link>http://blog.msresource.net/2012/03/21/pwreset-activity-could-not-connect-to-the-directory/</link>
		<comments>http://blog.msresource.net/2012/03/21/pwreset-activity-could-not-connect-to-the-directory/#comments</comments>
		<pubDate>Wed, 21 Mar 2012 09:24:52 +0000</pubDate>
		<dc:creator>Paul Williams</dc:creator>
				<category><![CDATA[FIM]]></category>
		<category><![CDATA[FIM 2010]]></category>
		<category><![CDATA[Self Service Password Reset]]></category>
		<category><![CDATA[Troubleshooting]]></category>
		<category><![CDATA[Forefront Identity Manager]]></category>
		<category><![CDATA[Forefront Identity Manager 2010]]></category>
		<category><![CDATA[Help]]></category>
		<category><![CDATA[SSPR]]></category>
		<category><![CDATA[Tip]]></category>

		<guid isPermaLink="false">https://msresource.wordpress.com/?p=473</guid>
		<description><![CDATA[A user of Forefront Identity Manager 2010 Self-Service Password Reset successfully authenticates the question and answer (Q&#38;A) gate, inputs a new password and fails to successfully reset with the generic error “An error occurred when attempting to reset password, please &#8230; <a href="http://blog.msresource.net/2012/03/21/pwreset-activity-could-not-connect-to-the-directory/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.msresource.net&#038;blog=22278516&#038;post=473&#038;subd=msresource&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>A user of Forefront Identity Manager 2010 Self-Service Password Reset successfully authenticates the question and answer (Q&amp;A) gate, inputs a new password and fails to successfully reset with the generic error “An error occurred when attempting to reset password, please try again”.</p>
<p>Upon inspection of the Forefront Identity Manager log in Event Viewer the following error has been recorded:</p>
<p><a href="http://msresource.files.wordpress.com/2012/03/image1.png"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:inline;border-top:0;border-right:0;padding-top:0;" title="image" border="0" alt="image" src="http://msresource.files.wordpress.com/2012/03/image_thumb1.png?w=603&h=420" width="603" height="420"></a></p>
<p>Textually, that’s an event ID 3 from Microsoft.ResourceManagement with a description of “PWReset Activity could not connect to the directory”.</p>
<p>As the error suggests the issue is that the entered password did not make it to the directory.&nbsp; Or another way, the call into <a href="http://msdn.microsoft.com/en-us/library/windows/desktop/ms697760.aspx" target="_blank">MIIS_CSObject::SetPassword</a> failed.</p>
<p>The reason?&nbsp; There might be several, i.e. an ADMA connectivity or authentication issue but one sure reason is that the <strong>Enable <u>p</u>assword management</strong> option under <strong>Password management</strong> in the <strong>Configure Extensions</strong> page of <em>your ADMA</em> is not checked –see screenshot below.</p>
<p><a href="http://msresource.files.wordpress.com/2012/03/image2.png"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:inline;border-top:0;border-right:0;padding-top:0;" title="image" border="0" alt="image" src="http://msresource.files.wordpress.com/2012/03/image_thumb2.png?w=626&h=461" width="626" height="461"></a></p>
<p>We must enable password management to be able to utilise MIIS_CSObject::SetPassword which is what the Password Reset Action Workflow calls.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/msresource.wordpress.com/473/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/msresource.wordpress.com/473/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/msresource.wordpress.com/473/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/msresource.wordpress.com/473/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/msresource.wordpress.com/473/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/msresource.wordpress.com/473/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/msresource.wordpress.com/473/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/msresource.wordpress.com/473/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/msresource.wordpress.com/473/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/msresource.wordpress.com/473/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/msresource.wordpress.com/473/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/msresource.wordpress.com/473/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/msresource.wordpress.com/473/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/msresource.wordpress.com/473/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.msresource.net&#038;blog=22278516&#038;post=473&#038;subd=msresource&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.msresource.net/2012/03/21/pwreset-activity-could-not-connect-to-the-directory/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cbbbebce35e638a60c0c5fab7b8a4d1a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">msresource</media:title>
		</media:content>

		<media:content url="http://msresource.files.wordpress.com/2012/03/image_thumb1.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://msresource.files.wordpress.com/2012/03/image_thumb2.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>
	</item>
		<item>
		<title>PWReset Activitiy&#8217;s MIIS Password Set call failed with ma-access-denied</title>
		<link>http://blog.msresource.net/2012/03/21/pwreset-activitiys-miis-password-set-call-failed-with-ma-access-denied/</link>
		<comments>http://blog.msresource.net/2012/03/21/pwreset-activitiys-miis-password-set-call-failed-with-ma-access-denied/#comments</comments>
		<pubDate>Wed, 21 Mar 2012 09:21:37 +0000</pubDate>
		<dc:creator>Paul Williams</dc:creator>
				<category><![CDATA[FIM]]></category>
		<category><![CDATA[FIM 2010]]></category>
		<category><![CDATA[Self Service Password Reset]]></category>
		<category><![CDATA[Troubleshooting]]></category>
		<category><![CDATA[Forefront Identity Manager]]></category>
		<category><![CDATA[Forefront Identity Manager 2010]]></category>
		<category><![CDATA[Help]]></category>
		<category><![CDATA[SSPR]]></category>
		<category><![CDATA[Tip]]></category>

		<guid isPermaLink="false">https://msresource.wordpress.com/?p=467</guid>
		<description><![CDATA[A user of Forefront Identity Manager 2010 Self-Service Password Reset successfully authenticates the question and answer (Q&#38;A) gate, inputs a new password and fails to successfully reset with the generic error “An error occurred when attempting to reset password, please &#8230; <a href="http://blog.msresource.net/2012/03/21/pwreset-activitiys-miis-password-set-call-failed-with-ma-access-denied/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.msresource.net&#038;blog=22278516&#038;post=467&#038;subd=msresource&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>A user of Forefront Identity Manager 2010 Self-Service Password Reset successfully authenticates the question and answer (Q&amp;A) gate, inputs a new password and fails to successfully reset with the generic error “An error occurred when attempting to reset password, please try again”.</p>
<p>Upon inspection of the Forefront Identity Manager log in Event Viewer the following error has been recorded:</p>
<p><a href="http://msresource.files.wordpress.com/2012/03/image.png"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:inline;border-top:0;border-right:0;padding-top:0;" title="image" border="0" alt="image" src="http://msresource.files.wordpress.com/2012/03/image_thumb.png?w=622&h=433" width="622" height="433"></a></p>
<p>Textually, that’s an event ID 3 from Microsoft.ResourceManagement with a description of “PWReset Activity&#8217;s MIIS Password Set call failed with ma-access-denied”.</p>
<p>As the error suggests the issue is that the AD MA account does not have permissions to reset the password of the user in question.</p>
<p>Microsoft help and support knowledgebase article <a href="http://support.microsoft.com/?id=2028194" target="_blank">kb2028194</a> also describes this issue but instead focuses on “protected users”, i.e. those who’s security descriptor (SD) is managed by the Active Directory Domain Services (AD DS) adminSDHolder object.&nbsp; Probably because the SSPR deployment guide does state what permissions are required.</p>
<p>The purpose of this post is to provide instructions on what permissions are required and how to deploy them.&nbsp; I’ve already posted this information in the form of a CMD script at the bottom of <a href="http://blog.msresource.net/2011/06/29/forefront-identity-manager-2010-self-service-password-reset-error-system-workflow-componentmodel-workflowterminatedexception/" target="_blank">this</a> post.&nbsp; In this post I’ll provide a PowerShell script to set the permissions.</p>
<p>The discussion of protected users is outside of the scope of this blog post.&nbsp; The aforementioned KB describes this quite well.&nbsp; In my experience I’ve kept them out of the scope of FIM 65% of the time and modified adminSDHolder the other 35% of the time.&nbsp; Here’s an example script.</p>
<div style="display:inline;float:none;margin:0;padding:0;" id="scid:C89E2BDB-ADD3-4f7a-9810-1B7EACF446C1:98133a93-ab87-4fa0-98bc-a00433f41130" class="wlWriterEditableSmartContent">
<pre style="white-space:normal;">
<pre class="brush: powershell; pad-line-numbers: true;">
# SsprPermissions.ps1 v1.0 Paul Williams (pawill@microsoft.com) Microsoft Services Feb. 2012
# Simple script that grants an account (ideally a domain local group) the necessary permissions
# for the AD MA to perform a password set operation.

PARAM
(
    [Parameter(Mandatory = $false)]
    [String]$Target = "OU=People,DC=corp,DC=contoso,DC=com",
    
    [Parameter(Mandatory = $false)]
    [String]$Trustee = "CORP\FimSyncAdmaResetPasswordAccess"
);

Write-Host "`nSsprPermissions.ps1 v1.0 Paul Williams (pawill@microsoft.com) Microsoft Services Feb. 2012`n";
Write-Host "`nTarget:  $Target`nTrustee: $Trustee`n";
Write-Host "Granting the following permissions...";
Write-Host '"Reset Password" Control Access Right (CAS) on descendent user objects';
[String]$cmd = "dsacls '$Target' /I:S /G '`"$Trustee`":CA;`"Reset Password`";user'";
Invoke-Expression $cmd |Out-Null;

Write-Host "Write Property (WP) lockoutTime on descendent user objects";
[String]$cmd = "dsacls '$Target' /I:S /G '`"$Trustee`":WP;lockoutTime;user'";
Invoke-Expression $cmd |Out-Null;

Write-Host "`nScript complete.`n`n";

</pre>
</pre>
</div>
<p>In summary, the ADMA account needs the following permissions on users in scope of the SSPR solution:</p>
<ul>
<li><strong>Reset Password extended right</strong>.&nbsp; This controls the ability to actually set (not change) a password.</li>
<li><strong>Write Property lockoutTime</strong>.&nbsp; This attribute is written to unlock the account.</li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/msresource.wordpress.com/467/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/msresource.wordpress.com/467/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/msresource.wordpress.com/467/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/msresource.wordpress.com/467/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/msresource.wordpress.com/467/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/msresource.wordpress.com/467/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/msresource.wordpress.com/467/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/msresource.wordpress.com/467/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/msresource.wordpress.com/467/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/msresource.wordpress.com/467/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/msresource.wordpress.com/467/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/msresource.wordpress.com/467/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/msresource.wordpress.com/467/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/msresource.wordpress.com/467/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.msresource.net&#038;blog=22278516&#038;post=467&#038;subd=msresource&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.msresource.net/2012/03/21/pwreset-activitiys-miis-password-set-call-failed-with-ma-access-denied/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cbbbebce35e638a60c0c5fab7b8a4d1a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">msresource</media:title>
		</media:content>

		<media:content url="http://msresource.files.wordpress.com/2012/03/image_thumb.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>
	</item>
		<item>
		<title>FIM 2010 and FIM 2010 R2 language support</title>
		<link>http://blog.msresource.net/2012/03/20/fim-2010-and-fim-2010-r2-language-support/</link>
		<comments>http://blog.msresource.net/2012/03/20/fim-2010-and-fim-2010-r2-language-support/#comments</comments>
		<pubDate>Tue, 20 Mar 2012 22:46:01 +0000</pubDate>
		<dc:creator>Paul Williams</dc:creator>
				<category><![CDATA[FIM]]></category>
		<category><![CDATA[Portal]]></category>
		<category><![CDATA[Service]]></category>
		<category><![CDATA[FIM 2010]]></category>
		<category><![CDATA[FIM 2010 R2]]></category>
		<category><![CDATA[Forefront Identity Manager]]></category>
		<category><![CDATA[Forefront Identity Manager 2010]]></category>
		<category><![CDATA[Forefront Identity Manager 2010 R2]]></category>
		<category><![CDATA[Language]]></category>
		<category><![CDATA[Locale]]></category>
		<category><![CDATA[Localisation]]></category>
		<category><![CDATA[Localization]]></category>

		<guid isPermaLink="false">https://msresource.wordpress.com/?p=462</guid>
		<description><![CDATA[I’ve recently started working with a customer that needs to support a large number of users spread across multiple geographies with multiple languages.&#160; This is a first for me.&#160; I’ve been able to successfully avoid localisation for more than ten &#8230; <a href="http://blog.msresource.net/2012/03/20/fim-2010-and-fim-2010-r2-language-support/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.msresource.net&#038;blog=22278516&#038;post=462&#038;subd=msresource&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I’ve recently started working with a customer that needs to support a large number of users spread across multiple geographies with multiple languages.&nbsp; This is a first for me.&nbsp; I’ve been able to successfully avoid localisation for more than ten years.&nbsp; <img style="border-style:none;" class="wlEmoticon wlEmoticon-smile" alt="Smile" src="http://msresource.files.wordpress.com/2012/03/wlemoticon-smile1.png?w=640"></p>
<p>Anyway, as a result I needed to know what languages were supported by FIM R2 and couldn’t find the information –only FIM 2010 information.&nbsp; I got the information I needed from the PG and thought I’d post it here as a reference.</p>
<h2>Languages supported by Forefront Identity Manager 2010</h2>
<p>FIM 2010 supports the following languages over and above English.</p>
<h3>FIM Service and Portal (9 languages)</h3>
<ul>
<li>Chinese (Traditional)
<li>Chinese (Simplified)
<li>Dutch
<li>French
<li>German
<li>Italian
<li>Japanese
<li>Portuguese
<li>Spanish</li>
</ul>
<h3>FIM Password Reset client and Outlook add-in (34 languages)</h3>
<p>The FIM 2010 Password Reset client and Outlook add-in support all languages supported by Microsoft Office except right-to-left (RTL) languages.&nbsp; There are 34 in total.<br />
<h2>Languages supported by Forefront Identity Manager 2010 R2</h2>
<p>FIM 2010 R2 supports the following languages over and above English.</p>
<h3>FIM Service and Portal (19 languages)</h3>
<ul>
<li>Chinese (Simplified)
<li>Chinese (Taiwan)
<li>Czech
<li>Danish
<li>Dutch
<li>Finnish
<li>French
<li>German
<li>Italian
<li>Japanese
<li>Korean
<li>Norwegian
<li>Polish
<li>Portuguese (Brazil)
<li>Portuguese (Portugal)
<li>Russian
<li>Spanish
<li>Swedish
<li>Turkish</li>
</ul>
<h3>FIM Password Registration and Reset Portal (33 languages)</h3>
<ul>
<li>Bulgarian
<li>Chinese (Simplified)
<li>Chinese (Taiwan)
<li>Croatian
<li>Czech
<li>Danish
<li>Dutch
<li>Estonian
<li>Finnish
<li>French
<li>German
<li>Greek
<li>Hindi
<li>Hungarian
<li>Italian
<li>Japanese
<li>Korean
<li>Latvian
<li>Lithuanian
<li>Norwegian
<li>Polish
<li>Portuguese (Brazil)
<li>Portuguese (Portugal)
<li>Romanian
<li>Russian
<li>Serbian
<li>Slovak
<li>Slovenian
<li>Spanish
<li>Swedish
<li>Thai
<li>Turkish
<li>Ukranian</li>
</ul>
<h3>FIM Add-ins and Extensions</h3>
<ul>
<li>All 34 Office languages</li>
</ul>
<h2>Unsupported languages</h2>
<p>For countries not supported, we fall back to the default English locale.<br />
<h2>Self-service password reset (SSPR) QA Gate</h2>
<p>For SSPR portals, parameters entered in the AuthN workflow (such as the question text, the message that describes the QA gate constraint, the error text to be displayed when the answer does not meet QA gate constraints) are not localised.&nbsp; It is the job of the implementer to define multiple QA Gates each with a different set of questions expressed in a different language, within the confines of what characters can be entered into the XOML.&nbsp; Definitely the subject of a future post…</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/msresource.wordpress.com/462/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/msresource.wordpress.com/462/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/msresource.wordpress.com/462/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/msresource.wordpress.com/462/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/msresource.wordpress.com/462/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/msresource.wordpress.com/462/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/msresource.wordpress.com/462/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/msresource.wordpress.com/462/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/msresource.wordpress.com/462/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/msresource.wordpress.com/462/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/msresource.wordpress.com/462/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/msresource.wordpress.com/462/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/msresource.wordpress.com/462/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/msresource.wordpress.com/462/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.msresource.net&#038;blog=22278516&#038;post=462&#038;subd=msresource&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.msresource.net/2012/03/20/fim-2010-and-fim-2010-r2-language-support/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cbbbebce35e638a60c0c5fab7b8a4d1a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">msresource</media:title>
		</media:content>

		<media:content url="http://msresource.files.wordpress.com/2012/03/wlemoticon-smile1.png" medium="image">
			<media:title type="html">Smile</media:title>
		</media:content>
	</item>
		<item>
		<title>Windows Server 8 Documentation</title>
		<link>http://blog.msresource.net/2012/03/06/windows-server-8-documentation/</link>
		<comments>http://blog.msresource.net/2012/03/06/windows-server-8-documentation/#comments</comments>
		<pubDate>Tue, 06 Mar 2012 21:08:41 +0000</pubDate>
		<dc:creator>Paul Williams</dc:creator>
				<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[Active Directory Domain Services]]></category>
		<category><![CDATA[AD FS]]></category>
		<category><![CDATA[Windows Server]]></category>
		<category><![CDATA[AD DS]]></category>
		<category><![CDATA[Beta]]></category>
		<category><![CDATA[Windows Server 8]]></category>

		<guid isPermaLink="false">https://msresource.wordpress.com/?p=455</guid>
		<description><![CDATA[The first wave of Windows Server 8 documentation is available online: Windows Server 8 Beta There’s quite a bit of it.&#160; Couple of notable points: AD FS 2.1 is a server role.&#160; Features and functionality are the same as AD &#8230; <a href="http://blog.msresource.net/2012/03/06/windows-server-8-documentation/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.msresource.net&#038;blog=22278516&#038;post=455&#038;subd=msresource&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The first wave of Windows Server 8 documentation is available online:</p>
<ul>
<li><a title="Windows Server 8 Beta" href="http://technet.microsoft.com/en-us/library/hh801901.aspx">Windows Server 8 Beta</a></li>
</ul>
<p>There’s quite a bit of it.&nbsp; Couple of notable points:</p>
<ul>
<li><a href="http://technet.microsoft.com/en-us/library/hh831502.aspx" target="_blank">AD FS 2.1</a> is a server role.&nbsp; Features and functionality are the same as AD FS 2.0 but it’s managed via Server Manager.</li>
<li><a href="http://technet.microsoft.com/en-us/library/hh831484.aspx" target="_blank">AD DS</a> has loads of stuff worth reading about.&nbsp; But I’m most excited about the <strike>claims based access control (CBAC)</strike> <a href="http://technet.microsoft.com/en-us/library/hh831717.aspx" target="_blank">dynamic access control</a> stuff.</li>
</ul>
<p>Anyway.&nbsp; Happy reading!&nbsp; <img style="border-style:none;" class="wlEmoticon wlEmoticon-smile" alt="Smile" src="http://msresource.files.wordpress.com/2012/03/wlemoticon-smile.png?w=640"></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/msresource.wordpress.com/455/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/msresource.wordpress.com/455/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/msresource.wordpress.com/455/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/msresource.wordpress.com/455/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/msresource.wordpress.com/455/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/msresource.wordpress.com/455/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/msresource.wordpress.com/455/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/msresource.wordpress.com/455/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/msresource.wordpress.com/455/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/msresource.wordpress.com/455/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/msresource.wordpress.com/455/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/msresource.wordpress.com/455/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/msresource.wordpress.com/455/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/msresource.wordpress.com/455/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.msresource.net&#038;blog=22278516&#038;post=455&#038;subd=msresource&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.msresource.net/2012/03/06/windows-server-8-documentation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cbbbebce35e638a60c0c5fab7b8a4d1a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">msresource</media:title>
		</media:content>

		<media:content url="http://msresource.files.wordpress.com/2012/03/wlemoticon-smile.png" medium="image">
			<media:title type="html">Smile</media:title>
		</media:content>
	</item>
		<item>
		<title>Lotus Domino 8.x Connector RTM/RTW</title>
		<link>http://blog.msresource.net/2012/03/01/lotus-domino-8-x-connector-rtmrtw/</link>
		<comments>http://blog.msresource.net/2012/03/01/lotus-domino-8-x-connector-rtmrtw/#comments</comments>
		<pubDate>Thu, 01 Mar 2012 21:15:00 +0000</pubDate>
		<dc:creator>Paul Williams</dc:creator>
				<category><![CDATA[FIM]]></category>
		<category><![CDATA[FIM 2010]]></category>
		<category><![CDATA[Connector]]></category>
		<category><![CDATA[Forefront Identity Manager]]></category>
		<category><![CDATA[Forefront Identity Manager 2010]]></category>
		<category><![CDATA[MA]]></category>
		<category><![CDATA[Management Agent]]></category>
		<category><![CDATA[News]]></category>

		<guid isPermaLink="false">https://msresource.wordpress.com/?p=457</guid>
		<description><![CDATA[On Wednesday February 29th 2012 Microsoft released the Forefront Identity Manager Connector for Lotus Domino 8.x.&#160; This is the first connector (we used to call them Management Agents) released that was built on the new ECMA2 framework made available as &#8230; <a href="http://blog.msresource.net/2012/03/01/lotus-domino-8-x-connector-rtmrtw/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.msresource.net&#038;blog=22278516&#038;post=457&#038;subd=msresource&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>On Wednesday February 29th 2012 Microsoft released the Forefront Identity Manager Connector for Lotus Domino 8.x.&nbsp; This is the first connector (we used to call them Management Agents) released that was built on the new ECMA2 framework made available as part of <a href="http://blog.msresource.net/2012/02/27/forefront-identity-manager-2010-update-rollup-2-build-4-0-3606-2-is-available/" target="_blank">FIM 2010 Update 2</a>.&nbsp; The release contains many frequent customer requests such as support for additional object types and the use of AdminP for operations.&nbsp; Full details can be found <a href="http://go.microsoft.com/fwlink/?LinkID=226246" target="_blank">here</a>.&nbsp; The download package can be found <a href="http://go.microsoft.com/fwlink/?LinkID=242615" target="_blank">here</a>.</p>
<ul>
<li><a href="http://go.microsoft.com/fwlink/?LinkID=226246" target="_blank">TechNet documentation</a>.</li>
<li><a href="http://go.microsoft.com/fwlink/?LinkID=242615" target="_blank">Download</a>.</li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/msresource.wordpress.com/457/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/msresource.wordpress.com/457/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/msresource.wordpress.com/457/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/msresource.wordpress.com/457/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/msresource.wordpress.com/457/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/msresource.wordpress.com/457/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/msresource.wordpress.com/457/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/msresource.wordpress.com/457/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/msresource.wordpress.com/457/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/msresource.wordpress.com/457/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/msresource.wordpress.com/457/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/msresource.wordpress.com/457/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/msresource.wordpress.com/457/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/msresource.wordpress.com/457/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.msresource.net&#038;blog=22278516&#038;post=457&#038;subd=msresource&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.msresource.net/2012/03/01/lotus-domino-8-x-connector-rtmrtw/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cbbbebce35e638a60c0c5fab7b8a4d1a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">msresource</media:title>
		</media:content>
	</item>
	</channel>
</rss>
