MKR WIFI 1010 to Azure IoT Hub

Hi
I have been trying to connect my MKR WiFi 1010 to Azure IoT Hub. But seems I am missing something. The examples that come with the IDE also do not work for me. Any suggestion? Any lead, link?
Thank you