HOW to query QMM LDAP to retrieve migration session name of a migrated account

Hello, 

I need to rollback a list of users account have I have migrated. The problem is that I have hundreds of Migration Sesions and it would be inefficient to go through them to undo users

Is there a way to find the session name the migrated users belongs to ? Maybe someone knows how to query the QMM LDAP to get this information ?

Cheers and thanks in advance

  • You need to connect to the AD LDS instance containing your QMM Project data.

    Use something like Get-ADObject to enumerate objects of objectclass=aelita-Amm-ObjectPair

    The property you want (migration session) is called 'aelita-Amm-MigratedIn'