Microsoft Dynamics 365 CRM Interview Questions dynamix academy

Dynamics 365 interview questions – If a plugin fails in production but not in development region. How can we fix the issue?

You need to observe the behaviour of the Plugin carefully.

  1. Plugin does not throw any error and does not perform the required job.
    • Plugin is not triggering
    • The Plugin is triggering but going out of null check conditions in code
    • Plugin is triggering but due to validations in depth condition moving out of it
    • Configuration or Coding check condition issues.
  2. Plugin throws error.
    • Observe the error due to misconfiguration
    • Required Customizations/permissions are not present in Production/other environment.
    • Directly reading the FirstOrDefault condition while working with EntityCollection in code
    • Reading some configuration records, that are not yet created in Production/Other Instances Code logic/erroneous code issues.

The Plugin does not throw any error and does not perform the required job.   1) Possible Solutions if Plugin is not triggering

  • Check the Plugin Configuration on Production/other Region
  • Message
  • Filtering Attributes if any
  • Run in User’s Context
  • Stage
  • Synchronous/Asynchronous
  • Unsecure/Secure Configurations (Secure Configurations has to be reconfigured manually)
  • If applicable, verify the POST/PRE Images and attributes

2) Plugin is triggering but going out of null check conditions in code

  • Check the Plugin Code
  • For all null checks in your plugin and try to see if its not moving out due to that. If so create required data on production environment.
  • Plugin is triggering but due to validations in depth condition moving out of it

3) Depth Validation

  • If any other plugin/workflow is triggering the plugin in context. If so handle the depth check condition properly
  • CONCLUSION    
  • Configuration or Coding check condition issues

Follow Dynamix Academy on different Social Media platform :

Facebook: https://goo.gl/UQH3Eg
Twitter: https://goo.gl/d84Qw9
YouTube: https://goo.gl/wwznrB

Also read previous posts of Dynamix Academy about Microsoft Dynamics 365 below:

Also Find Useful references below:

Leave a Reply