Unable to connect to Azure cloud using MQTT on Quectel M66

Hello,
We are using the Quectel M66 module with firmware version M66FAR02A09BT

We are not able to connect to the Azure cloud. I have attached the main code, certificates, and error logs with this query post.

SourceFiles.zip (14.0 KB)

Hi,Suraj_Hebbar:
I suggest that you test with the mqTT.fx tool to determine if there is a problem with the server or CA certificate;If the MQTT.fx test is normal, we will move on to the next step.