Device is unable to be provisioned and no error is returned

Andrew Batta 21 Reputation points
2023-03-30T15:40:25.41+00:00

Hi,

We have a device that's using the TPM attestion to connect to IoT Central and it's unable to be provisioned. When we check the logs no error code is returned and the device is never assigned to a hub.

Is there a way to troubleshoot this issue?

Azure IoT Central
Azure IoT Central
An Azure hosted internet of things (IoT) application platform.
354 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Sander van de Velde 29,461 Reputation points MVP
    2023-03-30T22:21:11.23+00:00

    Hello @Andrew Batta ,

    It seems you are working with an individual deployment based on TPM security.

    I recommend testing this configuration using an Azure IoT Hub linked to a Device Provisioning Service.

    These PaaS resources are the Azure services used by Azure IoT Central in the background.

    This way, you have more granular control over the connection process and possible error messages.


    If the response helped, do "Accept Answer". If it doesn't work, please let us know the progress. All community members with similar issues will benefit by doing so. Your contribution is highly appreciated.

    1 person found this answer helpful.

  2. Sander van de Velde 29,461 Reputation points MVP
    2023-04-07T07:49:33.2066667+00:00

    Hello @Andrew Batta , Background information about protocols supported by the underlying IoT Hub can be found here. I'm not aware of an automatic fall-back towards AMQP over Websockets. For customer projects where we are not in control of the firewall, we chose the XYZ (AMQP or MQTT) over Websockets protocol by default. Most of our customers/their customers allow outgoing HTTPS traffic without any questions or extra work.
    Switching over to the other 'websocket' protocol seems the solution for you. If the response helped, do "Accept Answer". If it doesn't work, please let us know the progress. All community members with similar issues will benefit by doing so. Your contribution is highly appreciated.

    1 person found this answer helpful.