Problem use Azure Provisioning Service

Patrick Schneider 86 Reputation points
2021-05-05T06:41:47.427+00:00

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:
93769-image.png

But i linked and selected the IoTHub correctly:
93808-image.png

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

Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,115 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,454 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. QuantumCache 20,031 Reputation points
    2021-05-07T00:28:11.933+00:00

    Hello @Patrick Schneider Thanks for reaching out on this forum.

    Are you still using the Student Azure Subscription? or any Paid subscription?
    What is the IoTHub tier used?

    Please go through the below documentation:
    Quickstart: Create and provision an X.509 device using C# device SDK for IoT Hub Device Provisioning Service: These steps show you how to use device code from the Azure IoT Samples for C# to provision an X.509 device. In this article, you will run device sample code on your development machine to connect to an IoT Hub using the Device Provisioning Service.(You can choose other available languages as well instead of C#.)

    99547-image.png

    Please comment in the below section if you are still blocked in this matter.

    0 comments No comments