<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Testing the Claims To Windows Token Service for different identities</title>
	<atom:link href="http://powerpivotgeek.com/2010/05/21/testing-the-claims-to-windows-token-service-for-different-identities/feed/" rel="self" type="application/rss+xml" />
	<link>http://powerpivotgeek.com/2010/05/21/testing-the-claims-to-windows-token-service-for-different-identities/</link>
	<description>An adventure in managed self-service computing</description>
	<lastBuildDate>Sun, 22 Jan 2012 01:58:55 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Lee</title>
		<link>http://powerpivotgeek.com/2010/05/21/testing-the-claims-to-windows-token-service-for-different-identities/comment-page-1/#comment-6362</link>
		<dc:creator>Lee</dc:creator>
		<pubDate>Fri, 16 Sep 2011 21:31:06 +0000</pubDate>
		<guid isPermaLink="false">http://powerpivotgeek.com/2010/05/21/testing-the-claims-to-windows-token-service-for-different-identities/#comment-6362</guid>
		<description>Very delayed response, but it seems that Rupak was compiling using .Net 4.0. Since SharePoint uses .Net 3.5, you should compile this code against .Net 3.5 to most accurately simulate SharePoint environment. So change the project settings when building this to make sure you are using .Net 3.5

Thanks
Lee</description>
		<content:encoded><![CDATA[<p>Very delayed response, but it seems that Rupak was compiling using .Net 4.0. Since SharePoint uses .Net 3.5, you should compile this code against .Net 3.5 to most accurately simulate SharePoint environment. So change the project settings when building this to make sure you are using .Net 3.5</p>
<p>Thanks<br />
Lee</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Excel Services Delegation Tips to Configure Page and Slicer Refresh with Power Pivot &#171; Jimblog</title>
		<link>http://powerpivotgeek.com/2010/05/21/testing-the-claims-to-windows-token-service-for-different-identities/comment-page-1/#comment-3902</link>
		<dc:creator>Excel Services Delegation Tips to Configure Page and Slicer Refresh with Power Pivot &#171; Jimblog</dc:creator>
		<pubDate>Wed, 02 Feb 2011 18:56:07 +0000</pubDate>
		<guid isPermaLink="false">http://powerpivotgeek.com/2010/05/21/testing-the-claims-to-windows-token-service-for-different-identities/#comment-3902</guid>
		<description>[...] feel very confident that it is not #1), you can try running the test application we have posted here to manually test your ability to acquire a Windows Identity.&#160;&#160; UPDATE: Okay we have [...]</description>
		<content:encoded><![CDATA[<p>[...] feel very confident that it is not #1), you can try running the test application we have posted here to manually test your ability to acquire a Windows Identity.&#160;&#160; UPDATE: Okay we have [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rupak</title>
		<link>http://powerpivotgeek.com/2010/05/21/testing-the-claims-to-windows-token-service-for-different-identities/comment-page-1/#comment-3571</link>
		<dc:creator>Rupak</dc:creator>
		<pubDate>Wed, 12 Jan 2011 12:52:48 +0000</pubDate>
		<guid isPermaLink="false">http://powerpivotgeek.com/2010/05/21/testing-the-claims-to-windows-token-service-for-different-identities/#comment-3571</guid>
		<description>Hi Lee, code snippet given by you above does not compile on my laptop.
VS2010 tells The name &quot;&#039;S4UClient&#039; does not exist in the current context&quot;. I am on Windows Server 2008 R2 x64.
looking at the namespace of WindowsTokenService it looks like &#039;S4UClient&#039; class evolved to &#039;IS4UService&#039; interface and UpnLogon() takes one more argument as pid.

Can you please suggest me how to get the test app working?

thanks,
Rupak.</description>
		<content:encoded><![CDATA[<p>Hi Lee, code snippet given by you above does not compile on my laptop.<br />
VS2010 tells The name &#8220;&#8216;S4UClient&#8217; does not exist in the current context&#8221;. I am on Windows Server 2008 R2 x64.<br />
looking at the namespace of WindowsTokenService it looks like &#8216;S4UClient&#8217; class evolved to &#8216;IS4UService&#8217; interface and UpnLogon() takes one more argument as pid.</p>
<p>Can you please suggest me how to get the test app working?</p>
<p>thanks,<br />
Rupak.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lee</title>
		<link>http://powerpivotgeek.com/2010/05/21/testing-the-claims-to-windows-token-service-for-different-identities/comment-page-1/#comment-3545</link>
		<dc:creator>Lee</dc:creator>
		<pubDate>Tue, 11 Jan 2011 03:23:56 +0000</pubDate>
		<guid isPermaLink="false">http://powerpivotgeek.com/2010/05/21/testing-the-claims-to-windows-token-service-for-different-identities/#comment-3545</guid>
		<description>Hi Markus,
   Are you able to get it to work with any account? Did you make sure you ran the test as the same account as ECS runs as? Did you try a super user? Let me know.</description>
		<content:encoded><![CDATA[<p>Hi Markus,<br />
   Are you able to get it to work with any account? Did you make sure you ran the test as the same account as ECS runs as? Did you try a super user? Let me know.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Markus Schmidt</title>
		<link>http://powerpivotgeek.com/2010/05/21/testing-the-claims-to-windows-token-service-for-different-identities/comment-page-1/#comment-3502</link>
		<dc:creator>Markus Schmidt</dc:creator>
		<pubDate>Thu, 06 Jan 2011 00:00:06 +0000</pubDate>
		<guid isPermaLink="false">http://powerpivotgeek.com/2010/05/21/testing-the-claims-to-windows-token-service-for-different-identities/#comment-3502</guid>
		<description>Hi Lee,

thanx for the code. I tried it here in our AD and get the error message stated below. Do you think this is an AD issue?

Thanx in advance
Markus

PS C:\&gt; .\C2WTSTest.exe marsch@corp
Attempting to acquire windows identity for upn: &#039;marsch@corp&#039;
Could not map the upn claim to a valid windows identity because the c2wts servic
e returned a fault
System.ServiceModel.FaultException`1[System.ServiceModel.ExceptionDetail]: WTS00
03: The caller is not authorized to access the service. (Fault Detail is equal t
o An ExceptionDetail, likely created by IncludeExceptionDetailInFaults=true, who
se value is:
System.UnauthorizedAccessException: WTS0003: The caller is not authorized to acc
ess the service.
   at Microsoft.IdentityModel.WindowsTokenService.CallerSecurity.CheckCaller(Win
dowsIdentity callerIdentity)
   at Microsoft.IdentityModel.WindowsTokenService.S4UServiceContract.PerformLogo
n(Func`1 logonOperation, Int32 pid)
   at SyncInvokeUpnLogon(Object , Object[] , Object[] )
   at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, O
bject[] inputs, Object[]&amp; outputs)
   at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(Messag
eRpc&amp; rpc)
   at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(Me
ssageRpc&amp; rpc)
   at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage31(M
essageRpc&amp; rpc)
   at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationConte
xtSet)).
PS C:\&gt;</description>
		<content:encoded><![CDATA[<p>Hi Lee,</p>
<p>thanx for the code. I tried it here in our AD and get the error message stated below. Do you think this is an AD issue?</p>
<p>Thanx in advance<br />
Markus</p>
<p>PS C:\&gt; .\C2WTSTest.exe marsch@corp<br />
Attempting to acquire windows identity for upn: &#8216;marsch@corp&#8217;<br />
Could not map the upn claim to a valid windows identity because the c2wts servic<br />
e returned a fault<br />
System.ServiceModel.FaultException`1[System.ServiceModel.ExceptionDetail]: WTS00<br />
03: The caller is not authorized to access the service. (Fault Detail is equal t<br />
o An ExceptionDetail, likely created by IncludeExceptionDetailInFaults=true, who<br />
se value is:<br />
System.UnauthorizedAccessException: WTS0003: The caller is not authorized to acc<br />
ess the service.<br />
   at Microsoft.IdentityModel.WindowsTokenService.CallerSecurity.CheckCaller(Win<br />
dowsIdentity callerIdentity)<br />
   at Microsoft.IdentityModel.WindowsTokenService.S4UServiceContract.PerformLogo<br />
n(Func`1 logonOperation, Int32 pid)<br />
   at SyncInvokeUpnLogon(Object , Object[] , Object[] )<br />
   at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, O<br />
bject[] inputs, Object[]&amp; outputs)<br />
   at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(Messag<br />
eRpc&amp; rpc)<br />
   at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(Me<br />
ssageRpc&amp; rpc)<br />
   at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage31(M<br />
essageRpc&amp; rpc)<br />
   at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationConte<br />
xtSet)).<br />
PS C:\&gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: powerpivotgeek</title>
		<link>http://powerpivotgeek.com/2010/05/21/testing-the-claims-to-windows-token-service-for-different-identities/comment-page-1/#comment-1675</link>
		<dc:creator>powerpivotgeek</dc:creator>
		<pubDate>Wed, 18 Aug 2010 03:32:56 +0000</pubDate>
		<guid isPermaLink="false">http://powerpivotgeek.com/2010/05/21/testing-the-claims-to-windows-token-service-for-different-identities/#comment-1675</guid>
		<description>More AD issues are discussed here:
http://dennyglee.com/2010/04/08/user-credentials-could-not-be-delegated-and-active-directory/

Enjoy!</description>
		<content:encoded><![CDATA[<p>More AD issues are discussed here:<br />
<a href="http://dennyglee.com/2010/04/08/user-credentials-could-not-be-delegated-and-active-directory/" rel="nofollow">http://dennyglee.com/2010/04/08/user-credentials-could-not-be-delegated-and-active-directory/</a></p>
<p>Enjoy!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Heath Hopkins</title>
		<link>http://powerpivotgeek.com/2010/05/21/testing-the-claims-to-windows-token-service-for-different-identities/comment-page-1/#comment-1578</link>
		<dc:creator>Heath Hopkins</dc:creator>
		<pubDate>Wed, 28 Jul 2010 19:14:39 +0000</pubDate>
		<guid isPermaLink="false">http://powerpivotgeek.com/2010/05/21/testing-the-claims-to-windows-token-service-for-different-identities/#comment-1578</guid>
		<description>Thanks, Lee.  This saved a ton of troubleshooting time.</description>
		<content:encoded><![CDATA[<p>Thanks, Lee.  This saved a ton of troubleshooting time.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lee</title>
		<link>http://powerpivotgeek.com/2010/05/21/testing-the-claims-to-windows-token-service-for-different-identities/comment-page-1/#comment-1558</link>
		<dc:creator>Lee</dc:creator>
		<pubDate>Thu, 22 Jul 2010 20:52:22 +0000</pubDate>
		<guid isPermaLink="false">http://powerpivotgeek.com/2010/05/21/testing-the-claims-to-windows-token-service-for-different-identities/#comment-1558</guid>
		<description>Vincent,
   If you are getting this error for all &quot;normal&quot; domain accounts but it does work for &quot;power user&quot; accounts, then it appears you have an issue with your AD configuration. I am not really an AD expert unfortunately. Denny has a good writeup on a case where he hit this issue and used the above code and what they found to be the problem and how they resolved it (http://dennyglee.com/2010/04/08/user-credentials-could-not-be-delegated-and-active-directory/). Perhaps that will give you some pointers. You will need, though, in the end to do some experimentation / investigation with your AD configuration. Let me know if I can help anymore and please post here when you find the result to help others.

Thanks
Lee</description>
		<content:encoded><![CDATA[<p>Vincent,<br />
   If you are getting this error for all &#8220;normal&#8221; domain accounts but it does work for &#8220;power user&#8221; accounts, then it appears you have an issue with your AD configuration. I am not really an AD expert unfortunately. Denny has a good writeup on a case where he hit this issue and used the above code and what they found to be the problem and how they resolved it (<a href="http://dennyglee.com/2010/04/08/user-credentials-could-not-be-delegated-and-active-directory/" rel="nofollow">http://dennyglee.com/2010/04/08/user-credentials-could-not-be-delegated-and-active-directory/</a>). Perhaps that will give you some pointers. You will need, though, in the end to do some experimentation / investigation with your AD configuration. Let me know if I can help anymore and please post here when you find the result to help others.</p>
<p>Thanks<br />
Lee</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vincent</title>
		<link>http://powerpivotgeek.com/2010/05/21/testing-the-claims-to-windows-token-service-for-different-identities/comment-page-1/#comment-1556</link>
		<dc:creator>Vincent</dc:creator>
		<pubDate>Thu, 22 Jul 2010 04:21:18 +0000</pubDate>
		<guid isPermaLink="false">http://powerpivotgeek.com/2010/05/21/testing-the-claims-to-windows-token-service-for-different-identities/#comment-1556</guid>
		<description>I tried this test code. And I get &quot;Could not map the upn claim to a valid windows identity. Security Access Denied&quot;. I get this error message for all normal domain accounts. When I try a domain power user account it will success. What should I do next? Thanks!</description>
		<content:encoded><![CDATA[<p>I tried this test code. And I get &#8220;Could not map the upn claim to a valid windows identity. Security Access Denied&#8221;. I get this error message for all normal domain accounts. When I try a domain power user account it will success. What should I do next? Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: The data connection uses Windows Authentication and user credentials could not be delegated &#171; PowerPivotGeek</title>
		<link>http://powerpivotgeek.com/2010/05/21/testing-the-claims-to-windows-token-service-for-different-identities/comment-page-1/#comment-1138</link>
		<dc:creator>The data connection uses Windows Authentication and user credentials could not be delegated &#171; PowerPivotGeek</dc:creator>
		<pubDate>Fri, 21 May 2010 15:59:43 +0000</pubDate>
		<guid isPermaLink="false">http://powerpivotgeek.com/2010/05/21/testing-the-claims-to-windows-token-service-for-different-identities/#comment-1138</guid>
		<description>[...] feel very confident that it is not #1), you can try running the test application we have posted here to manually test your ability to acquire a Windows [...]</description>
		<content:encoded><![CDATA[<p>[...] feel very confident that it is not #1), you can try running the test application we have posted here to manually test your ability to acquire a Windows [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

