Quantcast
Channel: CRM Development 論壇
Viewing all articles
Browse latest Browse all 10280

CRM 2011 Service Authentication (on premise)

$
0
0

Hi,

I have seen a lot of information about authenticating to the OrganizationServiceProxy using

_Credentials =

NewClientCredentials
_Credentials.Windows.ClientCredential =CredentialCache.DefaultNetworkCredentials

When I use this I get the following error:

The request for security token could not be satisfied because authentication failed

I can authenticate okay if I pass log on details, but I need my application to use the credentials of the user. Any ideas what could be wrong?

_Credentials.Windows.ClientCredential =CredentialCache.DefaultNetworkCredentials works fine through Visual Studio.

Thanks in advance


Viewing all articles
Browse latest Browse all 10280

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>