MicrosoftDocs / mslearn-your-first-iot-central-app

Sample code for Microsoft Learn module "Build your first IoT Central app"
MIT License
14 stars 41 forks source link

MQTT transport exception #11

Open Pramod2392 opened 3 years ago

Pramod2392 commented 3 years ago

Hi,

I am facing below issue. Could you please help

MQTT transport exception, No such host is known while executing ProvisioningDeviceClient.RegisterAsync() i.e. (DeviceRegistrationResult result = await provClient.RegisterAsync();)

Exception.txt

ju-sti commented 2 years ago

I have the same issue. Also the MS Learn instructions are asking me to install Newtonsoft.Json while the code actually uses System.Text.Json which is not available .NET Framework.