web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

adfs server -error when user authenticating - user or password is incorect (event id : 342)

(0) ShareShare
ReportReport
Posted on by
Error when client try to login to crm 2016 on-permis :
An error occurred
Authentication attempt failed. Select a different sign in option or close the web browser and sign in again. Contact your administrator for more information.
-------------------------------------
in event log show :
event id : 342
%Error message: 
my user - The user name or password is incorrect 

Exception details: 
System.IdentityModel.Tokens.SecurityTokenValidationException: user[at]domain.com---> System.ComponentModel.Win32Exception: The user name or password is incorrect
   --- End of inner exception stack trace ---
   at Microsoft.IdentityServer.Service.Tokens.MSISWindowsUserNameSecurityTokenHandler.ValidateTokenInternal(SecurityToken token)
   at Microsoft.IdentityServer.Service.Tokens.MSISWindowsUserNameSecurityTokenHandler.ValidateToken(SecurityToken token)
System.ComponentModel.Win32Exception (0x80004005): The user name or password is incorrect
-----------------
can anyone help me ?

*This post is locked for comments

  • David Jennaway Profile Picture
    on at
    RE: adfs server -error when user authenticating - user or password is incorect (event id : 342)

    Based on the message 'The user name or password is incorrect', check that the username and password are correct. Note that the username may need the domain part, and it may need to be in the format username@domainname

    If no user can login, the issue may be with either the CRM or ADFS service accounts.

    Also, if you've multiple AD domains, then check that all relevant domain controllers are working OK

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans