MQTT transport exception, No such host is known while executing ProvisioningDeviceClient.RegisterAsync() i.e. (DeviceRegistrationResult result = await provClient.RegisterAsync();)
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.
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