Category Archives: Plugin

Programmatically register Post or Pre Image for plugin step with required attribute parameters

Introduction There is a client requirement to register a plugin dynamically on update of owner field. In this blog we will explain how to get only required attribute parameters while registering Post or Pre image for plugin step. If you want to programmatically validate Pre/Post plugin step then please refer this. Below is code for… Read More »

Automate ILMerge for Workflows/Plugins to Merge Multiple Assemblies into One in Dynamics 365

Introduction: Recently we got a business requirement where we need to merge two assemblies into single exe i.e. one .net assembly and another assembly which would serialize and deserialize, so we used Newtonsoft.Json.dll for it. To merge Newtonsoft.Json.dll with .net dll in single exe it is recommended to use ILMerge. ILMerge is a tool that can… Read More »

Fixed – “Unable To Load Plug-in Assembly” Error in Dynamics 365

Introduction: Recently we had a business requirement where we created plug-ins and asynchronous workflows for ON-Premise CRM and in the plug-ins, we used some third party dll like Newtonsoft.Json.dll. But when we tried to register the plug-ins using ILMerge approach, the third party dlls did not get merged with plugin dll and other required dlls.… Read More »

Fixed – AADSTS90100: Invalid request. The Accept request parameter value ‘application/x-www-form-urlencoded’ is invalid

The introduction of Representational State Transfer (REST) service has allowed us to remotely interact with SharePoint data and perform basic operations like Create, Delete, Read and Update on SharePoint folders and files. When we use REST, we don’t need to add any references to libraries or client assemblies in SharePoint. In one of our earlier… Read More »

Unable to connect IFD CRM using Plugin Registration Tool

When we setup IFD configuration for Dynamic 365 it doesn’t always go smoothly. Sometimes, after configuring IFD, the CRM connects through the web client, but it does not connect using Plugin Registration Tool. The below message is displayed while connecting CRM using Plugin Registration Tool: We have faced this issue many times and have found various solutions!… Read More »

Plugin Pre-validation Operation to Show an Error Message as well as Log the Error

Introduction: We had a business requirement, where we created a custom entity with a grid of Associated Accounts. Here, we wanted to restrict the Account while adding Accounts in the Associated View. We wanted to do this when the Account does not have the status reason ‘Approved’ by showing an error message and sending an… Read More »