Problem registering device using Azure DPS

Gorantla Srikanth 40 Reputation points
2024-04-15T06:58:36.2033333+00:00

I am having issues registering a device using DPS service endpoint with a Symmetric Key method. After authenticating the device with the DPS service, I am unable to register it. Can someone suggest a solution to this problem?

Azure IoT Edge
Azure IoT Edge
An Azure service that is used to deploy cloud workloads to run on internet of things (IoT) edge devices via standard containers.
540 questions
Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,120 questions
{count} votes

Accepted answer
  1. Sander van de Velde 28,466 Reputation points MVP
    2024-04-15T07:23:59.01+00:00

    Hello @Gorantla Srikanth

    welcome to this moderated Azure community forum.

    Microsoft provides an Python SDK for connecting Azure IoT devices.

    Check out my blog post about the basics working with the SDK.

    I also added this GitHub example with DPS support.

    Notice the extra 'IoTHubDeviceClient.create_from_symmetric_key()' command.

    Please check out the example first and then try to merge it with your code.


    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.


0 additional answers

Sort by: Most helpful