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 Apps / Unable to Delete records.
Power Apps
Unanswered

Unable to Delete records.

(1) ShareShare
ReportReport
Posted on by 6

I initially created fields containing Decimals, Lookups, and Strings. After the requirements changed, I modified these fields by removing some from the form and deleting them. Despite data being present in almost all the fields, I proceeded with the deletions.

Now, when I attempt to delete any record that I created, I encounter a 0x80040224 error. When opening a records it says: "An unexpected error occurred from ISV code". I would greatly appreciate any assistance in resolving this issue.

Thank you in advance.

Attaching Screen Shots:

image (2).png
image (3).png
Categories:
I have the same question (0)
  • Sunil Kumar Pashikanti Profile Picture
    1,353 Moderator on at

    Hi @AquibAziz

     

    The error code “0x80040224” indicates that there might be an issue with the data source or the way the deletion is being handled. Here are some steps you can take to resolve this:

     

    Recreate Data Source Connection:
    Sometimes, issues can arise due to cached connections or outdated configurations.
    Try re-creating the connection to your data source (SharePoint or other) in your PowerApps app.
    Delete the existing connection and add it again. Then test if the deletion works as expected.


    Check Permissions:
    Ensure that you have the necessary permissions to delete records from the data source.
    Verify that your account has the appropriate rights to modify data in the SharePoint list or other data source.


    Review Deletion Logic:
    Double-check the formula or action you’re using to delete records.
    If you’re using a button or an icon to trigger the deletion, make sure the OnSelect property contains the correct formula.


    Commonly used formula for deleting a selected record from a data table:
    Remove(MyDataSource, DataTable1.Selected)
    Replace MyDataSource with your actual data source name and DataTable1 with your table control name.


    Refresh Data Source:
    After deleting fields and modifying the form, refresh your data source.
    Sometimes, changes to the schema or structure of the data source can cause issues until the data source is refreshed.


    Check for Business Rules or Custom Code:
    If you have any custom business rules, plugins, or ISV code associated with the data source, review them.
    Ensure that there are no conflicting rules or code that might interfere with record deletion.


    Test with a Different Record:
    Create a new test record and try to delete it.
    If the issue persists, it might be related to the data source configuration or permissions.


    Monitor the Error Message:
    When you encounter the error, note down any additional details provided in the error message.
    Sometimes, specific error messages can give clues about the root cause.

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    Sunil Pashikanti - Tech Blog: PowerApps

     

     

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!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 530

#2
WarrenBelz Profile Picture

WarrenBelz 459 Most Valuable Professional

#3
Haque Profile Picture

Haque 314

Last 30 days Overall leaderboard