Closed easingthemes closed 1 year ago
Validation function:
const isHubConnectionString = (value: string) => {
const connectionObject = getConnectionInfoFromConnectionString(value);
const { hostName, sharedAccessKey, sharedAccessKeyName } = connectionObject;
if (hostName && sharedAccessKeyName && sharedAccessKey) {
return true;
}
return false;
};
My connection string doesn't have sharedAccessKeyName
property
Ok, wrong string used. I've used Device string, and I need IoT Hub Connection String
Describe the bug
npm serve
To Reproduce Steps to reproduce the behavior:
npm i
npm start
Expected behavior
Screenshots
Desktop (please complete the following information):