How to send Azure IoT Central data to Azure Digital Twin – Data ingestion workflow

Issue

This Content is from Stack Overflow. Question asked by Init5

for a demo, I would like to send data from Azure IoT Central to Azure Digital Twins similar to what I was able to successfully implement in the following scenario described here (https://learn.microsoft.com/en-us/azure/digital-twins/how-to-ingest-iot-hub-data).

In the above description, an Azure Function in C# is used, which is bound to an IoT Hub via an Event Grid Trigger.

Azure IoT Central does not have an event grid connection and the comments from here (https://learn.microsoft.com/en-us/answers/questions/266039/how-to-trigger-an-event-grid-from-an-iot-central-r.html) do not really help me.

Isn’t there a simple and more feasible way to connect the two?

Would the following be possible?

  1. IoT Central receives the data from a device and forwards it as an export to a webhook.

  2. The webhook is an Azure function that converts the data from the device into the format of the digital twin and then forwards it to it.

Would this be a possible way or what would be the best way to do this?

I would really appreciate any tips, experiences, comments and code examples.

Best regards
init5



Solution

This question is not yet answered, be the first one who answer using the comment. Later the confirmed answer will be published as the solution.

This Question and Answer are collected from stackoverflow and tested by JTuto community, is licensed under the terms of CC BY-SA 2.5. - CC BY-SA 3.0. - CC BY-SA 4.0.

people found this article helpful. What about you?