230 questions with Azure IoT SDK tags

Sort by: Updated
0 answers

IoT Middleware for FreeRTOS - Possible Race Condition

I've been utilising the sample repo (https://github.com/Azure-Samples/iot-middleware-freertos-samples) for Azure's IoT Middleware for FreeRTOS, specifically for an ESP32. I've added an additional subscribe to Cloud-to-Device (C2D) messages: * Sends an…

Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
230 questions
asked 2025-09-02T09:29:16.97+00:00
Ben Hobbs 15 Reputation points
commented 2025-09-30T09:57:58.4166667+00:00
Ben Hobbs 15 Reputation points
1 answer One of the answers was accepted by the question author.

How to access IoTHubClient_Auth_Get_SasToken

We currently call IoTHubDeviceClient_LL_AzureStorageInitializeBlobUpload and pass the SAS token to an external process. We are going to upload larger files and do not want to do it in the C/ADU code, thus the external process. if…

Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
230 questions
asked 2024-10-09T15:37:50.4233333+00:00
Andre Ricardo 20 Reputation points
commented 2025-09-12T08:18:13.7866667+00:00
Andre Ricardo 20 Reputation points
1 answer

Can Voice Assistant UMD be extended to Sensor Class Extension to reuse the presence monitoring service path?

Hi MSFT team, I want to query - If Voice Assistant UMD can act as a sensor extended on Sensor Class Extension to reuse the pesence motoring service path to let device enter/exit modern standby mode?

Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
230 questions
asked 2025-04-29T05:21:15.8366667+00:00
jianbin zhang 20 Reputation points
answered 2025-09-11T16:38:08.36+00:00
Amira Bedhiafi 39,341 Reputation points Volunteer Moderator
1 answer

Disconnected from MQTT, error: Optional(Error Domain=MGCDAsyncSocketErrorDomain Code=8 "Error in SSLSetCertificate" UserInfo={NSLocalizedDescription=Error in SSLSetCertificate})

I am trying to connect with MQTT with DigiCert G2 .crt certificate from https://free.blessedness.top/en-us/azure/security/fundamentals/azure-ca-details?tabs=root-and-subordinate-cas-list#root-certificate-authorities, I am getting this error. Disconnected…

Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,293 questions
Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
230 questions
asked 2024-10-10T06:30:29.5366667+00:00
Shahanshah Alam 0 Reputation points
answered 2025-09-10T20:11:28.48+00:00
Amira Bedhiafi 39,341 Reputation points Volunteer Moderator
1 answer One of the answers was accepted by the question author.

How to avoid Base64 encryption for telemetry data through Azure IoT SDK

Hello, I'm currently using Azure IoT Hub SDK 1.2.10 for my IoT project. The telemetry data sent from my IoT device should not be encrypted (JSON format) but I've noticed that the SDK does a Base64 encryption before sending the telemetry data to the…

Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,293 questions
Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
230 questions
asked 2020-10-26T22:04:47.537+00:00
Giovanni Genta 21 Reputation points
commented 2025-08-21T09:30:29.2533333+00:00
srihari kolli 20 Reputation points
1 answer

How to upgrade to Azure Device Update Agent 1.1.0 or later when using the azure-iot-freertos-middleware

According to the new docs on root key rotations, it is recommended to use the update agent v1.1 It's strongly recommended to adopt Device Update Agent version 1.1.0 or later, which will automatically obtain all future root keys for your devices as…

Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
230 questions
asked 2025-04-02T13:10:50.05+00:00
Florian Humblot 5 Reputation points
edited a comment 2025-06-24T14:45:09.2666667+00:00
LeelaRajeshSayana-MSFT 17,866 Reputation points Moderator
2 answers

Module connection using x509 certificates

Hi, When reading the docs about connecting devices and modules using a x509 certificate there is this part about the required common name (CN): For modules using X.509 authentication, the module's certificate must have its common name (CN) formatted…

Azure Internet of Things
Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,293 questions
Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
230 questions
asked 2024-04-09T12:01:37.0066667+00:00
Ferry Koolen 0 Reputation points
answered 2025-04-24T08:00:07.93+00:00
René van der Heijden 5 Reputation points
1 answer

