You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 16, 2023. It is now read-only.
I followed exactly the commands. az iot hub show-connection-string --hub-name IoTHubSmartSafety --policy-name service
shows
This command has been deprecated and will be removed in a future release. Use 'IoT Extension (azure-iot) connection-string command (az iot hub connection-string show)' instead.
{
"connectionString": "HostName=IoTHubSmartSafety.azure-devices.net;SharedAccessKeyName=service;SharedAccessKey=<key>"
}
I replaced the actual key string with <key>. The connection string does not seem to be working. npm start
outputs
Using IoT Hub connection string [HostName=IoTHubSmartSafety.azure-devices.net;DeviceId=odroidTemp;SharedAccessKey=<key>]
IoTHubSmartSafetyConsumerGroupOdroid
Using event hub consumer group [IoTHubSmartSafetyConsumerGroupOdroid]
Listening on 3000.
Invalid IotHub connection string.