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

Delete records through data entity

(0) ShareShare
ReportReport
Posted on by 68

hi,

Recently I came across a requirement where the client has asked to create an entity to create ,update as well as delete a record via the entity.
So my question is that is it even possible to delete a record via the entity. I mean does the std entities allow records to delete with the same entity.
I know that there is something related to truncate data however I am not sure if we need to mark some records to delete and others to create.

Thanks,

VK

I have the same question (0)
  • Verified answer
    nmaenpaa Profile Picture
    101,172 Moderator on at

    If the data entity is not Read only, deleting via data entity is possible when you use OData integration (for example Excel add-in).

  • Suggested answer
    Community Member Profile Picture
    on at

    Hi VK,

    Yes, it can be done!!!

    Import data entity by keeping the BLANK for those fields which are required to delete.

  • vicky1234 Profile Picture
    68 on at

    Thanks Murthy for the quick reply

    what do you mean by keeping the blank fields....are you talking about the excel addin ->delete and publish.

    I mean to ask if its possible via DMF , you create a project with the given entity and delete the records.

  • Frank Hamelly | MVP, MCP, CSA Profile Picture
    46,633 Moderator on at

    It depends on the records you want to delete.  You can never delete posted transactions.  Master data, config data, yes, as long as the data hasn't been used on a transaction.  The way to use DMF to delete is to select 'Truncate entity data' in your import project.  However, this action will delete ALL data in the tables related to the entity, so use with caution.  More might be possible with a custom entity, that I'm not sure about.

  • vicky1234 Profile Picture
    68 on at

    Thanks Frank,

    I need to check how deleting multiple records can be achieved as well as creating with the same entity.

    Offcourse both will be separate projects but again even I am not sure on this

  • Verified answer
    André Arnaud de Calavon Profile Picture
    305,196 Super User 2026 Season 1 on at

    Hi Vicky,

    As mentioned above, using OData (e.g. Excel) can do a delete action. If you need to delete multiple records, you can delete multiple from Excel or e.g. provide a list and use Power Automate to delete the records. Technically, the records will be deleted one by one as the delete action using OData is per record.

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 April 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 692

#2
André Arnaud de Calavon Profile Picture

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

#3
CP04-islander Profile Picture

CP04-islander 478

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans