An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
Thank you for all the valuable inputs.
We looked at them all, and thoroughly checked permissions etc.
Of our multiple IoT devices, only 18 were showing up in the different update groups (a mere fraction of the total devices provisioned), but none in the diesel, thus it would not see the update to deploy it.
When deploying in the other groups where only a few devices were listed, we however noticed that all the missing devices were actually updating, but no stats appearing for them.
This got me thinking, so I compared AGRI devices Digital Twins, that were showing up, and those that were not.
The model id differed, then it dawned on me that we updated our Digital twin for our devices in 2024-07.
At the same time we posted this question: https://learn.microsoft.com/en-us/answers/questions/4379076/our-azure-iot-update-appears-to-be-malfunctioning
I then dug deeper into the model id issue, and then decided to change it to:
"modelId": "dtmi:azure:iot:deviceUpdateContractModel;2",
and not our custom model id for our custom digital twin.
We physically flashed a diesel-rev2 device with a new firmware that used the contract Id for the model id too, and that device appeared, and we could upload a new update "That included the 'correct' model Id", and then we could deploy; and now we have all our diesel-rev2 devices showing up.
We are currently working on a sensible update for our AGRI devices, and then all those that have not shown up since 2024-07, will now also show up in their relevant ADU groups.
At last the issue is solved, although it doesn't entirely make sense.
Also note that we are using the azure-iot-middleware-freertos library in ESP-IDF for enabling IOT with Azure.
The unfortunate part is that this Microsoft git repositories core code, has not been updated since around May of 2022.
Hopefully Microsoft will bring its digital twin support up to date with the latest available contract models soon.
Again, thx for all inputs from the community.