title: Using Azure IoT Edge and OPC UA without Connected Factory solution accelerator
body: <p>First of all I want to pose my question and elaborate further down this post:</p>
  
  <p><strong>Is it possible to use the an Azure IoT Edge Gateway for OPC UA servers without the Connected Factory solution accelerator and how is it done?</strong></p>
  
  <p>I know, this may sound strange but the Connected Factory solution doesn't fulfill my needs for the most aspects of my project, except for the ability to connect OPC UA servers.</p>
  
  <p>Now to elaborate this further I need to outline my project.
  I have several OPC UA servers set up in my LAN and a Windows 10 machine running as Azure gateway. In Azure there are the ressources IoT-Hub and Time Series Insights activated. Additionally there is a WebApp which extracts data from TSI and visualizes them. Using OPC publisher on the gateway this works just fine.
  Both, OPC publisher and proxy are running natively on Windows and not in a docker container.</p>
  
  <p>If I use the Connected Factory solution accelerator I can add and browse the publisher. However I can't connect to any other OPC UA server on the network, but this isn't the problem as I won't use Connected Factory after all. The real challenge here is how to connect to the OPC proxy without the Connected Factory solution accelerator.</p>
  
  <p>The available tutorial uses the Connected Factory solution accelerator and has publisher as well as proxy running in a docker container. (<a href="https://docs.microsoft.com/de-de/azure/iot-accelerators/iot-accelerators-connected-factory-gateway-deployment" rel="nofollow noreferrer">https://docs.microsoft.com/de-de/azure/iot-accelerators/iot-accelerators-connected-factory-gateway-deployment</a> and following)</p>
  
  <p>And the OPC proxy github repository doesn't discuss this at all. (<a href="https://github.com/Azure/iot-edge-opc-proxy" rel="nofollow noreferrer">https://github.com/Azure/iot-edge-opc-proxy</a>)</p>
  
  <p>Even the issues on all relevant projects do not discuss this. (<a href="https://github.com/Azure/iotedge" rel="nofollow noreferrer">https://github.com/Azure/iotedge</a>, <a href="https://github.com/Azure/iot-edge-opc-proxy" rel="nofollow noreferrer">https://github.com/Azure/iot-edge-opc-proxy</a>)</p>
  
  <p>I have absolutely no idea how to implement this functionality. The architecture overview of the solution accelerator (<a href="https://docs.microsoft.com/de-de/azure/iot-accelerators/iot-accelerators-connected-factory-sample-walkthrough" rel="nofollow noreferrer">https://docs.microsoft.com/de-de/azure/iot-accelerators/iot-accelerators-connected-factory-sample-walkthrough</a>) briefly mentions how this works in the solution accelerator but does not explain how to implement OPC Proxy and the OPC UA Stack in a custom WebApp.</p>
  
  <p>I'm desperately in need of help and would appreciate it, if someone could give me a hint on how to solve this issue. I will gladly provide more information if needed. And surely I will post the solution if I get this to work.</p>
  
  <p>Thanks in advance and have a nice day</p>
  
  <p>Daniel</p>