Walkthrough: Configure assembly security for an offline plug-in
Applies To: Dynamics CRM 2013
The Microsoft Dynamics CRM platform applies an additional security restriction to registered offline plug-in assemblies. When Microsoft Dynamics CRM for Microsoft Office Outlook with Offline Access is installed, an AllowList key is added to the system registry on the client computer. For each assembly containing an offline plug-in that you register, you must add a registry sub-key under the AllowList key with the key name derived from the assembly's public key token. Failure to add this key results in the offline plug-in not being executed by the platform even though the plug-in is registered. This walkthrough describes how to add this sub-key for a plug-in assembly.
Get the public key token
Load the assembly containing the offline plug-in into the Plug-in Registration tool. For more information about how to use the tool, see Walkthrough: Register a plug-in using the plug-in registration tool.
Select the plug-in assembly in the tree view of the tool.
Copy (Ctrl+C) the value in the Public Key Token field into the paste buffer.
Add an AllowList key
Run the registry editor by selecting Start, then select Run and type regedit.exe.
In the tree view pane, navigate to the AllowList key. The complete path of the key is HKEY_CURRENT_USER\Software\Microsoft\MSCRMClient\AllowList.
Select the AllowList key and right click to display the context menu.
Select New then click Key to create a new sub-key.
Paste the public key token value into the name of the new sub-key.
Close the registry editor.