Hi Team
I have nodeJs file that reads-message to device via to azure portal in my iot-hub. Im running a command to the file extension where nodejs is configured.
'sharedAccessKeyName is a required property of the connectionString'
Any idea what could be the reason for this to happened? I have tried both still error persist.
var connectionString = "HostName=eNtsaIOTHubs.azure-devices.net;DeviceId=MyDeviceId;SharedAccessKey=t2nf7lMUTf2VXLBAVJm61XrpFL0GnYZnvrVvIB8HO4E=";
HostName=eNtsaIOTHubs.azure-devices.net;SharedAccessKeyName=service;SharedAccessKey=r3Bzhdr/Bcw9tI2tY6kwPba7Kypy496JWCPsYcg2yVk=