sadik
sadik

Reputation: 107

Get the IOT hub connection string from Azure Device Provision Service

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?

Upvotes: 3

Views: 749

Answers (1)

Yi Zhong - MSFT
Yi Zhong - MSFT

Reputation: 326

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.

Upvotes: 0

Related Questions