How to use exponential back-off logic in Azure device client?

I have a job in C# which runs every 5 minutes and acts like a heartbeat to check the client status When the status is Disconnected_Retrying, I exit the timer job assuming retry will work. However, status always comes as Disconnected_Retrying and…

Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
230 questions
Developer technologies | C#
Developer technologies | C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
11,655 questions
asked 2022-09-15T07:05:24.097+00:00
DEEPAK KUMPALA 191 Reputation points
answered 2025-04-16T14:41:48.47+00:00
Amira Bedhiafi 39,341 Reputation points Volunteer Moderator
1 answer One of the answers was accepted by the question author.

Do SAS URIs expire after successful file uploads in IoT Hub?

I am running a script that collects data from a device and uploads it to a storage account at regular intervals. This process is leading to an error, as described in this issue (403 TooManyDevicesError after 10 Files). I suspect that I might be hitting…

Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
3,263 questions
Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,293 questions
Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
230 questions
asked 2025-01-20T13:36:29.6933333+00:00
Anonymous
edited a comment 2025-01-20T13:57:06.38+00:00
Anonymous
1 answer

Azure SDK for listing VMs and VMSS

Hi Team, I am looking for Azure SDK to list all VMs under the VMSS. I can see that we have APIs to list the resources but I need to implement this using SDK. Please let me know if there is any SDK that I can leverage to. Thanks.

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
9,538 questions
Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
230 questions
Azure Virtual Machine Scale Sets
Azure Virtual Machine Scale Sets
Azure compute resources that are used to create and manage groups of heterogeneous load-balanced virtual machines.
476 questions
asked 2024-12-12T18:21:25.28+00:00
Padmini A 0 Reputation points
answered 2024-12-22T02:49:57.1066667+00:00
Vinodh247 39,376 Reputation points MVP Volunteer Moderator
1 answer

How to send messages from Iot Edge Module to Storage Account through route?

I have an IoT Edge Module filtermodule which sends telemetry using send_message (docs) with IoTHubModuleClient every minute. When I run this module, the IoT Hub message counter in the portal is incrementing. Also, I used this route in the IoT Edge Hub…

Azure Internet of Things
Azure IoT Edge
Azure IoT Edge
An Azure service that is used to deploy cloud workloads to run on internet of things (IoT) edge devices via standard containers.
606 questions
Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,293 questions
Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
230 questions
asked 2024-12-16T13:29:02.73+00:00
Pim Klaassen 0 Reputation points
answered 2024-12-16T16:54:43.7166667+00:00
Sander van de Velde | MVP 36,951 Reputation points MVP Volunteer Moderator
1 answer One of the answers was accepted by the question author.

Retrieving Data from an Existing Mosquitto MQTT Broker

What are the steps to retrieve data from an existing Mosquitto MQTT broker? I have no control on the broker, I only have the required information to subscribe to it. I have found the documentation on Azure to be increasingly convoluted, making it…

Azure Internet of Things
Azure IoT Central
Azure IoT Central
An Azure hosted internet of things (IoT) application platform.
381 questions
Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,293 questions
Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
230 questions
Azure IoT Operations
Azure IoT Operations
Azure IoT Operations is a set of modular services enabled by Azure Arc.
42 questions
asked 2024-11-21T16:35:02.91+00:00
Quentin STRINATI 20 Reputation points
accepted 2024-11-22T08:51:26.4766667+00:00
Quentin STRINATI 20 Reputation points
1 answer

Concurrent Device Connections and Telemetry on Azure IoT Hub

Details: SDK Versions: azure-iot-device : 2.14.0 azure-iot-hub : 2.6.1 asyncio : 3.4.3 Python Version : 3.10.12 Azure IoTHub Details: Tier: S1 Description of Issue: I have developed a Python script using the Azure IoT SDK to…

Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,293 questions
Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
230 questions
asked 2024-11-12T12:58:35.52+00:00
Nayangiri Goswami 45 Reputation points
answered 2024-11-12T17:23:17.6133333+00:00
Sander van de Velde | MVP 36,951 Reputation points MVP Volunteer Moderator
1 answer One of the answers was accepted by the question author.

How to Integrate HX711 with ESP32 and Azure SDK C for Weight Capture?

