Issue in MQTT sending data from device to cloud

A Arockia Jabamalai Eldsin 20 Reputation points
2023-11-02T07:55:31.7233333+00:00

Hi,

In IOT hub, I created a Device and SAS token, I sent Data through MQTT  and received in IOT hub successfully. 

From Yesterday I did not receive data, So I deleted the old Device and created new Device and tried to send the data through MQTT with new SAS token, while sending the message, the response is 'Sent Success', but did not receive data in IOT hub.

Note:

1.I have created a new SAS token.

2.I can send data successfully device to cloud using VS code (Without using sas token).User's image

Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
{count} votes

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.