Forum Discussion
Issue receiving simulated telemetry data in azure digital twins
Hello CraigBreenHogg ,
please check this blog post about starting with Azure Digital Twins.
Without the actual error message, it's hard to answer the question in a direct way.
If the IoT hub messages are arriving in the Azure Function, the first step is successful.
Then, check if the Azure Function has enough rights to manipulate the ADT environment (using a managed identity).
A problem I faces was adding versus updating Twin properties. Make sure the properties already have a default value (you can add them in the Digital Twin Explorer if needed).
Chat GPT is fun but reading the actual documentation and doing the ADT workshop is more useful.
I am not sure why you have put an event grid between IoT Hub and the Azure Function. Check out the IoT Hub trigger for Azure Functions for a direct connection.
---
If this post helped you, mark it as the best response so others with the same question recognize this.