The plug-in execution failed because the Sandbox Worker process crashed. This is typically due to an error in the plug-in code – Dataverse / Dynamics 365


The article discusses an exception that occurred in a plugin and provides a link to Microsoft documentation explaining the cause of the issue. The exception was related to the Sandbox Worker process crashing, which is typically due to an error in the plugin code. The article explains that in this particular scenario, the plugin was asynchronous and triggered on the Post Update of a Work Order Service task. The plugin fetched attachments associated with the task, and the issue occurred when there were many service tasks with a large number of attachments. Bulk updates triggered the plugin, resulting in too many requests and eventually leading to the error. The article provides additional resources for more information on the error and asynchronous service quotas.


Article 14m

Login now to access my digest by 365.Training

Learn how my digest works
Features
  • Articles, blogs, podcasts, training, and videos
  • Quick read TL;DRs for each item
  • Advanced filtering to prioritize what you care about
  • Quick views to isolate what you are looking for right now
  • Save your favorite items
  • Share your favorites
  • Snooze items you want to revisit when you have more time