Thank you for posting your question in the Microsoft Q&A forum.
Based on your description, it seems you're encountering an error when attempting to remove the alias from a contact list entry, specifically after renaming a user following their resignation. The error message indicates that the Alias property cannot be empty, which aligns with the behavior I’ve observed during testing.
To validate this, I attempted to edit the contact information of a user mailbox in Exchange Online and left the alias field blank to simulate removal. The result was the same error you encountered, confirming that the system does not allow the alias property to be empty.
After researching further, I found relevant information in the official documentation: ExchangeUser.Alias property (Outlook) | Microsoft Learn. The documentation states:
“This property corresponds to MAPI property PidTagAccount. Returns an empty string if this property has not been implemented or does not exist for the ExchangeUser object.”
This implies that by design, the alias field cannot be removed or left blank. When a new user is created in Microsoft 365, the alias is automatically generated based on the prefix of the UserPrincipalName (UPN). Therefore, the alias is a required property and must contain a value.
If your goal is to update the alias to reflect the new user’s identity, I recommend assigning a new alias rather than attempting to remove it entirely.
I hope the information I’ve provided is helpful to you. If you have any further questions, feel free to reach out!
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
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.