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 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 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 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…
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…
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…
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 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:…
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.…
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…
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 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…
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 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…
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…
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…
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…
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…
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…
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…