Stream industrial data from Ignition to Azure IoT Hub for advanced cloud analytics and enterprise dashboards
Ignition Azure IoT Hub Integration: Enterprise Cloud Analytics
Connect Ignition SCADA to Microsoft Azure IoT Hub using MQTT Transmission. Leverage Azure Stream Analytics, Power BI, and Azure Digital Twins for enterprise-grade industrial intelligence.
Overview
Ignition Azure IoT Hub integration enables seamless streaming of industrial data from your SCADA environment to Microsoft's enterprise cloud platform. By leveraging the MQTT Transmission module, Ignition publishes real-time tag data directly to Azure IoT Hub, where it can be processed, stored, and visualized using the full Azure ecosystem.
This integration unlocks powerful capabilities including Azure Stream Analytics for real-time data processing, Power BI for interactive dashboards, Azure Digital Twins for virtual facility modeling, and Azure SQL or Blob Storage for long-term data retention. Organizations gain enterprise-level visibility across all manufacturing operations with built-in scalability and security.
Key Benefits
- Stream real-time industrial data from Ignition to Azure IoT Hub via MQTT
- Process millions of events per second with Azure Stream Analytics
- Build interactive enterprise dashboards with Power BI
- Create digital twins of your manufacturing facilities
- Scale seamlessly from a single plant to a global operation
- Leverage Azure's enterprise-grade security and compliance certifications
Ignition Azure IoT Hub Architecture
Ignition publishes industrial data through MQTT Transmission to Azure IoT Hub. From there, Azure Stream Analytics processes the data in real time, routing it to Power BI for dashboards, Azure SQL for structured storage, and Blob Storage for raw data archival.
┌─────────────┐ ┌──────────────────┐ ┌─────────────────┐
│ Ignition │────>│ MQTT Transmission│────>│ Azure IoT Hub │
│ Gateway │ │ Module │ │ │
└─────────────┘ └──────────────────┘ └────────┬────────┘
│
v
┌─────────────────┐
│ Stream Analytics │
│ (Real-time) │
└────────┬────────┘
│
┌────────────────────────┼────────────────────────┐
v v v
┌─────────────┐ ┌──────────────┐ ┌──────────────┐
│ Power BI │ │ Azure SQL │ │ Blob Storage │
│ Dashboards │ │ Database │ │ (Archive) │
└─────────────┘ └──────────────┘ └──────────────┘
Configuration Steps
Create Azure IoT Hub and Register Device
Set up an Azure IoT Hub instance in the Azure portal and register your Ignition gateway as an IoT device. This provides the connection string and SAS token needed for secure MQTT communication between Ignition and Azure.
# Azure CLI: Create IoT Hub and register device
az iot hub create \
--name ignition-iothub \
--resource-group ignition-rg \
--sku S1 \
--partition-count 4
# Register Ignition gateway as IoT device
az iot hub device-identity create \
--hub-name ignition-iothub \
--device-id ignition-gateway-01 \
--auth-method shared_private_key
# Retrieve the device connection string
az iot hub device-identity connection-string show \
--hub-name ignition-iothub \
--device-id ignition-gateway-01 \
--output tsvConfigure MQTT Transmission with SAS Token
Install the MQTT Transmission module in Ignition and configure the connection to Azure IoT Hub. Azure IoT Hub uses MQTT with SAS token-based authentication over TLS 1.2, requiring specific username and password formatting.
# MQTT Transmission Settings in Ignition Gateway
# Server URL:
# ssl://ignition-iothub.azure-devices.net:8883
#
# Username:
# ignition-iothub.azure-devices.net/ignition-gateway-01/?api-version=2021-04-12
#
# Password:
# SharedAccessSignature sr=ignition-iothub.azure-devices.net
# %2Fdevices%2Fignition-gateway-01&sig=<GENERATED_SAS>&se=<EXPIRY>
# Generate SAS Token via Azure CLI
az iot hub generate-sas-token \
--hub-name ignition-iothub \
--device-id ignition-gateway-01 \
--duration 86400
# MQTT Transmission Tag Tree configuration:
# Topic: devices/ignition-gateway-01/messages/events/
# QoS: 1 (At least once)
# Publish rate: 1000msSet Up Message Routing in Azure
Configure Azure IoT Hub message routing to direct incoming Ignition data to Stream Analytics for real-time processing. Stream Analytics queries transform and aggregate the raw MQTT payloads, then output to multiple downstream services simultaneously.
-- Azure Stream Analytics Query
-- Process incoming Ignition tag data from IoT Hub
-- Real-time aggregation to Power BI
SELECT
IoTHub.ConnectionDeviceId AS DeviceId,
System.Timestamp() AS EventTime,
AVG(CAST(temperature AS float)) AS AvgTemperature,
MAX(CAST(pressure AS float)) AS MaxPressure,
COUNT(*) AS EventCount
INTO [powerbi-output]
FROM [iothub-input]
TIMESTAMP BY EventEnqueuedUtcTime
GROUP BY
IoTHub.ConnectionDeviceId,
TumblingWindow(minute, 5)
-- Archive all raw data to Blob Storage
SELECT *
INTO [blob-archive-output]
FROM [iothub-input]
-- Alerts to Azure SQL for high-priority events
SELECT
IoTHub.ConnectionDeviceId AS DeviceId,
System.Timestamp() AS AlertTime,
temperature, pressure, status
INTO [sql-alerts-output]
FROM [iothub-input]
WHERE CAST(temperature AS float) > 85.0
OR CAST(pressure AS float) > 150.0Connect to Power BI for Dashboards
Create interactive Power BI dashboards that display real-time manufacturing data streamed from Ignition through Azure. Power BI streaming datasets receive aggregated data from Stream Analytics, enabling live tiles and automatic refresh for operational visibility.
# Power BI REST API: Create streaming dataset
# POST https://api.powerbi.com/v1.0/myorg/datasets
{
"name": "Ignition Real-Time Metrics",
"defaultMode": "PushStreaming",
"tables": [
{
"name": "ProductionMetrics",
"columns": [
{ "name": "DeviceId", "dataType": "String" },
{ "name": "EventTime", "dataType": "DateTime" },
{ "name": "AvgTemperature", "dataType": "Double" },
{ "name": "MaxPressure", "dataType": "Double" },
{ "name": "EventCount", "dataType": "Int64" }
]
}
]
}
# In Power BI Desktop:
# 1. Add "Azure Stream Analytics" as output in your SA job
# 2. Select your Power BI workspace and dataset
# 3. Create dashboard tiles using real-time dataset
# 4. Pin visuals for live monitoringKey Features
Device Provisioning Service
Automatically register and configure multiple Ignition gateways at scale using Azure IoT Hub Device Provisioning Service. Zero-touch enrollment simplifies deployment across distributed manufacturing sites.
Azure Digital Twins
Build comprehensive digital twin models of your manufacturing facilities using real-time data from Ignition. Model relationships between equipment, processes, and environments for advanced simulation and optimization.
Stream Analytics
Process millions of industrial events per second with Azure Stream Analytics. Apply real-time transformations, aggregations, and anomaly detection to Ignition data before routing to downstream services.
Power BI Integration
Deliver interactive enterprise dashboards with Power BI streaming datasets. Combine real-time Ignition data with business metrics for unified operational and executive reporting across the organization.
Use Cases
Manufacturing Analytics Platform
A global manufacturer streams production data from 50+ Ignition gateways to Azure IoT Hub, processes it through Stream Analytics, and delivers real-time KPIs to plant managers via Power BI dashboards, reducing downtime by 30%.
Digital Twin Implementation
A water utility creates digital twins of its treatment plants using Azure Digital Twins fed by Ignition SCADA data. Operators simulate process changes in the virtual environment before applying them to physical equipment, improving efficiency by 20%.
Enterprise Executive Dashboards
A pharmaceutical company aggregates Ignition data from multiple production lines into Azure, combining it with ERP and quality data in Power BI for executive-level visibility. Compliance reporting is automated, saving 200+ hours per quarter.
Technologies
Azure IoT Hub
Managed cloud service for secure, bidirectional communication between IoT devices and Azure. Supports MQTT, AMQP, and HTTPS protocols with built-in device management and provisioning.
MQTT Transmission
Cirrus Link module for Ignition that publishes tag data over MQTT protocol. Enables efficient, lightweight data transmission from industrial environments to cloud platforms.
Azure Stream Analytics
Real-time analytics service that processes millions of events per second from IoT Hub. Supports SQL-like queries for filtering, aggregating, and transforming streaming data.
Power BI
Microsoft business intelligence platform for interactive data visualization and reporting. Streaming datasets enable real-time dashboards connected to Azure Stream Analytics.
Azure Digital Twins
Platform for creating comprehensive digital models of physical environments. Integrates with IoT Hub to maintain live digital replicas of manufacturing facilities and equipment.
Frequently Asked Questions
Find answers to common questions about this integration.
Ready to Get Started?
Contact our team of experts to discuss your integration needs and get a customized solution.