Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Home
  • Knowledge base
  • Contact Us
  • Home
  • Tutorials & Guides
  • Azure
  • Azure IoT Hub & Device Provisioning Service

Getting device Connection String from Azure IoT

How to get and create a device Connection String from Azure IoT Hub

Written by Mads Mikkelsen

Updated at April 8th, 2021

Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Installation & Technical information
    Introduction SIA Connect Standalone SIA Connect ANY-Ware Cellular & WiFi connectivity
  • Configuration in the Web UI
    Getting started with the UI Connectors Instances Items Mapping Data System Network Tools & Add-ons DigiCert IoT Trust Manager
  • Connectors
    Siemens S7 Azure IoT Ethernet/IP Mitsubishi MELSEC OPC-UA Server SQL MQTT Omron Host Link REST API Omron FINS Keyence Beckhoff TwinCAT BACnet Virtual OPC-UA Client MS SQL File M-Bus Modbus
  • Scripting & Variables
    Data formatting
  • Developers
    API documentation Shadow API
  • Tutorials & Guides
    InfluxDB AWS IoT Core - Amazon Web Services Microsoft Power BI KaaIoT Siemens S7 AVEVA Insight SIA Connect Demo Rack Grafana Azure
  • General
+ More

Articles in this section:

  • Creating a IoT Hub and device in Azure
  • Getting device Connection String from Azure IoT
  • Connecting PLCs to Azure IoT Hub
  • Monitoring IoT Hub events, messages & metrics
  • How to get started with Azure Device Provisioning Service in IIoT
  • Understanding telemetry message and properties in Azure IoT

A Connection String is the key of getting access to read and write from your Azure IoT Hub's devices.
In order to setup an Azure IoT Hub connection from SIA you will need to identify the Connection String for the given IoT Device you want make a tunnel from other SIA instances and to the IoT Hub Device.

If you haven't created a IoT Hub and a new device in your Azure yet Microsoft have written a very useful guide: 

  • Use the Azure portal to create an IoT Hub | Microsoft Docs 


Getting the Connection String of a IoT device

To identify and get your Connection String do the following in your Azure portal:

  • Login to https://portal.azure.com using your Azure account
  • Goto Home → IoT Hub
    mceclip0.png


  • Select the IoT Hub instance where the IoT device you want to communicate with are created. Go into the instance
    mceclip1.png

  • Go the menu itemIoT devices and select the IoT device instance you want SIA to communicate with. Go into the device instance
    mceclip2.png

  • Locate and identify the Connection String and press the copy button. You can also view the Connection String and copy it manually by pressing the "eye" icon.
    mceclip3.png

  • The Connection String are now in the clipboard and you can copy it into the Azure IoT Hub instance on SIA.
    Configuring Azure IoT Hub instance to SIA


Now when the Connection String are identified in Azure IoT Hub for the device you want to create a tunnel to next step is to set it up in SIA.
Check out this article Azure - Instance & item setup for additional information.

find connection string connectionstring locate connection string end point iot hub

Was this article helpful?

Yes
No
Give feedback about this article

Related Articles

  • Azure - Instance & item setup
  • Connecting PLCs to Azure IoT Hub

0
0
Expand