My eXperience

Microsoft CRM and Android

Unable to login to CRM via ADFS 2.0, getting Event ID 197(Event viewer) on the ADFS Server

Symptoms

  • Claims authentication prompting for password when connecting to CRM.
    Claims authentication should automatically forward your windows credentials and not prompt for a username password.
  • 3 logon attempts and then the connection fails.
  • The event viewer on the server hosting ADFS contains an error message with event ID 197.
    The error message will be similar to the message below


The Federation Service could not satisfy a token request because the accompanying credentials do not meet the authentication type requirement of 'urn:federation:authentication:windows' for the relying party 'https://yourInternalCRM.companyName.com/'. Authentication type: http://schemas.microsoft.com/ws/2008/06/identity/authenticationmethod/password Desired authentication type(s): urn:federation:authentication:windows Relying party: ‘https://yourInternalCRM.companyName.com/’

Diagnosis

  • Certificate rollover on ADFS server.
    The certificate on the ADFS server is now different from the certificate on the CRM Server

Solution

http://social.technet.microsoft.com/Forums/en-US/439a0f19-bab9-40b8-b2b9-e753c859809f/unable-to-login-to-crm-via-adfs-20-getting-event-id-197-on-the-adfs-server?forum=winserverDS 

  1. CRM server ==>  go to deployment manager and disable IFD(skip if IFD is not setup).
  2. CRM server ==> go to deployment manager and disable claims authentication.
  3. CRM server ==> Reset IIS (need administrative privileges). Open a command prompt and run the command IISRESET.
  4. CRM server ==> In the deployment manager enable claims authentication.
  5. CRM server ==> In the deployment manager enable IFD (if it was setup before).
  6. ADFS server ==> go to Trust Relationships. Select relying party trusts and update federation metadata.

 

 

 

 

 

 


Comments (1) -

  • Wm Tolchin

    5/9/2015 12:09:06 PM |

    Nice article. Keep posting more stuff like this.

Comments are closed