From above description I could understand that you are getting error "Unable to retrieve the azure active directory configuration" when trying to get the configuration from Entra ID connect v1.6.
Please do correct me if this is not the case by responding in the comments section.
- AD-Connect 1.6 server is no longer working as is a retired version. You can disable the service in Windows to ensure the server is not going to export information.> - Since the version is retired and no longer working this is the reason why he can't retrieve information from Azure AD
However, as a workaround you may try to navigate to %ProgramData%\AADConnect and see if there are any previous version of the configuration exported which could be used in new deployment.
By default, the settings are exported to %ProgramData%\AADConnect. You also can choose to save the settings to a protected location to ensure availability if a disaster occurs. Settings are exported by using the JSON file format and should not be hand-created or edited to ensure logical consistency. Importing a hand-created or edited file isn't supported and might lead to unexpected results.
Please "Accept the answer (Yes)" and "share your feedback ". This will help us and others in the community as well.
Thanks,
Akshay Kaushik