There used to be an option to export the IAM configuration to file and import it into another IAM.
The function was useful to guarantee identical user experience from one OTAP-environment to another; the files could be rolled out with life cycle management software.
There is still documentation mentioning similar functionality, but the corresponding option in the task is missing. Writing to file is not supported.
Often the available setting will work, but when it is not possible to connect one IAM to another, things get tricky.
As a cumbersome work around it is possible ask for a backup of one IAM, restore it in the other environment and register it with TCP and then sync the settings.