There’s a new node in animation blueprint you can use to retarget directly from a mesh without having to retarget animations individually.
You can also assign the node above a mesh to retarget from or set the node to retarget from whichever mesh it is parented to in the actor blueprint.

I’m using the UE4 → UE5 retargeter with ALS and metahumans