I'm working on a project where I need to capture the weight from an HX711 load cell connected to an ESP32 board and integrate the data with Azure IoT Hub using the Azure SDK for C. I have already configured the iot_configs.h file correctly with the…

Azure IoT Central
Azure IoT Central
An Azure hosted internet of things (IoT) application platform.
381 questions
Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
230 questions
Azure | Azure Startups
Azure | Azure Startups
Startups: Companies that are in their initial stages of business and typically developing a business model and seeking financing.
957 questions
asked 2024-10-05T17:22:58.6033333+00:00
Vinu George 45 Reputation points
edited the question 2024-10-11T22:24:05.6133333+00:00
Katherine Jaress 0 Reputation points Microsoft Employee Moderator
1 answer

Integration of MS Teams Call feature in a 3rd party website & mobile app

Need information for integration of MS Teams Call feature in a 3rd party website & app. We are currently using JITSI as a Service (JaaS) and wish to replace using the Microsoft Graph and integrating it on our platform. We need the pricing plan for…

Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
230 questions
Microsoft Security | Microsoft Graph
Microsoft Teams | Microsoft Teams for business | Other
asked 2024-09-25T17:36:08.6766667+00:00
Raza Abbas 0 Reputation points
answered 2024-09-26T01:40:23.1633333+00:00
Anonymous
0 answers

Using the Azure IoT Hub SDK for C in an iOS Swift app

Hello, I have been tasked with creating a library for a client's iOS app which is built in Swift. It just needs to achieve two things, connecting to the IoT Hub with a connection string and receiving cloud to device (C2D) messages. Having read through…

Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
230 questions
asked 2024-09-11T18:50:11.5833333+00:00
Anonymous
1 answer One of the answers was accepted by the question author.

Programmatically regenerate primary key of an existing IoT device

I have a requirement to rotate the access key of my IoT devices periodically. Let say each device should rotate their key every year, started from the registration date. In my use case, I don't wish to rotate the access key of all devices in same batch.…

Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,293 questions
Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
230 questions
asked 2024-09-05T08:55:45.65+00:00
John Wong Yek Hon 160 Reputation points
commented 2024-09-09T02:36:52.65+00:00
John Wong Yek Hon 160 Reputation points
1 answer One of the answers was accepted by the question author.

Keep-alive timeout for IoTHub connection without device SDK

I am connecting to IoT Hub using an embedded solution, that does not support the device SDK. The solution is using a GSM modem, where the interaction with IoT Hub is implemented by AT commands. Authentification is x509 certificates (no SAS token). My…

Azure Internet of Things
Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,293 questions
Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
230 questions
asked 2024-08-28T07:12:22.97+00:00
Anders Nordberg Lauritsen 26 Reputation points
accepted 2024-08-28T10:44:26.1433333+00:00
Anders Nordberg Lauritsen 26 Reputation points
0 answers

azure-iot-sdk-c on freertos

I cross compile azure-iot-sdk-c to freertos mt7933, and run iothub_client/samples/iothub_ll_telemetry_sample/iothub_ll_telemetry_sample using mqtt over websocket. But it got ENOTCONN on recv after websocket handshaking success. (using mqtt is ok) When…

Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
230 questions
asked 2024-08-23T03:40:12.23+00:00
shaman lim 0 Reputation points
edited the question 2024-08-23T13:38:17.8533333+00:00
LeelaRajeshSayana-MSFT 17,866 Reputation points Moderator
2 answers One of the answers was accepted by the question author.

SAS Token not working for FileUpload IoTHub

I'm trying to replicate this https://github.com/Azure/azure-iot-sdk-csharp/blob/main/iothub/device/samples/getting%20started/FileUploadSample/FileUploadSample.cs example to upload a file. This part works: `// Note: GetFileUploadSasUriAsync and…

Azure Internet of Things
Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
3,263 questions
Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,293 questions
Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
230 questions
Developer technologies | C#
Developer technologies | C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
11,655 questions
asked 2024-06-12T17:16:40.47+00:00
mikefinch87 115 Reputation points
commented 2024-08-09T14:10:50.5833333+00:00
Sander van de Velde | MVP 36,951 Reputation points MVP Volunteer Moderator