Hello Azure Community,
I am trying to establish a device to cloud communication over Azure Provisioning Service and Azure IoT Hub.
My device from texas instruments provides a quickstart example:
https://dev.ti.com/tirex/explore/node?compilers=ccs&devtools=MSP-EXP432E401Y&kernels=tirtos&node=ANFCpQU1lbj4NNp3wZjb0A__g-ygqY8__LATEST
The example:
- create iothub and provisioning service and link them
- creates test CA certificates and deposited this in IotHub/Certificates
- verifies this certificates in IotHub/Certificates
- creates device certificate and deposites the public key in Provisioning_Service/Individual_Enrollments
- create iot device with specified common name in IotHub
Problem:
I used a student license and the budget was used up. With this license I used the tutorial (created new CA, device certificates, add certificates in azure, add individual enrollments,...) and it worked.
Since this, I tried to reproduce the steps (created new CA, device certificates, add certificates in azure, add individual enrollments,...) and run the quickstart again. On device side there are no changes (just changed iothub id_scope, keys,...) that can cause the problem. Therefore my problem is on the azure side.
The error in the device is: "IoTHub not found."
And in the enrollment I found this to:
But i linked and selected the IoTHub correctly:
Do you have any suggestions?
This example without a CA works:
https://learn.microsoft.com/de-de/azure/iot-dps/quick-create-simulated-device-x509-python?tabs=windows
With best regards
Patrick