Hi @Manu ,
AAD password policies enable users to use the same password, the last password can be used again when the user resets a forgotten password.
Refer to Azure AD password policies.
Hope this helps.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have further questions about this answer, please click "Comment".