Plug-ins, Webhooks in Azure Functions and Microsoft Dynamics 365 v9.0+
Microsoft has launched many new features with updates of Microsoft Dynamics 365, but one key feature of Dynamics 365 has remained: plug-ins. If you aren’t familiar with this powerful tool used for extending the application, a plug-in is a custom business logic triggered by registered events in the Dynamics 365 pipeline. For example, a custom plug-in would fire to execute an augmented logic whenever a new account is created in Dynamics 365.
Developers depend on plug-ins to execute processes within Dynamics 365, but plug-ins aren’t without limits. When configurable webhooks launched with the latest Dynamics 365 release, it became possible to configure a webhook—similar to a plug-in—to execute in an Azure function.
Webhooks vs. plug-ins
If you’ve always used plug-ins up until now, you are probably wondering why you should opt to use webhooks. Here are two scenarios:
You run into sandbox plug-in limitations with Dynamics 365 online like:
Timeouts
Partial trust environments
HTTP/HTTPS protocols
DNS-only network access
Forced ILMerge
Limited resource usage capabilities
Additional complications result from keeping integration logic out of the code base or existing .NET assemblies (to facilitate integration with an external system) don’t work in a partial trust environment—even with ILMerge.
How do you write a plug-in using a webhook?
Writing and deploying a plug-in using a webhook in Azure Functions is a simple process. Let’s review an example…
Are you ready to start the conversation about Dynamics 365 solutions?
Our Dynamics 365 experts can customize an ERP solution for your business, contact AKA today!
ABOUT AKA ENTERPRISE SOLUTIONS
AKA specializes in making it easier to do business, simplifying processes and reducing risks. With agility, expertise, and original industry solutions, we embrace projects other technology firms avoid—regardless of their complexity. As a true strategic partner, we help organizations slay the dragons that are keeping them from innovating their way to greatness.Call us at 212-502-3900!
We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”, you consent to the use of ALL the cookies. However you may visit Cookie Settings to provide a controlled consent.
This website uses cookies to improve your experience while you navigate through the website. Out of these cookies, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may have an effect on your browsing experience.
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.