MicrosoftDocs / azure-docs

Open source documentation of Microsoft Azure
https://docs.microsoft.com/azure
Creative Commons Attribution 4.0 International
10.26k stars 21.43k forks source link

When attempting to use Azure IoT Hub provisioning with React or React + Vite, I encountered an issue related to classes. Specifically, when using the following React app packages #122823

Closed Sampath280 closed 4 months ago

Sampath280 commented 5 months ago

[Enter feedback here] Requesting for react app packages with classes in azure Iot provisioning.

The react app we imported:

"azure-iot-device": "^1.18.3",
"azure-iot-device-mqtt": "^1.16.3",
"azure-iot-provisioning-device": "^1.9.1",
"azure-iot-provisioning-device-mqtt": "^1.8.1",
"azure-iot-security-x509": "^1.8.2",

getting ProvisioningDeviceClient errors

Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

I encountered errors with the ProvisioningDeviceClient.

Requesting assistance in resolving this issue and guidance on utilizing React app packages with classes in Azure IoT provisioning.

img

PesalaPavan commented 5 months ago

@Sampath280 Thanks for your feedback! We will investigate and update as appropriate.

Naveenommi-MSFT commented 5 months ago

Hello @Sampath280 Thank you for bringing this to our attention. Since this issue isn't directly related to improving our docs, and to gain a better understanding of your issue, I'd recommend working closer with our support team via an Azure support request. Or you can leverage our Q&A forum by posting your issue there so our community, and MVPs can further assist you in troubleshooting this issue or finding potential workarounds. Teams Q&A forum for technical questions about the configuration and administration of Microsoft Teams on Windows. Microsoft Teams Community forum.

Sampath280 commented 4 months ago

i used same packages of the node in the document in react app "azure-iot-device": "^1.18.3", "azure-iot-device-mqtt": "^1.16.3", "azure-iot-provisioning-device": "^1.9.1", "azure-iot-provisioning-device-mqtt": "^1.8.1", "azure-iot-security-x509": "^1.8.2",

Sampath280 commented 4 months ago

but getting the class error in react app