Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics SL (Archived)

The user name or password provided is incorrect. 3

Posted on by Microsoft Employee

When users of a certain AD group attempt to log in to Dynamics SL 2015 they are given the "The user name or password provided is incorrect. 3" error.  We are certain that the password and username are not actually the issue as the users know to use "Domain\Username", which we have verified they are doing and also not making a typo - and when we tell them to enter an incorrect password on purpose the error message changes to just "The user name or password provided is incorrect."

When they enter the right password it changes to "The user name or password provided is incorrect. 3"

We can't quite figure out why that one group in particular is causing the issue. I've checked to make sure there are no duplciate SIDs or GUIDs. We thought maybe there was an issue with the group having several nested groups within it, however once we tried troubleshooting by removing the users from the main group and then just adding to subgroups one at a time, the behavior went away. We can't keep the users removed from the trouble group forever, as it enables many people to do their job.

The log on the webserver for the webapp says:

12/8/2017 7:59 AM    Login    PrincipalOperationException    The network path was not found.
 (Client: 10.xx.xx.xx)
   at System.DirectoryServices.AccountManagement.CredentialValidator.BindSam(String target, String userName, String password)
   at System.DirectoryServices.AccountManagement.CredentialValidator.Validate(String userName, String password, ContextOptions connectionMethod)
   at System.DirectoryServices.AccountManagement.PrincipalContext.ValidateCredentials(String userName, String password, ContextOptions options)
   at Microsoft.Dynamics.SL.Mobile.UIHelper.impersonateValidUser(String userName, String domain, String password)
   at Microsoft.Dynamics.SL.Mobile.HomeController.Index(LoginModel model, String returnUrl)

Which doesn't seem very helpful. I'm not sure what network path it would be looking for?

*This post is locked for comments

  • Mark E Profile Picture
    Mark E 6,405 on at
    RE: The user name or password provided is incorrect. 3

    Just ran across this issue recently after a client had some server failures and had to restore them from snapshots, including the domain controller.  After all the servers were restored, everything SL 2015 related worked except for WebApps, which was throwing this message when any user attempted to login.  What resolved it was a combination of running the SL Database Maintenance Scenario Synchronize All Database Ownership & Security, then restarting the SL Web Service and WebApps App Pools in IIS.  I am assuming that somewhere during the restore processes GUIDS had changed and the Sync resolved them, along with the App Pool restarts.

  • Yoviluz Profile Picture
    Yoviluz 35 on at
    RE: The user name or password provided is incorrect. 3

    For others searching, we found that the group having login issues in particular had a deny set on the computers OU in Active Driectory security.  Setting it to read allowed the group to log in.

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,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans