I have a simple ISV page (using 2007 service endpoints, 4.0 SDK) that only shows the Identity of a user who has opened it.
System.Security.Principal.WindowsIdentity.GetCurrent().Name
This page in CRM 4.0 shows a valid user DOMAIN\USERNAME
When this page is deployed to CRM 2011 it only shows NT AUTHORITY\NETWORK SERVICE
The CRM 2011 has a Claims Based authentication configured together with IFD. There is a STS server and Credentials. All connections seem work fine. The page is accessed via: https://servername.domain.com/organization/main.aspx and in an intranet environment.
It just looks that the page can not pickup the identity of a user who has opened it.
Have you experienced this before? Is there something not configured correctly?
Thank you for your help.