PL 400 : create an Azure Function that interacts with Microsoft Power Platform (Publish and consume events)

Function App is the beautiful concept of Azure Service App where developers need to focus on the code or business logic and it also provides the ability to develop those code in multiple languages. If we analyze it carefully, we will find that it facilitates the separation of concerns along with the essence of the infrastructure. In Azure Functions, a function app provides execution context for different functions. The most important fact is that it provides logical unit which can work according to events or scheduler.

In the Microsoft Dataverse, Plugin is mechanism where developers can wire their custom code. those custom code runs under the event framework to run the specific events. Plugin is a .NET assembly that we can upload to the Microsoft Dataverse and can be registered to specific events within event framework. Function app can't be replace the plugin, but it can assist to offload the burden of custom code. Let us discuss about the features of both mechanisms to leverage according to business usages.
 

Write an Azure Function that processes Dataverse Events:

  • Write the Azure Function which contains the HTTP trigger and implement the Remote Execution context.
  • Build function and publish it to Azure.
  • Register a Dataverse webhook that call the new custom develop Azure function with help of plugin registration tool.
  • Register a new step with post operation a message

Comments

Popular posts from this blog

Exploring the Differences: Managed vs. Unmanaged Solutions in Dynamics CRM/Dataverse

PCF vs. Web Resources: Choosing the Right Extensibility Tool for Dataverse

Effective Strategies for Debugging Plugins in Dynamics CRM