Unable to clear or leave the Email for expiration warning field empty within the vCenter Server Management Interface (VAMI). The interface requires a valid email format to save changes, even if email notifications are not desired.
The behavior occurs due to a validation requirement in the vCenter Server password expiration settings configuration in the VAMI. This is a mandatory field in the VAMI UI.
At this time, there is no supported method to leave the Email for Expiration warning field completely unset through the vCenter UI.
NOTE: Prior to making any changes, a current snapshot should be taken of the vCenter Server.
Workarounds:
To bypass the UI validation without enabling actual notifications, enter a non-functional placeholder email address.
Log in to the vCenter Management Interface (https://<vcenter-ip>:5480)
Navigate to the Administration then select Password Expiration settings.Click on Edit.
In the Email for Expiration field, enter a Placeholder such as:
no-reply@localhost
Save the changes.
Note: This satisfies the UI requirement without impacting system performance or routing emails externally.
If you wish to modify password expiration parameters without providing an email address, you can use the Linux "chage" utility via SSH.
Log in to the vCenter Server Appliance (VCSA) via SSH as root.
Run the following command to modify the expiration for a specific user
chage -M [days] [username]
This method updates the account expiration policy directly in the OS, bypassing the UI validation requirements.