Category Archives: Plugin

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 »

Watch out for Issues with Version & Updating Plug-in assembly in Dynamics 365/CRM

Introduction: Plugin Assemblies are versioned and need to be signed with a strong key for them to be registered to Dynamics CRM. Any update to the library and compiling the project may cause the version # to change or to maintain versioning practices you may decide to change the version # and this can cause… Read More »

Retrieve Absolute and Site Collection URL Request in Dynamics CRM

In Microsoft Dynamics CRM, many emails and notes along with attachment gets created on daily basis, which results into increase in the CRM database storage which is expensive. So usually, people go with the integration of Dynamics CRM with SharePoint which reduces the CRM database storage. We receive many such requests where client wants to… Read More »