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
Copy file name to clipboardExpand all lines: articles/iot-operations/discover-manage-assets/howto-use-management-actions.md
+6-4Lines changed: 6 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ author: dominicbetts
5
5
ms.author: dobett
6
6
ms.service: azure-iot-operations
7
7
ms.topic: how-to
8
-
ms.date: 03/18/2026
8
+
ms.date: 03/26/2026
9
9
ai-usage: ai-assisted
10
10
11
11
#CustomerIntent: As an IT or OT operator, I want to enable management actions on my Azure IoT Operations instance so that I can invoke operations such as method calls, writes, and reads on southbound assets from the cloud or edge.
@@ -41,7 +41,9 @@ The `az iot ops mgmt-actions enable` command in the quickstart script provisions
41
41
| Event Grid data flow endpoint | Connects the Azure IoT Operations data flow runtime to the Event Grid namespace. |
42
42
| Request data flow graph | Routes messages from Event Grid to the MQTT broker, applying a WASM module to rewrite topic paths. |
43
43
| Response data flow | Routes responses from the MQTT broker back to Event Grid. |
44
+
| Managed identity | If you don't specify a user-assigned managed identity, the command creates a system-assigned managed identity for the data flow endpoint and Azure Device Registry namespace. If the Azure Device Registry namespace doesn't have a system-assigned managed identity enabled, the `az iot ops mgmt-actions enable` command enables one to allow authentication with the Event Grid namespace. |
44
45
| Role assignments | Grants the data flow identity and the Azure Device Registry namespace the required permissions. |
46
+
| Management endpoint | A management endpoint for the Azure Device Registry namespace linking it to the Event Grid namespace. |
45
47
46
48
```azurecli
47
49
az iot ops mgmt-actions enable \
@@ -139,7 +141,7 @@ Management actions use two data flows and Azure Event Grid to connect a cloud cl
139
141
140
142
When you execute a management action, the following sequence occurs:
141
143
142
-
1. The `az iot ops mgmt-actions execute` command publishes the action request as an MQTT message to the Event Grid namespace. The message is published to a topic in the topic space created by the quickstart script, with the asset name, management group, and action name as subtopics.
144
+
1. The `az iot ops mgmt-actions execute` command calls the `executeAction` endpoint of the asset in the Azure Device Registry namespace. The namespace then publishes the action request for the asset as an MQTT message to the Event Grid namespace. The message is published to a topic in the topic space created by the quickstart script, with the asset name, management group, and action name as subtopics.
143
145
144
146
1. The **request data flow** subscribes to the `actions/requests/<instance-name>/#` topic on the Event Grid namespace. When a message arrives, the data flow passes it through a WASM graph module that strips the Event Grid topic prefix and rewrites the topic to the internal MQTT broker format.
145
147
@@ -155,7 +157,7 @@ After the southbound asset executes the operation and returns a response to the
155
157
156
158
1. The **response data flow** subscribes to `actions/responses/<instance-name>/#` on the internal broker and forwards the message to the Event Grid namespace.
157
159
158
-
1. The Event Grid namespace delivers the response to the waiting client, completing the request-response cycle.
160
+
1. The Azure Device Registry namespace subscribes to the response topic space in the Event Grid namespace. When the namespace receives the response message, it notifies the original `executeAction` caller to complete the request-response cycle.
159
161
160
162
For details on how the connector interacts with OPC UA servers and the supported action types, see [Control OPC UA servers](howto-control-opc-ua.md).
161
163
@@ -175,4 +177,4 @@ az iot ops mgmt-actions disable \
175
177
-[Connect to MQTT endpoints](howto-use-mqtt-connector.md)
176
178
-[Connect to ONVIF-compliant cameras](howto-use-onvif-connector.md)
177
179
-[Understand assets and devices](concept-assets-devices.md)
0 commit comments