You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -4,7 +4,7 @@ description: Use the operations experience web UI or the Azure CLI to configure
4
4
author: dominicbetts
5
5
ms.author: dobett
6
6
ms.topic: how-to
7
-
ms.date: 10/28/2025
7
+
ms.date: 12/09/2025
8
8
9
9
10
10
#CustomerIntent: As an OT user, I want configure my Azure IoT Operations environment so that data can flow from my OPC UA servers through to the MQTT broker.
@@ -33,7 +33,7 @@ To configure devices and assets, you need an instance of Azure IoT Operations.
Your IT administrator must have configured the OPC UA connector template for your Azure IoT Operations instance in the Azure portal.
36
+
Your IT administrator must configure the OPC UA connector template for your Azure IoT Operations instance in the Azure portal.
37
37
38
38
An OPC UA server that you can reach from your Azure IoT Operations cluster. If you don't have an OPC UA server, use the OPC PLC simulator from the Azure IoT Operations samples repository.
39
39
@@ -48,7 +48,7 @@ An Azure IoT Operations deployment can include a sample OPC PLC simulator. To cr
48
48
:::image type="content" source="media/howto-configure-opc-ua/devices.png" alt-text="Screenshot that shows the devices page in the operations experience." lightbox="media/howto-configure-opc-ua/devices.png":::
49
49
50
50
> [!TIP]
51
-
> You can use the filter box to search for devices.
51
+
> Use the filter box to search for devices.
52
52
53
53
1. On the **Basics** page, enter a device name and select **New** on the **Microsoft.OpcUa** tile to add an endpoint for the device:
To learn more, see [az iot ops ns device](/cli/azure/iot/ops/ns/device).
80
80
81
+
# [Bicep](#tab/bicep)
82
+
83
+
Deploy the following Bicep template to create a device with an inbound endpoint for the OPC UA connector. Replace the placeholders `<AIO_NAMESPACE_NAME>` and `<CUSTOM_LOCATION_NAME>` with your Azure IoT Operations namespace name and custom location name respectively:
To manage the trusted certificates list for the connector for OPC UA, see [Manage certificates for external communications](../secure-iot-ops/howto-manage-certificates.md#manage-certificates-for-external-communications).
106
153
107
-
When you create the inbound endpoint you can also select:
154
+
When you create the inbound endpoint, you can also select:
108
155
109
156
| Option | Type | Description |
110
157
| ------ | ---- | ----------- |
@@ -116,14 +163,14 @@ When you create the inbound endpoint you can also select:
116
163
117
164
# [Operations experience](#tab/portal)
118
165
119
-
To add an asset in the operations experience:
166
+
To add an asset in the operations experience, follow these steps:
120
167
121
168
1. Select the **Assets** tab. Before you create any assets, you see the following screen:
122
169
123
170
:::image type="content" source="media/howto-configure-opc-ua/create-asset-empty.png" alt-text="Screenshot that shows an empty Assets tab in the operations experience." lightbox="media/howto-configure-opc-ua/create-asset-empty.png":::
124
171
125
172
> [!TIP]
126
-
> You can use the filter box to search for assets.
173
+
> Use the filter box to search for assets.
127
174
128
175
1. Select **Create asset**.
129
176
@@ -168,7 +215,7 @@ A dataset defines where the connector sends the data it collects from a collecti
168
215
### Add individual data points to a dataset
169
216
170
217
> [!IMPORTANT]
171
-
> The data point name `_ErrorMessage` is reserved and should not be used.
218
+
> The data point name `_ErrorMessage` is reserved and shouldn't be used.
172
219
173
220
Now you can define the data points associated with the dataset. To add OPC UA data points:
174
221
@@ -232,6 +279,77 @@ When you create an asset by using the Azure CLI, you can define:
232
279
- Event specific values for sampling publishing interval, and queue size.
233
280
- The observability mode for each data point and event
234
281
282
+
# [Bicep](#tab/bicep)
283
+
284
+
Deploy the following Bicep template to create an asset that publishes messages from the device shown previously to an MQTT topic. Replace the placeholders `<AIO_NAMESPACE_NAME>` and `<CUSTOM_LOCATION_NAME>` with your Azure IoT Operations namespace name and custom location name respectively:
@@ -263,7 +381,7 @@ Now you can define the events associated with the asset. To add OPC UA events in
263
381
264
382
### Event filters
265
383
266
-
Define event filters to customize the information that's included in event notifications from the server. By default, the server sends a selection of standard fields in event notifications. The exact selection is determined by the server for the event type. For example:
384
+
Define event filters to customize the information that's included in event notifications from the server. By default, the server sends a selection of standard fields in event notifications. The server determines the exact selection for each event type. For example:
267
385
268
386
```json
269
387
{
@@ -288,7 +406,7 @@ The following screenshot shows an example event filter:
288
406
289
407
:::image type="content" source="media/howto-configure-opc-ua/event-filter.png" alt-text="A screenshot that shows how to configure an event filter for an OPC UA asset." lightbox="media/howto-configure-opc-ua/event-filter.png":::
290
408
291
-
The complete event filter shown in the previous screenshot defines four output fields:
409
+
The complete event filter shown in the preceding screenshot defines four output fields:
292
410
293
411
| Browse path | Type definition ID | Field ID |
294
412
| --- | --- | --- |
@@ -299,7 +417,7 @@ The complete event filter shown in the previous screenshot defines four output f
299
417
300
418
The three properties for a filter row are:
301
419
302
-
-_Browse path_. Required value that identifies the source filed to include in the forwarded event notification.
420
+
-_Browse path_. Required value that identifies the source field to include in the forwarded event notification.
303
421
-_Type definition ID_. Optional value that specifies the OPC UA type definition of the source field.
304
422
-_Field ID_. Optional value that specifies the name to use for the field in the forwarded event notification. If you don't specify a field ID, the original field name is used.
305
423
@@ -316,7 +434,7 @@ The resulting message forwarded by the connector now looks like the following:
316
434
317
435
### Review your changes
318
436
319
-
Review your asset and OPC UA data point and event details and make any adjustments you need:
437
+
Review your asset and OPC UA data point and event details. Make any adjustments you need:
320
438
321
439
:::image type="content" source="media/howto-configure-opc-ua/review-asset.png" alt-text="A screenshot that shows how to review your asset, data points, and events in the operations experience." lightbox="media/howto-configure-opc-ua/review-asset.png":::
322
440
@@ -387,6 +505,99 @@ To delete a data point, use the `az iot ops ns asset opcua dataset point remove`
387
505
388
506
You can manage an asset's events by using the `az iot ops ns asset opcua event` commands.
389
507
508
+
# [Bicep](#tab/bicep)
509
+
510
+
To retrieve an asset by using Bicep, use a template like the following example:
0 commit comments