Skip to main content
How to set up an Azure Connector

Use an Azure Connector to send data from your device to Azure IoT Hub. Here’s a short guide on how to create it and add it to a SIM.

H
Written by Håkon Westh-Hansen
Updated over a month ago

Requirements

  1. An active Azure IoT Hub instance

  2. An Onomondo SIM

Step 1: Add Device

Go to 'Devices' in the sidebar of the IoT Hub instance, and click 'Add Device'.

auzre_create_device1

​​

Step 2: Device ID

Enter a name in the 'Device ID' field, then click 'Save'.

Step 3: Select the New Device

Click your newly created device.

auzre_create_device3

Step 4: Primary Connection String

Copy the 'Primary Connection String'.

auzre_create_device4

​​

Step 5: Create a New Connector

  1. Go to https://app.onomondo.com/connectors and create a 'New connector'

  2. Name the Connector

  3. In the 'Connector type' dropdown, choose Microsoft Azure IoT

  4. Paste the connection string from the previous step into the ‘Connection string’ field.

    create_azure_connector1

Step 6: Add the Connector to a SIM

  1. Find the SIM using the Dashboard search or on SIMs page

  2. Go to the SIM's page

  3. Click the edit SIM button

  4. Add the Connector

    add_azure_connector_sim

Now all TCP data from the device will be sent to the Device endpoint on your Azure Portal.

Only Supports TCP Protocol

If you want to send data to Azure using UDP packets through a Connector, consider setting up a Azure DPS connector instead. You can still send UDP packets to other servers by bypassing the Connector with a passthrough rule (see below).

You can customize which data is ignored by the Connector by setting up passthrough rules.

Did this answer your question?