Question

I am writing a .NET website which is accessing CRM dynamics.

I have setup the website on IIS, and impersonated the CRM user so that the website runs in the context of CRM accessible user.

The same code was working fine when the site was pointing to demo CRM Dynamics portal I have deployed the site on another server, and now pointing to live CRM dynamics portal, and I got stuck up at "The user authentication failed!" error. Few things I can confirm is - 1) Impersonated user has access to CRM Dynamics. 2) OrgnaizationName is correct. The .NET Site is consuming Discovery.svc to access CRM Dynamics

Was it helpful?

Solution

Can you check the HTTP bindings of the Dynamics CRM website in IIS. I don't remember exactly but just try playing around by disabling HTTP binding, enabling HTTPS and the other way around.

Even better replicate the bindings as you see on the first server where your application was working fine.

In any case let me know the results.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top