Hi,
I am trying to connect to Azure IoT Hub using HTTP POST and I am getting 401 error. even with api-version=2018-06-30,2016-11-14
Authorization : Basic
Username : {IoT-Hub-name}}/{deivce-Name}}/api-version=2021-04-12
Password = generated using az iot hub generate-sas-token -n {IoT-Hub-Name}
URL Template = https://{IoT-Hub-Name}/devices/{device-name}/messages/events?api-version=2021-04-12
Please let me know
Subrahmanyam