In IoTHub cannot add any module to devices
I have setup an IoTHub to try out managing edge devices.
I followed these tutorials to setup IoTHub with a real Linux device:
- https://learn.microsoft.com/en-gb/azure/iot-edge/how-to-provision-single-device-linux-symmetric?view=iotedge-1.4&tabs=azure-portal%2Cubuntu
- https://learn.microsoft.com/en-gb/azure/iot-edge/quickstart-linux?view=iotedge-1.4
The IoTHub is setup on the Free tier, public access networking, without 'Device Update for IoT Hub' or 'Defender for IoT' since not available on the Free tier.
I have setup a local ARM64 device, running Ambian Jammy (Ubuntu 22.04) and successfully connected it to the hub.
The status in the hub for this device is 'running' for both the $edgeAgent and $edgeHub.
On the device, iotedge system status
says all services are running/ready. The iotedge check
says all is ok. No errors.
However, when I check the Device Twin, the connectionState
is Disconnected
. Why?
Now I want to try to deploy the 'Simulated Temperature Sensor' as described in the Quickstart Linux tutorial, but no where I am able to add and IoT Edge module.
I have tried in
- 'Devices -> 'my device' -> 'Set modules'
- 'IoT Edge' -> 'IoT Edge Deployments' -> 'Add deployment' -> 'Modules'
- 'Configuration + Deployments' -> 'Add'
In all places the 'Add' or 'Add module' button does nothing. It does not give a choice to select an 'IoT Edge module' nor a 'Marketplace module'.
Why?
What am I doing wrong?
Is it because I do not have the 'Device Update for IoT Hub' enabled since I'm on a free tier? How I read the docs that's for updating the OS, not for modules. What's then the purpose of that Free tier if you cannot try out deploying modules?