replied on November 30, 2022
I believe that "9231: The password specified is invalid" is specifically about the current password. Often you are required to enter the current password in order to change it, and this indicates that the current password entered was not correct. LFS does have error codes if the new password does not meet policy, including explicit messages for common cases "9158 The password does not meet the minimum length requirement of the password policy" and a catch-all "9027 Password would violate password policy".