Hi,
with the October 2022 update kb5020276 Microsoft has hardened the security for re-using a domains computerobject.
A re-jojn fails if the user has not the appropriate permissions. The error message: Re-using the account was blocked by security policy occurs.
Continue reading Windows: Unable to join domain: Re-using the account was blocked by security policy.