1,179 questions with Azure IoT Hub tags

Sort by: Updated
1 answer

Setting desired property in device twin sends the full content of the device twin instead of partial update

Hello, I am editing the device twin of my test device using the Azure IoT hub web portal. I added a single new desired property and I noticed that the full content of the device twin is received by my test device (including all the other properties I…

Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,179 questions
asked 2024-09-19T09:29:59.1666667+00:00
Guillaume 0 Reputation points
answered 2024-09-19T20:56:11.8433333+00:00
Sander van de Velde | MVP 32,086 Reputation points MVP
1 answer

Azure IoT Edge on premises device updates

Is it possible to manually provide updates to Azure IoT Edge when disconnected from IoT Hub? The aim is that devices will never have to connect to anything other than the IoT edge server, and the edge server will not connect to the internet. Instead,…

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.
568 questions
Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,179 questions
asked 2024-05-13T03:56:10.1666667+00:00
Nick Dziura 0 Reputation points
commented 2024-09-19T20:21:15.0466667+00:00
Sander van de Velde | MVP 32,086 Reputation points MVP
1 answer

Azure functions fail to decode IoThub device connection state message

0 I've a Azure function in Python 3.11 and Linux hosting. It is throwing an error when trigger is service bus queue message, which is having IoTHub device connection state message with schema like this schema.Result: Failure Exception: ValueError: cannot…

Azure Service Bus
Azure Service Bus
An Azure service that provides cloud messaging as a service and hybrid integration.
617 questions
Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,913 questions
Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,179 questions
asked 2024-09-16T14:06:08.8466667+00:00
Nayangiri Goswami 25 Reputation points
commented 2024-09-19T06:07:00.2466667+00:00
Nayangiri Goswami 25 Reputation points
2 answers

Azure functions decoding error

Azure functions with Python language and Linux hosting are throwing this error when trigger is service bus queue message having IoTHub device connection state message schema. Result: Failure Exception: ValueError: cannot convert value of field…

Azure Service Bus
Azure Service Bus
An Azure service that provides cloud messaging as a service and hybrid integration.
617 questions
Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,913 questions
Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,179 questions
asked 2024-09-10T07:19:11.76+00:00
Nayangiri Goswami 25 Reputation points
answered 2024-09-18T15:58:16.6433333+00:00
LeelaRajeshSayana-MSFT 14,831 Reputation points Microsoft Employee
0 answers

Getting error : "errorCode":400004,"trackingId":"7XXXXXX-2XXX-XXXX-XXXX-XXXXXXXXXXX6","message":"Invalid idScope length","timestampUtc":"2024-09-16T07:05:13.903829Z"

I am trying to initialise file upload referring to this documentation with C++, but I am getting an error "errorCode":400004,"trackingId":"7e49d9f8-2XXX-XXXX-XXXX-XXXXXXXXXXX6","message":"Invalid idScope…

Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,179 questions
asked 2024-09-16T07:09:44.1266667+00:00
Shahanshah Alam 0 Reputation points
commented 2024-09-16T12:10:26.39+00:00
Sander van de Velde | MVP 32,086 Reputation points MVP
1 answer

File upload issue via iot hub with new azure c sdk v1.14.0

Hi, I was using azure c sdk version 1.11.0 on my esp32 board, with that connection to iot hub using DPS service x509 certificates works fine. Blob storage is also configured with iot hub. File upload also works fine. Recently I have updated the azure c…

Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,179 questions
asked 2024-09-09T06:30:37.3966667+00:00
Singh, Vineet Prakash (ext) 5 Reputation points
commented 2024-09-16T06:29:31.37+00:00
Singh, Vineet Prakash (ext) 5 Reputation points
1 answer

Subscription to IOThub with mqtt with static Topic.

Hi Experts I am using a Device to Send/Receive msg to Azue IOThub via raw mqtt msg. An Azure function is sending the C2D message. Problem: If I Subscribe to devices/{deviceName}/messages/devicebound/# I am receiving the msg. Under this…

Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,179 questions
asked 2024-09-13T10:50:59.09+00:00
Mark Frost 0 Reputation points
answered 2024-09-13T20:44:29.7333333+00:00
Sander van de Velde | MVP 32,086 Reputation points MVP
1 answer

Azure function IoTHub device connection state message decode error

I've a route to forward Azure IoTHub device connection state messages to service bus queue. On that queue I'm triggering Python function using v2 programming model. Looks like the trigger is not being decoded properly. Here is the error, Result:…

Azure Service Bus
Azure Service Bus
An Azure service that provides cloud messaging as a service and hybrid integration.
617 questions
Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,913 questions
Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,179 questions
asked 2024-09-10T07:02:24.6533333+00:00
Nayangiri Goswami 25 Reputation points
answered 2024-09-10T07:37:49.23+00:00
akinbade abiola 15,375 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,179 questions
Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
218 questions
asked 2024-09-05T08:55:45.65+00:00
John Wong Yek Hon 20 Reputation points
commented 2024-09-09T02:36:52.65+00:00
John Wong Yek Hon 20 Reputation points
5 answers One of the answers was accepted by the question author.

AT commands sequense for SIM7600 to connect to IoT Hub over MQTT?

Have tried the following sequence of AT commands, the connection keeps closing. Please tell me where I'm going wrong. 23:22:08.825 -> AT 23:22:08.825 -> OK 23:23:05.805 -> AT+CSQ 23:23:05.805 -> +CSQ: 20,99 23:23:05.805 -> 23:23:05.805…

Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,179 questions
asked 2023-03-31T18:31:01.94+00:00
Selvin Furtado 20 Reputation points
commented 2024-09-07T00:11:43.87+00:00
Altay 0 Reputation points
1 answer

IoT Hub MQTT API version

Hi All I am using Azure IoT Hub with a standard MQTT protocol. Specifing a username and password are part of the MQTT protocol. The user name also requires specifying the API version. What effect does this API version have? As some older devices have…

Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,179 questions
asked 2024-09-06T08:38:32.63+00:00
Dharmesh Joshi 16 Reputation points
answered 2024-09-06T10:01:53.8866667+00:00
Sander van de Velde | MVP 32,086 Reputation points MVP
0 answers

Azure Iot Edge - System.Data.SqlClient is not supported on this platform

Hi Everyone, I have deployed an Azure Function using the Edge Hub trigger as a custom IoT Edge module. The primary objective of this function is to insert data into SQL Edge. To achieve this, I have been following the guidelines provided in the Microsoft…

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.
568 questions
Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,179 questions
asked 2024-08-23T04:29:45.93+00:00
Praveen Kumar 0 Reputation points
edited the question 2024-09-04T04:36:34.31+00:00
ShaktiSingh-MSFT 15,206 Reputation points
0 answers

Having some problems while trying to Develop IoT Edge modules using Visual Studio Code

I was following this doc and then while I was setting up the module in logs these problems were shown: <6>Microsoft.Hosting.Lifetime[0] Application started. Press Ctrl+C to shut down. <6>Microsoft.Hosting.Lifetime[0] Hosting environment:…

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.
568 questions
Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,179 questions
asked 2024-08-13T06:41:17.9666667+00:00
Pritam Chanda 45 Reputation points
commented 2024-08-30T07:56:42.6166667+00:00
Michael Skaaning Kristensen 25 Reputation points
1 answer

[Azure RTOS Thread X version 6.1.9] _nx_secure_x509_pkcs1_rsa_private_key_parse returns NX_SECURE_PKCS1_INVALID_PRIVATE_KEY error

I am using an STM32H735 board with Azure RTOS (ThreadX version 6.1.9). I am trying to connect the board to an Azure IoT Hub Device configured with x.509 self-signed authentication type. I have created the X.509 self-signed certificate using openssl and…

Azure RTOS
Azure RTOS
An Azure embedded development suite including a small but powerful operating system for resource-constrained devices.
331 questions
Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,179 questions
asked 2024-08-29T03:11:35.2866667+00:00
Grant Hatamosa 5 Reputation points
commented 2024-08-29T08:27:20.0433333+00:00
Sander van de Velde | MVP 32,086 Reputation points MVP
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.
397 questions
Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,179 questions
Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
218 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
1 answer One of the answers was accepted by the question author.

Renaming modules in IoT Edge development

I am following this Microsoft Learn document to develop IoT Edge modules using C#. I have created two modules successfully, but now I want to rename the filtermodule to a samplemodule. Is it enough to rename the file or should I change it somewhere else…

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.
568 questions
Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,179 questions
asked 2024-08-22T09:47:59.58+00:00
Pritam Chanda 45 Reputation points
accepted 2024-08-26T05:02:13.36+00:00
Pritam Chanda 45 Reputation points
1 answer

How can some with the steps for help me to generating certificates for device and device Identity. I want to use certificate based authentication for both

I created a device with self-signed certificate using dps. with common name device-id Now, I want to add module to device. here want to generate new certificate with subject device-id/module-name Can someone please help me with the steps for generating…

Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,179 questions
asked 2024-08-22T08:12:40.3066667+00:00
Naga Lokesh Kanumoori 0 Reputation points
answered 2024-08-22T10:33:27.4366667+00:00
Sander van de Velde | MVP 32,086 Reputation points MVP
0 answers

Unable to deploy IoT Edge following Microsoft's documented steps

I am trying to deploy IoT Edge on an Ubuntu running in VirtualBox (cross-compiled as ARM64) targeting Jetson Orin Nano Board, following this Microsoft documentation. However, I am encountering errors. The error messages are shown below: My…

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.
568 questions
Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,179 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.
10,857 questions
asked 2024-08-13T06:32:47.41+00:00
Pritam Chanda 45 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.
397 questions
Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
2,795 questions
Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,179 questions
Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
218 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.
10,857 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 32,086 Reputation points MVP
2 answers One of the answers was accepted by the question author.

Is there a better way to stream data?

Hello Support, We currently have a system where there are 10 devices per iot hub, and each of those devices are routed to their own event hub. From there they are ingested and streamed in ADX, each having there own table in the database. I tried using…

Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,179 questions
Azure Data Explorer
Azure Data Explorer
An Azure data analytics service for real-time analysis on large volumes of data streaming from sources including applications, websites, and internet of things devices.
522 questions
Azure Event Hubs
Azure Event Hubs
An Azure real-time data ingestion service.
630 questions
asked 2024-08-07T01:38:29.9633333+00:00
Nathan Sommer 40 Reputation points
accepted 2024-08-08T23:33:24.1766667+00:00
Nathan Sommer 40 Reputation points