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, ...
Suggested Answer

Export failed while copying data from staging to target - Error

(0) ShareShare
ReportReport
Posted on by 8

Good morning,

I am trying to export an entity (custom) to my BYOD. I was able to export it when there was no data (when I was in the DAT company), but when I tried to run it under another company I get the following error: Export failed while copying data from staging to target:

I have refresh the entities and remapped them, but I am not sure what else do I need to do.

Any ideas?

Thanks

I have the same question (0)
  • Suggested answer
    Alireza Eshaghzadeh Profile Picture
    14,839 Super User 2026 Season 1 on at

    Hi Astrid,

    Please export this entities in other companies than DAT in Excel to check if it works.

    If it works properly, try to republish the entity to Azure SQL database again and create a new export project and export to Azure SQL DB (BYOD).

  • Suggested answer
    Hossein.K Profile Picture
    6,648 on at

    Hi,

    To solve the problem you need to give appropriate grant/permission to your DB like insert. and after that Please try to drop the table in the database, republish the entity and export again.

    pastedimage1664761879530v1.png

  • Sanit Kumar Profile Picture
    on at

    Any update on this? I am also getting the same error.

  • AstridMalanka Profile Picture
    8 on at

    The issue we has was the index that the entity creates when published, I drop the index and I was able to export.

  • Nissanka Profile Picture
    19 on at

    How did you drop the index?

  • Suggested answer
    Mohit Rampal Profile Picture
    12,573 Moderator on at

    Hi Nissaka, You can  drop index by connecting to BYOD Database in SQl server, find your staging table, expand it, Indexes (Right click and Delete).

    Please note that you have to perform same step if you re-publish the Data entity to BYOD.

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!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

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

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 493

#2
André Arnaud de Calavon Profile Picture

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

#3
Syed Haris Shah Profile Picture

Syed Haris Shah 242 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans