Hello All,
i'm writing a plugin to move files between folders and experiencing below error. Code is working fine as a console but throwing exception when try to run as a Dynamics CRM Plug-in. i'm new to sharepoint dont know exactly which version to use, i tried with both 16 & 15 SharePoint Online CSOM DLL's but no luck. Any help would be appreciated. Thanks in Advance.
Error:
Unable to cast object of type 'System.Collections.Generic.Dictionary`2[System.String,System.Object]' to type 'Microsoft.SharePoint.Client.File'.