MM DD HH:MM:SS vCenterIP/FQDN vpxd[#####] : Event [#####] [1-1] [YYYY-MM-DD HH:MM:SS] [vim. event. BadUsernameSessionEvent] [error] [USERNAME@Domain] [] [#####] [Cannot login UserName@Domain@ClientIP]vCenter Server 7.x
vCenter Server 8.x
The credentials stored on one or more integrations with vCenter were not updated after the password change, causing those systems to authenticate with the wrong password.
# journalctl -b 0|grep BadUsernameSessionEvent|grep Locked_Out_User_AccountIn the following example output, the user account is "UserName@Domain" and it shows each time the IP address that is failing to login to the vCenter.Event [#####] [1-1] [YYYY-MM-DDTHH:MM:SS] [vim. event. BadUsernameSessionEvent] [error] [UserName@Domain] [] [#####] [Cannot login UserName@Domain@ClientIP]
2. Update the AD credentials for every application or solution that appears in the logs as reporting a BadUsernameSessionEvent
Note: In the case of backup software that may be causing this issue, make sure to update the credentials in any other modules (like LDAP or storage connections) if they use the same service account.
Note: This issue extends beyond Active Directory (AD) users and also affects local accounts integrated with external solutions. If journalctl logs confirm authentication failures for local users, apply the resolution steps provided in this article.