2
votes

How can I get the IOT hub connection string in device using auto provisioning via Azure Device Provisioning Service. I am doing a group enrollment and that was a success but how can I get the assigned hub connection string to the device. I do get the hub name but not the connection string?

1

1 Answers

1
votes

Assuming you are using both IoT Hub SDK and the Provisioning SDK, you do not need the hub connection string. Take a look at our samples (Java, Node) for how to use both together.