Hi,
Try renaming the user :
1 Exchange command:
Set-mailbox username -Name user1 -Displayname user1
2 Find the user in ADUC- ex.domain.com-Users, click property and rename the invalid value, here is an example:
If an Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.