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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Bulk Delete Dataverse ...
Power Automate
Unanswered

Bulk Delete Dataverse Records using Power Automate

(0) ShareShare
ReportReport
Posted on by 4

Hi Community Members,

 

I am trying to create a Power Automate flow to bulk delete all dataverse records from a table. This table does not have any relationships with other tables and therefore, this needs to be a simple bulk delete operation.

 

I am using the "Perform an Unbound Action" with Action Name "Bulk Delete" to delete the records. I am receiving the following error:

 
Request to XRM API failed with error: 'Message: Flow client error returned with status code "BadRequest" and details "{"error":{"code":"InvalidOpenApiFlow","message":"Flow save failed with code 'OpenApiOperationParameterValidationFailed' and message 'Input parameter 'item' validation failed in workflow operation 'Perform_an_unbound_action': The parameter with value '\"[systemusers(826339ed-cc30-ec11-b6e5-000d3a5b4133)]\"' in path 'item/ToRecipients' with type/format 'String' is not convertible to type/format 'Array'.'."}}". Code: 0x80060467 InnerError: '.
 
It looks like flow is looking for a value that can is convertible to Array. Has anyone tried this and can help me fix this issue.
Thanks in Advance!
Categories:
I have the same question (0)
  • Expiscornovus Profile Picture
    33,828 Most Valuable Professional on at

    Hi @Kartik31,

     

    There is bulk deletion option in the data management section for your environment in the Power Platform admin center.

     

    You could use that feature to configure your own bulk deletion job for your specific table:

    https://docs.microsoft.com/en-us/power-platform/admin/delete-bulk-records

    https://docs.microsoft.com/en-us/power-platform/admin/view-take-action-bulk-deletion-jobs

     

     

  • Kartik31 Profile Picture
    4 on at

    Hi @Expiscornovus ,

    Thank you for the links and the suggestion. I will have a look at these.

     

    However, We are looking for a power automate solution because I have some other actions to perform after the bulk deletion is completed. The problem that I am facing is with the "ToRecipients" parameter of the Bulk delete action under Perform an unbound action.

    Could you help me with what needs to be added to the "ToRecipients"  field?

  • Expiscornovus Profile Picture
    33,828 Most Valuable Professional on at

    Hi @Kartik31,

     

    As far as I am aware the ToRecipients field is the place were you can add e-mail addresses of people who should receive an email notification when a bulk deletion finishes.

     

    Btw, it might be possible to also create bulk deletion jobs from Power Automate. They are also stored in a table in Dataverse 😉

    https://docs.microsoft.com/en-us/power-apps/developer/data-platform/reference/entities/bulkdeleteoperation

     

  • sd_kt Profile Picture
    3 on at

    Curious if you ever found a solution for this? I am in the same boat. Thank you!

  • Dsammie0 Profile Picture
    6 on at

    I found this helpful: youtube.com/watch?v=oyt20S5Akxg you need to add in [ ] to the recipient fields (to and from).

  • Shanandra Profile Picture
    2 on at
    Am getting an "Internal Server Error" for my flow, any idea what the issue would be?

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 Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 589

#2
Valantis Profile Picture

Valantis 328

#3
David_MA Profile Picture

David_MA 284 Super User 2026 Season 1

Last 30 days Overall leaderboard