If the issue happens for multiple PCs when joining the domain , it is suggested to check the status of the DCs and the replication among DCs, DNS configuration.
Run command the DCs and confirm if there are any errors:
Dcdiag /v >c:\dcdiag1.log
Repadmin /syncall /APeD
Repadmin /showrepl >C:\repl.txt
Repadmin /showreps *
Ipconfig /all > C:\dc.txt
Hope this resolves your Query !!
--If the reply is helpful, please Upvote and Accept it as an answer–
Update the task sequence and replace domain\user with FQDN\user