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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

Issue in Database restore from UAT to Sandbox

(0) ShareShare
ReportReport
Posted on by 25

Hi All,

I have followed the standard documentation (https://docs.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/database/dbmovement-scenario-exportuat#import-the-database?) to export UAT db to developer's sandbox but I am facing the issue File contains corrupted data while exporting the db backup from UAT to developer sandbox.

pastedimage1582267049616v2.png

Does anyone familiar with this one? 

Thanks,

I have the same question (0)
  • Verified answer
    Sergei Minozhenko Profile Picture
    23,095 on at

    Hi Zuhad,

    There was a discussion in Yammer about the same issue. Try this solution.

    Customers have been reporting the .bacpac exported from some environments are unable to be imported on developer boxes.  They get an error "File contains corrupted data" when running Sqlpackage.exe.

    Root cause: We use .Net Core version of Sqlpackage.exe in our Dynamics-hosted export engine, which has a regression against .Net Standard Sqlpackage.exe.  We worked with that team to highlight the issue, and they are fixing it in the .Net Standard version.  However, since Microsoft doesn't update SSMS/Sqlpackage on your environments this is surfacing as a breaking change on dev boxes.

    If this describes your situation, you can visit docs.microsoft.com/.../sqlpackage-download to download .NET CORE version of Sqlpackage.exe.  This is a .zip file that can be extracted to C:\Temp\Sqlpackage-dotnetcore.

    From there, instead of using the Sqlpackage.exe under C:\Program Files (x86) they can use the Sqlpackage.exe in C:\Temp\Sqlpackage-dotnetcore.

    It is able to better understand the .bacpac file format, as it truly is not corrupted.  

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 689

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 606 Super User 2026 Season 1

#3
CP04-islander Profile Picture

CP04-islander 356

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans