I was trying configure Azure directory synchronization and it was keep failing with “The use name or password is incorrect. Verify you name, and then type your password again.” error message.
I knew that the user name and password are correct. For some other testing purpose I enabled Multi-Factor Authentication on this account that was causing the issue. Everything started working after disabling MFA on this account.