<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.technet.com/utility/FeedStylesheets/atom.xsl" media="screen"?><feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-US"><title type="html">nigelw</title><subtitle type="html" /><id>http://blogs.technet.com/b/nigelw/atom.aspx</id><link rel="alternate" type="text/html" href="http://blogs.technet.com/b/nigelw/" /><link rel="self" type="application/atom+xml" href="http://blogs.technet.com/b/nigelw/atom.aspx" /><generator uri="http://telligent.com" version="5.6.50428.7875">Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><updated>2013-01-23T11:51:00Z</updated><entry><title>ADFS logon issue "Your organization could not sign you into the service" 0x80041034 </title><link rel="alternate" type="text/html" href="http://blogs.technet.com/b/nigelw/archive/2013/01/23/adfs-logon-issue-quot-your-organization-could-not-sign-you-into-the-service-quot-0x80041034.aspx" /><id>http://blogs.technet.com/b/nigelw/archive/2013/01/23/adfs-logon-issue-quot-your-organization-could-not-sign-you-into-the-service-quot-0x80041034.aspx</id><published>2013-01-23T12:00:20Z</published><updated>2013-01-23T12:00:20Z</updated><content type="html">&lt;p&gt;&lt;a href="http://support.microsoft.com/kb/2535191"&gt;http://support.microsoft.com/kb/2535191&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://social.technet.microsoft.com/wiki/contents/articles/4110.ad-fs-2-0-claims-are-missing-from-the-output-claim-set-after-a-user-s-name-has-changed.aspx"&gt;http://social.technet.microsoft.com/wiki/contents/articles/4110.ad-fs-2-0-claims-are-missing-from-the-output-claim-set-after-a-user-s-name-has-changed.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;After a user rename in the local Active directory, (the samaccount name, or UPN prefix)&lt;br /&gt;The user is unable to logon the error displayed in a dialog suggests&amp;nbsp; "Your organization could not sign you into the service"&lt;br /&gt;All other users are still able to logon only the users who have recently had there names chnged experience the issue.&lt;/p&gt;
&lt;p&gt;Symptoms&lt;br /&gt;&amp;bull;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Federated logon fails for some users. Other users are fine. &lt;br /&gt;&amp;bull;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Embedded HR code is 0x80041034 (PP_E_INVALID_MEMBERNAME The specified member name is either invalid or empty)&lt;br /&gt;&amp;bull;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Samaccountname has changed recently for user&lt;br /&gt;&amp;bull;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Netmon trace on ADFS server(s) at repro shows LDAP query use wrong samacccountname&lt;/p&gt;
&lt;p&gt;Cause&lt;br /&gt;&amp;nbsp;&lt;br /&gt;LSA cache on AD FS server(s) has stale entries for SID of the user. Therefore SID  Domain\Old_Samaccountname instead of SID  domain\current_samaccountname&lt;br /&gt;&amp;nbsp;&lt;br /&gt;The LDAP query performed for claim generation fails to return attributes as it gets not hit when searching by old samaccountname. Thus, ADFS issues an empty token without saml:attributestatement. So OrgID generate 0x80041034 (PP_E_INVALID_MEMBERNAME The specified member name is either invalid or empty)&lt;br /&gt;&amp;nbsp;&lt;br /&gt;Resolution&lt;br /&gt;&amp;nbsp;&lt;br /&gt;Disable SID cache temporarily using LsaLookupCacheMaxSize as per &lt;a href="http://support.microsoft.com/kb/2535191"&gt;http://support.microsoft.com/kb/2535191&lt;/a&gt; &lt;br /&gt;You could also either &lt;br /&gt;&amp;bull;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; reboot ADFS server&lt;br /&gt;&amp;bull;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Change samaccountname back to previous value in AD&lt;br /&gt;&amp;bull;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Use psgetsid.exe from sysinternals to update LSA cache on AD FS server(s)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3547773" width="1" height="1"&gt;</content><author><name>nigelwood</name><uri>http://blogs.technet.com/woodnj_4000_hotmail.com/ProfileUrlRedirect.ashx</uri></author><category term="ADFS" scheme="http://blogs.technet.com/b/nigelw/archive/tags/ADFS/" /><category term="LOGON" scheme="http://blogs.technet.com/b/nigelw/archive/tags/LOGON/" /><category term="UPN" scheme="http://blogs.technet.com/b/nigelw/archive/tags/UPN/" /></entry><entry><title>Technical discussions on Office 365 / for shared services / the domains part of Office 365 / ADFS / Directory sync</title><link rel="alternate" type="text/html" href="http://blogs.technet.com/b/nigelw/archive/2013/01/23/technical-discussions-on-office-365-for-shared-services-the-domains-part-of-office-365-adfs-directory-sync.aspx" /><id>http://blogs.technet.com/b/nigelw/archive/2013/01/23/technical-discussions-on-office-365-for-shared-services-the-domains-part-of-office-365-adfs-directory-sync.aspx</id><published>2013-01-23T11:51:00Z</published><updated>2013-01-23T11:51:00Z</updated><content type="html">&lt;p&gt;First blog&lt;/p&gt;
&lt;p&gt;This blog is intended to cover the technologies I support as a Microsoft technical support engineer.&lt;/p&gt;
&lt;p&gt;I work in the CTS team for Microsoft in the UK (EMEA), dealing with what we term as shared services (identity) related issues.&lt;/p&gt;
&lt;p&gt;Issue relate to ADFS, Logon, Directory Sync, AD to Cloud issues, the areas where the Exchange / Lync / SharePoint teams do not cover.&lt;/p&gt;
&lt;p&gt;I hope to blog on common issues I see with my technologies so hope that this information may be of use the anyone running into problems.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3547770" width="1" height="1"&gt;</content><author><name>nigelwood</name><uri>http://blogs.technet.com/woodnj_4000_hotmail.com/ProfileUrlRedirect.ashx</uri></author></entry></feed>