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

Notifications

Announcements

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
    Mohit Rampal Profile Picture
    12,565 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.

  • Nissanka Profile Picture
    19 on at

    How did you drop the index?

  • 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.

  • Sanit Kumar Profile Picture
    on at

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

  • 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

  • Suggested answer
    Alireza Eshaghzadeh Profile Picture
    14,818 Super User 2025 Season 2 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).

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…

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
André Arnaud de Calavon Profile Picture

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

#2
Abhilash Warrier Profile Picture

Abhilash Warrier 428 Super User 2025 Season 2

#3
Martin Dráb Profile Picture

Martin Dráb 329 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans