Dataverse | Bypass Custom Business Logic

Sending
User Review
0 (0 votes)

Great post on BypassCustomPluginExecution. If we are using KingswaySoft we can consider using Process Optimization options to disable relevant plugin execution – https://nishantrana.me/2020/11/12/process-optimization-dynamics-365-ce-crm-cds-ssis-integration-toolkit-kingswaysoft/

Rajeev Pentyala – Microsoft power platform blog

There are times when you want to be able to perform data operations without having custom business logic applied. Especially during complex data migration scenarios, we would not want our custom business logic (i.e., Sync Plug-ins/Real time Workflows) to be triggered.

The manual option to disable custom logic is,

  • We have to locate and disable the custom plug-ins. But this means that the logic will be disabled for all users while those plug-ins are disabled. It also means that you have to take care to only disable the right plug-ins and remember to re-enable them when you are done.

Now using BypassCustomPluginExecution option we can disable custom business logic programmatically.

About BypassCustomPluginExecution:

When you send requests that bypass custom business logic, all synchronous plug-ins and real-time workflows are disabled except:

  • Plug-ins which are part of the core Microsoft Dataverse system or part of a solution where Microsoft is the…

View original post 309 more words