On-premise plug-in development

Applies to Dynamics 365 for Customer Engagement apps version 9.x

A plug-in is custom business logic (code) that you can integrate with Dynamics 365 for Customer Engagement apps to modify or augment the standard behavior of the platform. Another way to think about plug-ins is that they are handlers for events fired by Dynamics 365 for Customer Engagement apps. You can subscribe, or register, a plug-in to a known set of events to have your code run when the event occurs.


In this documentation release, the plug-in documentation that is common to all Dynamics 365 deployment types has been moved to the Common Data Service for Apps documentation set. The sub-sections that follow contain only the information specifically related to developing plug-ins for an on-premises or Internet Facing Deployment. To learn about plug-in development, start by reading the plug-in documentation under Common Data Service (CDS) for Apps, and then if you are targeting an on-premises/IFD deployment, read the sub-topics that follow this topic.

For more information about plug-in run-time execution, see Event Framework.

In This Section

Impersonation in Plug-ins

Register and Deploy Plug-ins

Debug a Plug-in

Access external web resources

Offline plug-in execution

Write Plug-Ins to Extend Business Processes
Web Service Authentication and Impersonation