ODMAD Dirsync error: "Unable to determine target SAMAccountName for <DN_of_source_user>" - cannot migrate SID History
The issue is caused by missing samAccountName mapping in the template, used by Stage
To resolve the issue, review workflow, Stage module to determine name of the used template.
Open hamburger menu, Templates, select the template in question and click on Settings.
Click on Mappings and search for samAccountName. If it's not there, add the new mapping, Basic, samAccountName -> samAccountName.