Hello,
Thank you for posting in Q&A forum.
Based on the information you provided, you need to update the Active Directory schema before the in-place upgrade. For details, please refer to the following link:
Disclaimer: The above mentioned links are not from Microsoft's official website. The information provided on these pages is relatively accurate and reliable. However, you should be aware that these pages may contain product advertisements that you may not need, so please read them carefully and confirm that they are what you need before downloading and installing these advertising products.
I hope the information above is helpful.
Best regards
Zunhui
============================================
If the Answer is helpful, please click "Accept Answer" and upvote it.