Vignesh Greetings & Welcome to Microsoft Q&A forum!
How to connect the simcom767G to azure iot hub using MQTT protocol
What is the issue you are facing? Did you check the documentation Communicate with an IoT hub using the MQTT protocol?
how i get the username of iot hub and sas token and iot hub url and iot hub api version
- Azure IoTHub username : It should be in the format
yourhubname.azure-devices.net
- You can generate SAS tokens with the CLI extension command az iot hub generate-sas-token, or the Azure IoT Hub extension for Visual Studio Code.
- Azure IoT Hub API current version is
2021-04-12
Also, make sure that your device is provisioned in IoT Hub and that you have the necessary permissions to connect to IoT Hub using MQTT.
Hope this helps. Do let me know if you have any other queries.
If the response helped, please do click Accept Answer
and Yes
for was this answer helpful.
Doing so would help other community members with similar issue identify the solution. I highly appreciate your contribution to the community.