Summary
When referencing LicenseManagerObjects.dll to script actions in Directory Server using Workflow scripting activities, you may see an error due to an License Manager Objects (LMO) dependency.
Cause
LMO 10.4 and higher has a dependency on Newtonsoft.Json.dll version 11. If the LMO version does not match the Newtonsoft.Json.dll in the Windows GAC as per the LMO dependency or the copy in the Workflow install folder, then Workflow will give an error.
Resolution
When using LMO in Workflow custom activities, do the following: