We have an onprem Dynamics 2016 and an on prem SharePoint 2013. The plugin will be running a query into SharePoint using the SharePoint Web Client dll to see if a folder exists in a particular library and if it does not creates that folder.
Plugin isolation mode is "None" and assembly is located in the "Database". The account being used to query SharePoint is the System Administrator account for the whole SharePoint site.
Error:
An unhandled exception of type 'System.Security.SecurityException' occurred in mscorlib.dll
Additional information: Request for the permission of type 'System.Security.Permissions.SecurityPermission, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
What steps should we go through in order to determine why we do not have access?
Diane