CRM 2013 - How to set a Proxy server for plugins to run with? RRS feed

  • Question

  • We have several plugins that need to query web services on the Internet, and I need them to go through a specific proxy server.  How do I set this without hard coding the proxy into the plugins?  I've tried adding the proxy to the machine.config, I've updated the web.config in the CRMWeb folder, I've even added the proxy to IE under the users used by the App Pool Identity then used netsh winhttp to make this a system proxy.  None of these have allowed my registered plugins to access the internet.

    Any thoughts?  Thanks.

    Friday, April 24, 2015 2:29 PM

All replies

  • The way I'd do it is to not rely on .config files, but instead set it programmatically in the plugin, and either store the proxy configuration data in the configuration string for the plugin registration step, or store it in some custom configuration entity in CRM

    Microsoft CRM MVP - http://mscrmuk.blogspot.com/ http://www.excitation.co.uk

    Friday, April 24, 2015 6:36 PM