Hello @Damian Malinowski ,
Thanks for the additional information.
It seems like your device is successfully sending messages to Azure IoT Hub through MQTT. However, the Sensor Data Intelligence add-in in D365 is not receiving the data for the newly added sensor.
Here are some things you can check:
- Ensure that the device is sending the data to the correct IoT Hub. Double-check the connection string and the IoT Hub name.
- Verify that the device is sending the data in the correct format. The message should have a JSON payload with a "data" field and a "timestamp" field. The "data" field should contain a key-value pair with the sensor name and the sensor reading.
- Check the Sensor Data Intelligence add-in configuration. Make sure that the scenario is configured to use the correct sensor name and metric key. Ensure that the metric key is unique and has not been used before.
- Verify that the data is being received by the IoT Hub. You can check the IoT Hub metrics to see if any data is being received from your device.
- Check the Sensor Data Intelligence add-in logs. You can enable logging for the add-in and check if there are any error messages that could help identify the issue.
I hope these suggestions help you identify the problem. Let me know if you have any more questions and we are happy to get connected on this issue.
Please leave your comment in the below section!