In your former post you mentioned you are moving AD services to Windows Server 2022.
Since you have an Exchange server 2013 in the environment, according to this link: Exchange Server supportability matrix
Exchange server 2013 doesn't support Windows Server 2022 Active Directory servers.
Thus you may need to migrate to Window Server 2012 R2 or Windows Server 2016 instead to support Exchange 2013.
For the AD forest function level, please refer to this part:
In addition, if you would like to deploy an Exchange 2013 for test, here are two links which may help:
Deploy a new installation of Exchange 2013
Exchange 2013 CU 23 download
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.