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 :
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,563 Moderator on at
    RE: Export failed while copying data from staging to target - Error

    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
    RE: Export failed while copying data from staging to target - Error

    How did you drop the index?

  • AstridMalanka Profile Picture
    8 on at
    RE: Export failed while copying data from staging to target - Error

    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
    RE: Export failed while copying data from staging to target - Error

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

  • Suggested answer
    Hossein.K Profile Picture
    6,648 on at
    RE: Export failed while copying data from staging to target - Error

    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,612 Super User 2025 Season 2 on at
    RE: Export failed while copying data from staging to target - Error

    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…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

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

#1
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 1,132

#2
André Arnaud de Calavon Profile Picture

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

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 739 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans