Optimize Dataverse Data Load with Custom Logic Bypassing

25 November 2026
KingswaySoft Team

Dataverse and Dynamics 365 CRM/CE environments often rely on custom business logic - such as plug-ins and classic workflows - that automatically execute when records are created, updated, deleted, or retrieved. While these customizations are essential for enforcing business rules and automating processes, they can introduce heavy processing overhead during large-scale SSIS integration jobs.

For example, during a bulk data migration, updating thousands of records can trigger synchronous plug-ins that run complex validations or calculations, or asynchronous workflows that flood the system with background jobs. This increases execution time, consumes system resources, and can create a severe backlog in Dataverse. Traditionally, avoiding this overhead meant manually disabling specific plug-ins or workflows before running an integration and re-enabling them afterward—a time-consuming process that risks disrupting other users and live business processes in the same environment.

To solve this, Microsoft provides request parameters to bypass custom business logic on a per-request basis. KingswaySoft brings this capability directly into SSIS integration workflows - across both the Dataverse/Dynamics 365 CRM Destination and Source components - through two dedicated options:

  • Bypass Business Logic Execution: Allows you to bypass synchronous custom logic, asynchronous custom logic, or both during Dataverse operations. This is ideal for high-volume data loads or reads where executing plug-ins or workflows is unnecessary.
  • Bypass Business Logic Execution StepIds: Provides granular control by letting you specify individual plug-in step GUIDs to bypass. This ensures you can skip specific custom steps while allowing all other registered business logic to execute normally.
Note: To use these bypass options, the Dataverse user account running the SSIS package must have the prvBypassCustomBusinessLogic privilege (included by default in the System Administrator security role). Additionally, this feature bypasses custom plug-ins and classic workflows, but does not bypass Power Automate cloud flows or core platform system logic.

Synchronous vs. Asynchronous Business Logic in Dataverse

Before configuring these settings, it helps to distinguish how custom logic executes in Dataverse/Dynamics 365 CRM/CE and how each type impacts SSIS performance:

  • Synchronous Logic: Executes immediately within the main execution pipeline before Dataverse/Dynamics 365 CRM/CE completes the operation. For example, a synchronous plug-in might validate fields or update related records during a create or update request. Because it runs inline, it directly increases SSIS component execution time, and any error thrown by the plug-in will cause the integration write/read operation to fail.
  • Asynchronous Logic: Executes in the background via the Asynchronous Service after the main database transaction completes. This typically handles non-immediate tasks like sending notifications or triggering follow-up updates. While it doesn't block the initial API response as heavily, bulk operations can queue thousands of system jobs, degrading overall environment performance.

To see this in action, consider an asynchronous workflow configured to trigger whenever an Account record is created:

Custom Async workflow definition within Dataverse customization

Once this workflow is activated, running a standard SSIS package with the Dataverse/Dynamics 365 CRM Destination component to create Account records will automatically trigger the workflow:

Write action in Dataverse/CRM Destination component

Checking Settings > System Jobs in Dataverse confirms that a background workflow job was spawned for each newly created record:

Workflow or job status page in Dataverse

Synchronous plug-ins behave similarly, except their execution occurs inline during the API call itself. Now, let's look at how to bypass these executions in both write and read scenarios.

Configuring Bypass Options in KingswaySoft SSIS Components

Both the Dataverse/Dynamics 365 CRM Destination and Source components expose the bypass settings on the General page.

1. Bypassing Logic During Writes (Destination Component)

When writing data to Dataverse, open the Dataverse/Dynamics 365 CRM Destination component and locate the Process Optimization section. Here, you can configure Bypass Business Logic Execution to skip CustomSync, CustomAsync, or both. This is especially helpful when migrating pre-validated historical data where re-triggering downstream workflows or validation rules would be redundant and unnecessary.

Process optimization section within Dataverse/CRM Destination component

Continuing our earlier example, selecting the CustomAsync checkbox and re-running the SSIS package creates the Account records without triggering the asynchronous workflow - leaving the System Jobs queue completely clean, which results in much better performance:

Choose the CustomAsync option in the Bypass Business Logic Execution feature

