Integrating modelId from Azure Digital Twin into Time Series Insights

Matas Kaucikas 21 Reputation points

Hi there,

What I'm currently trying to get my head around is the ability to integrate the model Id from an Azure Digital Twin instance within Time Series Insights. I understand that Time Series Insights (Gen2) accepts the datatype of a string, however when I try to initiate that state, it doesn't appear within TSI when a connection is successfully established with Azure Digital Twin and Time Series Insights.


Is there potentially a way to define this 'modelId' so that it can be viewed as an instance or even as a hierarchy within Time Series Insights, so that I don't manually have to this step?

Many thanks,


Azure Digital Twins
Azure Digital Twins
An Azure platform that is used to create digital representations of real-world things, places, business processes, and people.
219 questions
Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,113 questions
Azure Time Series Insights
Azure Time Series Insights
An Azure internet of things (IoT) analytics platform to monitor, analyze, and visualize industrial IoT analytics data at scale.
74 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Radhakrishnan Srinivasan 31 Reputation points Microsoft Employee

    @Matas Kaucikas , I am assuming you are trying to insert modelID as one of the instance field of an instance in TSI through our ingestion service.
    If that is the case, unfortunately we cant insert instance fields through our ingestor service. Instead you can call our API to insert instance field and its values. The API could be called from your "ProcessDTUpdatetoTSI" function or using upload JSON option in TSI model page.
    In either case, you cant upload the DTDL model directly as you are trying in the screenshot provided by you. TSI has its own syntax please refer to the attachment for details

    Please refer to the following documentation for information about TSI model, Patch Syntax and API details!

    Please let me know if I could be of further help!

    1 person found this answer helpful.
    0 comments No comments

  2. Matas Kaucikas 21 Reputation points

    @Radhakrishnan Srinivasan , Thank you for the clarification in terms of the process of implementing ADT models into TSI directly.

    My next question would really be if there's a way to convert the DTDL model into a TSI compatible syntax? For e.g. adding the put parameters within the DTDL model and uploading the JSON via TSI directly or is there's further adjustments that would need to be made?

    Do let me know if this makes sense!