I have a requirement in project to migrate users from FBA custom membership provider to windows authentication.
FBA users are basically from different Active directories.
So I was using Move-SPUser command as the following:
$user = Get-SPUser -web http://appUrl -Identity "i:0#.f|custommembership|user"
Move-SPUser -IgnoreSID -Identity $user -NewAlias "i:0#.w|AD\user"
the above command executes without any errors but however its not able to migrate the user. The above steps are tried after deletion and creation of a new UPSA connection. Also, I removed the FBA provider in web.config
I was able to do the same earlier on some other server. I am not able to analyse whats wrong.
Also, please let me know of any better solution for this kind of problem.
Note: I want to the application to be claim based. I am not switching the application mode.









