Tips for finding Knowledge Articles

  • - Enter just a few key words related to your question or problem
  • - Add Key words to refine your search as necessary
  • - Do not use punctuation
  • - Search is not case sensitive
  • - Avoid non-descriptive filler words like "how", "the", "what", etc.
  • - If you do not find what you are looking for the first time,reduce the number of key words you enter and try searching again.
  • - Minimum supported Internet Explorer version is IE9
Home  >

KB-25000: Authentication failed due to different username in samaccountname

Authentication Service ,  

26 June,20 at 04:21 PM

Problem: AD user cannot authenticate successfully with a right username

Cause: samaccountname has a different username or username with different character case e.g (username = jon, sammaccountname = Jon)


User-added image
  1. Go to ADUC
  2. Go to View and enable Advance Feature
  3. Search username and check its property
  4. Go to its Attribute Editor and check if samaccountname and userPrincipalName contains the right username

Using the following powershell command to find out the above information
  • Get-ADUser [username]-Properties *| select samaccountname,name,UserPrincipalName