Oracle Error ORA-28010: cannot expire external or global accounts

Oracle Error Message

ORA-28010: cannot expire external or global accounts

Reason for the Error

If a user account is created as IDENTIFIED EXTERNALLY, or IDENTIFIED GLOBALLY, this account cannot be expired

Solution

Try to expire the password of the user that has database password