Inspecting the underlying HTTP request sent by the component reveals that KingswaySoft passes the MSCRM.BypassBusinessLogicExecution header to instruct Dataverse to skip asynchronous custom logic for that batch:

Header value in request in Fiddler capture

If bypassing all synchronous or asynchronous logic is too broad, you can use the Bypass Business Logic Execution StepIds property instead. By providing one or more specific plug-in step GUIDs (separated by commas), you can suppress an expensive or conflicting plug-in step while letting critical validation or auditing plug-ins continue to run:

Bypass Business Logic Execution StepId field filled with Step GUID

2. Bypassing Logic During Reads (Source Component)

Custom business logic isn't limited to write operations - Dataverse environments can also have synchronous or asynchronous plug-ins registered on Retrieve and RetrieveMultiple messages (for instance, plug-ins used for dynamic data masking, audit logging, or on-the-fly field calculations when records are queried).

Retrieve based plugin

When extracting large datasets in SSIS, these read-triggered plug-ins can noticeably slow down query throughput. To prevent this, the Dataverse/Dynamics 365 CRM Source component provides the exact same Bypass Business Logic Execution (CustomSync / CustomAsync) and Bypass Business Logic Execution StepIds options in its General page as well:

Bypass Business Logic Execution feature in the Dataverse/CRM Source component

Conclusion

Whether you are performing a one-time data migration or running high-frequency bidirectional syncs, KingswaySoft's Bypass Business Logic Execution and Bypass Business Logic Execution StepIds options give you fine-grained control over how Dataverse handles custom logic during SSIS execution. By selectively bypassing synchronous plug-ins, asynchronous workflows, or specific step IDs across both Source and Destination components, you can significantly improve integration throughput without disrupting other users or manually toggling customizations in your environment.

Archive

November 2026 3 October 2026 1 September 2026 3 August 2026 4 July 2026 3 June 2026 1 May 2026 3 April 2026 3 March 2026 2 February 2026 2 January 2026 2 December 2025 2 November 2025 2 October 2025 2 September 2025 2 August 2025 2 July 2025 2 June 2025 1 May 2025 2 April 2025 3 March 2025 1 February 2025 1 January 2025 2 December 2024 1 November 2024 3 October 2024 1 September 2024 1 August 2024 2 July 2024 1 June 2024 1 May 2024 1 April 2024 2 March 2024 2 February 2024 2 January 2024 2 December 2023 1 November 2023 1 October 2023 2 August 2023 1 July 2023 2 June 2023 1 May 2023 2 April 2023 1 March 2023 1 February 2023 1 January 2023 2 December 2022 1 November 2022 2 October 2022 2 September 2022 2 August 2022 2 July 2022 3 June 2022 2 May 2022 2 April 2022 3 March 2022 2 February 2022 1 January 2022 2 December 2021 1 October 2021 1 September 2021 2 August 2021 2 July 2021 2 June 2021 1 May 2021 1 April 2021 2 March 2021 2 February 2021 2 January 2021 2 December 2020 2 November 2020 4 October 2020 1 September 2020 3 August 2020 2 July 2020 1 June 2020 2 May 2020 1 April 2020 1 March 2020 1 February 2020 1 January 2020 1 December 2019 1 November 2019 1 October 2019 1 May 2019 1 February 2019 1 December 2018 2 November 2018 1 October 2018 4 September 2018 1 August 2018 1 July 2018 1 June 2018 3 April 2018 3 March 2018 3 February 2018 3 January 2018 2 December 2017 1 April 2017 1 March 2017 7 December 2016 1 November 2016 2 October 2016 1 September 2016 4 August 2016 1 June 2016 1 May 2016 3 April 2016 1 August 2015 1 April 2015 10 August 2014 1 July 2014 1 June 2014 2 May 2014 2 February 2014 1 January 2014 2 October 2013 1 September 2013 2 August 2013 2 June 2013 5 May 2013 2 March 2013 1 February 2013 1 January 2013 1 December 2012 2 November 2012 2 September 2012 2 July 2012 1 May 2012 3 April 2012 2 March 2012 2 January 2012 1

Tags