As of today, there are 3 connectors to Azure IOT Hub:
I recently had a requirement to get the Device Connectionstring from IOTHub using DeviceId and IOT Hub connectionstring.
The solution comprised of following 2 items:
- Custom connector to get Device Connectionstring
- This is a Web api deployed on Azure which has a Post method, takes in DeviceId and IOTHub connectionstring and returns Device Connectionstring using Azure IOTHub sdk.
- HTTP + Swagger action was used in Logic app to consume this.
- Logic app wrapper which was consumed by other apps.
If you want to use the Connector, consume the following swagger file:
Here’s the logic app definition: