top of page
logo.png

Efficiently Deleting large amounts of Records from Microsoft Dataverse

Writer's picture: Andrew GallagherAndrew Gallagher

Streamline Data Management with Bulk Deletions


When managing data in Microsoft Dataverse, you might encounter scenarios where you need to delete a large number of records efficiently. While you can delete records manually or through custom code, Dataverse provides a built-in feature to handle bulk deletions effectively: System Jobs. This approach ensures the deletion process is managed securely and efficiently, minimizing the risk of errors or performance issues.


Dataverse

Steps to Use System Jobs for Bulk Deletion

Follow these steps to delete records in bulk using the System Jobs feature in Dataverse:


  1. Access Power Apps Maker Portal

    Navigate to Power Apps Maker Portal and sign in with your credentials.

    Access Power Apps Maker Porta

  2. Open Advanced Settings

    • Click the gear icon at the top-right corner of the portal.

    • Select Advanced Settings from the dropdown menu.

    Open Advanced Settings

  3. Navigate to System Jobs

    • In the Advanced Settings window, click Settings in the navigation bar.

    • Select System Jobs under the System section.

      Navigate to System Jobs

  4. Configure Bulk Deletion Criteria

    • In System Jobs, set the following:

      • Look for: Choose the entity (table) containing the records you want to delete.

      Configure Bulk Deletion Criteria

      • More Actions: Select Bulk Delete.

      • More Actions: Select Bulk Delete

        Filter criteria: Specify conditions to identify the records for deletion. For example, you can delete records on a specific date or those with a certain status or view.

      • Preview Records that are to be deleted.

      • Click Next to proceed.

        Define Search Criteria
  5. Schedule and Execute the Deletion

    • Review the criteria and set the schedule for the deletion job.

    • Confirm the settings and start the bulk deletion process.

      Select Options
  6. Be Patient

    • Bulk deletions are not instantaneous. The time required depends on the volume of data and system load, so it may take some time to complete the process.


Key Benefits of Using System Jobs for Deletion

  • Scalability: Handles large volumes of data without impacting system performance.

  • Customization: Allows you to define specific criteria for deletion.

  • Auditing and Tracking: Logs details of the deletion process for monitoring and auditing purposes.

  • Ease of Use: No coding required, making it accessible for all users.


Best Practices for Bulk Deletion

  1. Backup Data: Always back up your Dataverse environment before performing bulk deletions.

  2. Test in a Sandbox Environment: Test the deletion criteria in a non-production environment to ensure accuracy.

  3. Use Filters Wisely: Avoid overly broad conditions to prevent unintended data loss.

  4. Monitor System Jobs: Regularly check the status of the deletion job to confirm successful completion.


By leveraging the System Jobs feature in Dataverse, you can efficiently manage and maintain your data while minimizing the manual effort and potential risks involved. This tool is especially valuable for administrators and users looking to streamline their data management processes.

12 views0 comments

Recent Posts

See All
bottom of page