Hello Ganesh
Thank you for posting question on Microsoft Windows Forum.
Based on the issue description, it probably indicates a problem with the Active Directory database file (NTDS.dit) within your IFM media. Either because of Corrupt Source Database which the IFM was created from the source 2022 DC while its database was in a "Dirty Shutdown" state. The IFM process essentially copied a non-functional database or because of Corrupt File Copy of which the NTDS.dit file (which could be very large) was corrupted during the copy between sites.
The suggested tool to verify the health of IFM is esentutl.exe (obviously, it must perform this check before attempting the promotion) which checks the integrity of the database file and, most importantly, tell you if it is in a "Clean Shutdown" or "Dirty Shutdown" state. You cannot promote from an IFM in a "Dirty Shutdown" state.
For more information about the tool esentutl.exe.
For more information about troubleshooting the Error 1127.
Hope the above information is helpful!