Showing posts from March, 2019

Assembly Microsoft.Dynamics.Service.Plugins.dll can not be loaded. Dynamics CRM 365 Engine version 9 - CRM User creation error

Hello, If You face an error while adding new user to the Dynamics CRM 365 onpremise for Version 9.0 stating that " Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: Assembly Microsoft.Dynamics.Service.Plugins.dll can not be loaded. .... .... ....    <d2p1:value xmlns:d4p1="" i:type="d4p1:string">Microsoft.Crm.CrmException: Assembly Microsoft.Dynamics.Service.Plugins.dll can not be loaded. ---&gt; Microsoft.Crm.CrmException: Assembly Microsoft.Dynamics.Service.Plugins.dll can not be loaded. ---&gt; System.IO.FileLoadException: Could not load file or assembly 'file:///C:\Program Files\Microsoft Dynamics CRM\server\bin\assembly\Microsoft.Dynamics.Service.Plugins.dll' or one of its dependencies. Access is denied. .... .... .... " It is about missing perm

A Study : Authentication variety of Dynamics CRM (2016 - 365) with multiple domains and external providers(google, hotmail etc)

Hello, I want to share configuration details of multiple LDAP service providers to be used for Dynamics CRM authentication. Fortunately, Dynamics CRM allows us to utilize federative services to authenticate users from multiple channels. Note: Authorization is handled by Dynamics CRM itself.  High Level Architecture: Dynamics CRM is dependent to only one Domain, rests will be leveraged federative services through ADFS by generating STS (Security Token) for Claimbase Authentication instead of Windows Authentication so Dynamics CRM must be installed to  single domain and Internet Facing Deployment must take in place for Dynmaics CRM then  LDAP vendors must integrate with the ADFS of domain which is utilized by Dynamis CRM. In my lab works, Scenario was; Any users who might be under one of the 2 seperated domain controllers internally or  external providers (Hotnail or Gmail etc.,) must login to the Dynamics CRM  successfully. I took Domain A as main and installed Dyn

can not add (global) event handler - The specified module could not be found - Error Code : 126

Hello, I want to add KeyPress Event to my program ;               this.globalEventProvider1.MouseDown += new System.Windows.Forms.MouseEventHandler(this.globalEventProvider1_MouseDown);             this.globalEventProvider1.MouseUp += new System.Windows.Forms.MouseEventHandler(this.globalEventProvider1_MouseUp); when i execute them, I am facing error; System.ComponentModel.Win32Exception: 'The specified module could not be found' Solution : We should load user32.dll and make a call as seen below: Load user32.dll and user it in SetWindowHookEx  //See comment of this field. To avoid GC to clean it up.                 s_MouseDelegate = MouseHookProc;                 var mar = LoadLibrary("user32.dll");                 //install hook                 s_MouseHookHandle = SetWindowsHookEx(                     WH_MOUSE_LL,                     s_MouseDelegate,                     /* Marshal.GetHINSTANCE(Assembly.GetExecutingAssembly().GetModules()[0]),

Make Dynamics CRM smarter with Chatbot - LUIS - QnA Maker

Hello, Today, I would like to discuss with you making Dynamics CRM intelligent within our daily business. Suppose that your local Chatbot top of Microsoft Bot Framework welcomes your customer (  Create simple Chatbot solution over Microsoft Bot Framework in visual Studio 2017 - Step By Step instruction ) and receives text messages in human-readable format then converts it to machine-readbable (  LUIS - Language Understanding Intelligent Service - step by step instruction ) and finally triggers an operation in Dynamics CRM  or Azure Bot service receives customer questions then answers them through Knowledge Articles of Dynamics CRM without reaching out call center agent or customer representative (  Step by step instruction of QnA Maker configuration then Train it based on Dynamics CRM Sample Data Knowlegedbased artciles ) Here is high level picture of above scenarios;  Scenario 1 (process line with blue arrows): Customer connects to company portal or selfcare por