The two prerequisites to introducing the first 2019 or 2022 domain controller are that domain functional level needs to be 2008 or higher and older sysvol FRS replication needs to have been migrated to DFSR
Beyond that you can follow along here.
-
--please don't forget to upvote
and Accept as answer
if the reply is helpful--