Microsoft do not allow us to use a previous password on the Microsoft account, it is a security feature to protect your account and prevent hackers accessing your account, this is not specific to Microsoft accounts, most online platforms do not allow previous passwords to be used again.
The best option is to change just one character in your old password for the new password, so you can easily remember the new password, that will then be accepted as a new password on your account.