Comment on page


This example Data Stream demonstrates how to use this Listener to monitor for changes on the Azure Digital Twin's Pump model values using a Relay connection.
Refer to configuration to understand all configuration options of this Agent.

Step 1: Add the Agent

Drag the Azure Digital Twin Listener onto the canvas and rename it. Link the output endpoint to the printer and save the Data Stream.

Step 2: Configure General

Select the Agent and click Configure. In this case, keep the default Collection

Step 3: Configure Authentication

Tick Use Variables and select the Authentication settings: Subscription Id, Tenant Id, Client Id, and Client Secret.

Step 4: Configure Digital Twin Service

Select the Host URL and Model for the Digital Twin event route. In this case, select Pump as the Model.

Step 5: Configure Relay

Select the Relay connection settings for the endpoint: Namespace, Connection, Access policy name, and Access Key.

Step 6: View Results

Apply the changes, save the Data Stream and publish it.
Let's look at the Live Data View. Observe that changes to the Pump model cause the Digital Twin's details to be printed.
Security Key
Data Stream
See the Import, Export, and Clone - XMPro article for steps to import a Data Stream.