Plug-in development


Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

A plug-in is custom business logic (code) that you can integrate with Microsoft Dynamics 365 (online & on-premises) 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 Microsoft Dynamics 365. You can subscribe, or register, a plug-in to a known set of events to have your code run when the event occurs.

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

In This Section

Write a plug-in

Understand the data context passed to a plug-in

Handle exceptions in plug-ins

Pass data between plug-ins

Impersonation in plug-ins

Register and Deploy Plug-Ins

Debug a plug-In

Analyze plug-in performance

Walkthrough: Register a plug-in using the plug-in registration tool

Walkthrough: Configure assembly security for an offline plug-in

Sample: Create a basic plug-in

Sample: Web access from a sandboxed plug-in

Write plug-ins to extend business processes

Event execution pipeline

Authenticate users in Microsoft Dynamics 365

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright