HI @eddy sophian
Thank You for clarification and your reply.
Change the User Logon Name from a single user in AD
Import-Module ActiveDirectory
Set-ADUser -Identity "peter.tan@fabrikim.com" -UserPrincipalName "jhon.tan@fabrikim.com"
How to change User Logon Name in bulk
If the Answer is helpful, please click Accept Answer and up-vote, this can be beneficial to other community members.