Basically with the proxy setup when data is pushed to Event hub. You will receive the below exception. in agent service log file.

ERROR - 1.0.6020.2507. TransmissionManager: TransmitData. System.AggregateException: One or more errors occurred. ---> Microsoft.ServiceBus.Messaging.MessagingCommunicationException: An attempt was made to access a socket in a way forbidden by its access permissions ---> System.Net.Sockets.SocketException: An attempt was made to access a socket in a way forbidden by its access permissions

All you need to do for transmitting data to Event hub with a proxy set up is just by following below simple steps.

  1. Go to Internet options -> Connections ->LAN settings. And update the proxy details in Internet Explorer

    Proxy%20SetUp.png


  2. Add the default proxy setting details in app config file
  3. In BizTalk360 cloud you need to add this in <configuration >section in Agent.Service .exe.config file.

    <system.net>

    <defaultProxy useDefaultCredentials="true" />

    </system.net>

  4. Restart the corresponding windows service which push data to hub

So what the above configuration means is to use the default credentials for the account from Internet Explorer. Which is ok if the account has been logged into IE, Google or Edge, Firefox these setting will be populated by default.