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

Notifications

Announcements

No record found.

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,672 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).

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

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
Martin Dráb Profile Picture

Martin Dráb 660 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

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

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 307 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans