DPS SAS token generation not working

Arun S 1 Reputation point
2021-02-18T04:26:38.023+00:00

Hi All,

I have few questions about Azure DPS connection and registration using SAS tokens. I'm referring to the sample application in the repo https://github.com/Azure/azure-sdk-for-c/blob/master/sdk/samples/iot/paho_iot_provisioning_sample.c

  1. "provisioning_registration_id", Is registration_id same as the the one mentioned in Azure account Manage enrollments->Individual Enrollments->REGISTRATION ID .
  2. How to generate SAS tokens for DPS? I'm not using x86 openssl. For HUB type, SAS token can be generated using Visual Studio Code. Similar mechanism is available?

I need SAS token to generate password.

Any support for the above will be of great help!

Thanks,
Arun

Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,124 questions
{count} votes

6 answers

Sort by: Most helpful
  1. Arun S 1 Reputation point
    2021-03-25T09:55:03.487+00:00

    @QuantumCache ,
    Can you confirm the Azure DPS connection using SAS token is supported in the https://github.com/Azure/azure-sdk-for-c/releases/tag/1.1.0 ? Im seeing connection refuse from the Azure server. Followed the links mentioned in this thread to generate SAS tokens.

    0 comments No comments