Skip to main content

Notifications

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 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
    14,065 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

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Leaderboard > Microsoft Dynamics CRM (Archived)

#1
Mohamed Amine Mahmoudi Profile Picture

Mohamed Amine Mahmoudi 83 Super User 2025 Season 1

#2
Community Member Profile Picture

Community Member 54

#3
Victor Onyebuchi Profile Picture

Victor Onyebuchi 6

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans