I needed a script to find all of the MIM Portal records that did not have a Display Name or a Domain populated. This is usually an indication of an ID having multiple records in the Metaverse. This way I can target the MV objects to disconnect all of the MAs so that the deletion rule deletes the MV object.
This requires the Lithnet RMA module and must be run with an account that has Portal access. Oh, and don’t forget to NOT delete the built-in Synchronization account….