The Deployment Manager deploys MS Dynamics 365 solutions as partial trust for both on premise and online installations.
After deployment, Dynamics 365 will not be able to access the server where the Cleanser and Matcher are running if the server is being accessed via an IP address. You may get an error message similar to the following:
Request for the permission of type 'System.Net.WebPermission,
System, Version=4.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089' failed.: at
System.Security.CodeAccessSecurityEngine.Check(Object demand,
StackCrawlMark& stackMark, Boolean isPermSet) at
System.Security.CodeAccessPermission.Demand() at
System.Net.HttpWebRequest.CheckConnectPermission(Uri uri, Boolean
needExecutionContext) at System.Net.HttpWebRequest..ctor(Uri
uri, ServicePoint servicePoint) at
System.Net.HttpRequestCreator.Create(Uri Uri) at
System.Net.WebRequest.Create(Uri requestUri, Boolean useUriBase) at
System.Web.Services.Protocols.WebClientProtocol.GetWebRequest(Uri uri) at
System.Web.Services.Protocols.HttpWebClientProtocol.GetWebRequest(Uri uri) at
System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String
methodName, Object[] parameters) at
Trillium.Crm.Plugin.Main.CleanserSingleWS.CleanserSingleWS.Cleanse
To correct this problem, you will need to change the ServerName in TSS Web Resource from an IP address to a fully qualified domain name. If there is no domain name, then add an entry to ./etc/hosts to map the IP address to a host name.