Hi everyone,
I’m encountering an error when running the Data Migration Toolkit version 1.0.12, specifically at step 10. The issue doesn’t occur consistently — sometimes the process completes successfully, but other times it fails with the following error message:
Failed to resolve the UPN for the current Windows account.
at ADALNativeWrapper.ADALGetAccessToken(String username, IntPtr password, String stsURL, String servicePrincipalName, ValueType correlationId, String clientId, Boolean* fWindowsIntegrated, Int64& fileTime)
at System.Data.SqlClient.ActiveDirectoryNativeAuthenticationProvider.<>c__DisplayClass2_0.<AcquireTokenAsync>b__0()
at System.Threading.Tasks.Task`1.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
Failed operation step '/DataUpgrade/PreSync/ExecuteScripts'
Process 'C:\AosService\webroot\bin\DataUpgradeBatch.exe' failed with exit code 57005; see error logs for details.
at Microsoft.Dynamics.Servicing.DataUpgrade.Operations.Operation.RunProcess(String fileName, ArgumentsBuilder args)
at Microsoft.Dynamics.Servicing.DataUpgrade.Operations.OperationStep.Execute()
Exception calling "Execute" with "0" argument(s): "Failed operation step '/DataUpgrade/PreSync/ExecuteScripts'
Process 'C:\AosService\webroot\bin\DataUpgradeBatch.exe' failed with exit code 57005; see error logs for details.
at Microsoft.Dynamics.Servicing.DataUpgrade.Operations.Operation.RunProcess(String fileName, ArgumentsBuilder args)
at Microsoft.Dynamics.Servicing.DataUpgrade.Operations.OperationStep.Execute()
Has anyone encountered this issue before or found a reliable workaround?
I’ve already retried the process several times, but the error appears inconsistently.
Any insights or suggestions would be greatly appreciated.
Thanks,