web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Unanswered

Failed at step 10 in Data Migration Toolkit 1.0.12

(0) ShareShare
ReportReport
Posted on by

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,

Categories:
I have the same question (0)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Sahan Hasitha Profile Picture

Sahan Hasitha 242

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 83 Super User 2025 Season 2

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 68 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans