Hi @Kumar, Aditya ,
Please make sure Active directory environment is healthy and there is no issues with AD replication. Also, no issues between the AD & Exchange communication.
Try running Setup.exe /IAcceptExchangeServerLicenseTerms /PrepareSchema and Setup.exe /IAcceptExchangeServerLicenseTerms /PrepareAD
If the above suggestion helps, please click on "Accept Answer" and upvote it.