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