Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

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

Posted on by 215
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
    David Jennaway 14,063 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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans