Created a digital twin and also configure the data history connection, but unable to see the graph in data history explorer.

Rakesh Turpu 60 Reputation points
2023-06-20T08:36:08.4666667+00:00

Hi Team,

I have created a digital twin and enabled eventhub within the digital twin endpoint, created Azure Data explorer and mapped the event hub and azure data explorer within the digital twin data history. After mapping this graph is enabled in the digital twin. But seeing SWW error, not sure what is the issue (refer below image).

User's image

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.
224 questions
Azure Data Explorer
Azure Data Explorer
An Azure data analytics service for real-time analysis on large volumes of data streaming from sources including applications, websites, and internet of things devices.
508 questions
{count} votes

Accepted answer
  1. LeelaRajeshSayana-MSFT 13,966 Reputation points
    2023-06-23T01:19:08.68+00:00

    Hi @Rakesh Turpu Greetings! I have followed the steps provided in the article Create a data history connection for Azure Digital Twins and I could get the data appear in the Dat history explorer graph without any issues. Please refer the below image where I get the history of a property on a Digital Twin. I appreciate it if you can follow this tutorial and see if you can get the history connection to work.

    User's image

    Since you have confirmed that the data is being flown into your ADX database, I believe this might be an permission issue between ADX and data history connection. The Set up data history connection section mentions that the system managed identity needs to be enabled for Digital Twins for the connection to work. I have further provided the following set of permissions during the creation.

    Screenshot 2023-06-22 211136

    Even though the article mentions these permissions can be removed, I appreciate it if you can review these permissions and let me know if enabling this helped with the rendering.

    Another note that, even though the Azure Digital Twins data history mentioned about API versioning, the tutorial I have followed did not explicitly refer to any API.

    Hope this helps. Please let us know if you still run into issues or need further assistance.

    Resolution

    The issue was identified to be with the ADX cluster name. The ADX cluster name created has dashes in it which prevented it from fetching the URL into the connection. Product team has fixed the issue through PR.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful