228 questions with Azure IoT SDK tags

Sort by: Updated
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 IoT
Azure IoT
A category of Azure services for internet of things devices.
418 questions
Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,258 questions
Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
228 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 0 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.
228 questions
C#
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,417 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 31,391 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.
228 questions
asked 2025-04-02T13:10:50.05+00:00
Florian Humblot 5 Reputation points
answered 2025-04-04T00:55:49.3733333+00:00
LeelaRajeshSayana-MSFT 17,521 Reputation points
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,141 questions
Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,258 questions
Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
228 questions
asked 2025-01-20T13:36:29.6933333+00:00
Schröder, Bernd 20 Reputation points
edited a comment 2025-01-20T13:57:06.38+00:00
Schröder, Bernd 20 Reputation points
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.
8,703 questions
Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
228 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.
441 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 32,281 Reputation points MVP
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 IoT
Azure IoT
A category of Azure services for internet of things devices.
418 questions
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.
598 questions
Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,258 questions
Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
228 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,126 Reputation points MVP
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 IoT
Azure IoT
A category of Azure services for internet of things devices.
418 questions
Azure IoT Central
Azure IoT Central
An Azure hosted internet of things (IoT) application platform.
375 questions
Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,258 questions
Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
228 questions
Azure IoT Operations
Azure IoT Operations
Azure IoT Operations is a set of modular services enabled by Azure Arc.
40 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,258 questions
Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
228 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,126 Reputation points MVP
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.
375 questions
Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
228 questions
Azure Startups
Azure Startups
Azure: A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.Startups: Companies that are in their initial stages of business and typically developing a business model and seeking financing.
693 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
0 answers

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://learn.microsoft.com/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,258 questions
Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
228 questions
asked 2024-10-10T06:30:29.5366667+00:00
Shahanshah Alam 0 Reputation points
edited the question 2024-10-10T08:29:55.64+00:00
Shahanshah Alam 0 Reputation points
0 answers

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.
228 questions
asked 2024-10-09T15:37:50.4233333+00:00
Andre Ricardo 0 Reputation points
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…

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
10,894 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,503 questions
Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
228 questions
asked 2024-09-25T17:36:08.6766667+00:00
Raza Abbas 0 Reputation points
answered 2024-09-26T01:40:23.1633333+00:00
Robin Sheng-MSFT 7,180 Reputation points Microsoft External Staff
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.
228 questions
asked 2024-09-11T18:50:11.5833333+00:00
Tom Botley 25 Reputation points
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,258 questions
Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
228 questions
asked 2024-09-05T08:55:45.65+00:00
John Wong Yek Hon 140 Reputation points
commented 2024-09-09T02:36:52.65+00:00
John Wong Yek Hon 140 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 IoT
Azure IoT
A category of Azure services for internet of things devices.
418 questions
Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,258 questions
Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
228 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.
228 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,521 Reputation points
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 IoT
Azure IoT
A category of Azure services for internet of things devices.
418 questions
Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
3,141 questions
Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,258 questions
Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
228 questions
C#
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,417 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,126 Reputation points MVP
1 answer One of the answers was accepted by the question author.

How to see Azure IoT SDK C logs using TI CC3235SF MCU on a serial monitor?

Hello! I am using the TI CC3235SF MCU (custom board) and the Azure IoT SDK C (C language) to connect my gateway to Azure IoTHub. I have set the "logtrace" option to true to get the logs using LL SetOption function. I print out my debug logs…

Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
228 questions
asked 2024-08-01T20:46:24.65+00:00
Y MRUDULA 41 Reputation points
accepted 2024-08-08T19:09:54.06+00:00
Y MRUDULA 41 Reputation points
0 answers

How to see azure iot sdk C log trace prints on a serial monitor using TI CC3235SF?

I am using the TI CC3235SF MCU (custom board) and Azure IoT SDK C (C language) to provision my gateway to Azure DPS and connect it to Azure IoTHub. I learnt that I can set "logtrace" ON which will output the log prints to stdout. I print my…

Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
228 questions
asked 2024-08-01T20:40:40.08+00:00
Y MRUDULA 41 Reputation points
2 answers

IoT Hub Device Provisioning Service - Device Registration Status Lookup API C# Code Sample Required

Hello, Can anyone point me to a C# code sample in how to use the "Runtime Registration - Device Registration Status Lookup" API by implementing the code through C#? The MS docs does not give any helpful information in how to use the…

Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,258 questions
Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
228 questions
asked 2022-08-17T17:38:15.04+00:00
OJB1 31 Reputation points
commented 2024-07-30T16:46:31.2+00:00
Stanimir 0 Reputation points