Content
Python function to upload files to storage failing with 403 TooManyDevicesError
I have a python app running on an embedded linux device. The app runs async code that connects an iothub device client. I have a class called device_client_wrapper that uses a semaphore to ensure that only one function calls device client methods at a…


How to degrade my Avnet Azure Starter kit OS version
Hi. We are working with Avnet Azure sphere starter kit. We have already updated the device OS version to 22.11. We found a link which says we can degrade the version of the device. "After a device updates to the 22.09 release, it will no longer…


What is the good design to handle messages in a same process and send it to cloud without a data loss?
I am working on designing a solution for sending data from windows based devices to the cloud Device Software: The device software is currently written in C, C++ or C# languages based on the device model and legacy build. IoT Service: This is a proposed…


How do I associate a certificate with an IoT Edge SDK connection on iOS & Android
I am trying to connect to an IoT Edge device from iOS and Android apps. It looks like the SDK relies on using the local device certificate store to enable the handshake/authentication for connecting to MQTT. I have this working on Windows using a local…
Deployment template for multiple init containers azure iot edge
I have 2 init containers and 1 main container and want to deploy into azure iot edge. Requirement is these 2 init containers should run in order first before main container starts. I was able to do this in kubernetes pod and also docker compose(using…


Using Azure Iot SDK with Azure Identity Service
Background: I am using the Azure IoT Hub SDK for Python to establish a device connection to IoT Hub. The device authentication method is self-signed x509 certificates. On the device side, I am using Azure Identity Service to manage and rotate device…


IoTHubDeviceClient: Is there any danger in calling patch_twin_reported_properties() from inside on_message_received coroutine?
I am using the IoTHubDeviceClient from the Azure SDK for Python, and have assigned a coroutine to IoTHubDeviceClient.on_message_received. When a cloud-to-device message is received and my on_message_received handler is called, it may modify the state of…


Azure DPS - azure-iot-sdk-python client register() error in sample provision_symmetric_key.py - "Unexpected failure"
I'm trying to use the python azure sdk for the DPS service, I only have one device, the environment variables are set correctly, why am I getting an "Unexpected failure" error? Below is a snippet from the sample code from GitHub…


Unable to run IoT Edge Module in Visualstudio : [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed
I try to create a edge module, my linux machine edge gateway is success and device is online in IoTHub. I am using this device connection string to create a custom IoT Edge module with simulator from visualstudio, when i run the solution it always throws…


How can we do the initial device set up at the factory for multiple Avnet Azure sphere device.
Hi. How can we perform the initial device set up for multiple Avnet Azure sphere device. What is the easiest way to do it? Thank you.


Can we connect the device to an iot hub of our choice using the azure iot sdk C?
An individual device is enrolled on Azure and assigned to and assigned to an IoT Hub named "A-stg". The configuration selected is "Static configuration". For registering device first the "Prov_Device_LL_Create()" is…
Programmatically regenerate keys for group enrollments in Azure Device provisioning Service (DPS)
I want to programmatically regenerate the symmetric key (primary and secondary keys) in group enrollments of Azure DPS. There is an API provided by azure in the link. I used the API but it returned 404 not found about which I could not figure out its…


DPS enrollment to IoTHub with Self-Signed vs. CA certificates
I am using DPS group enrollment to register new devices to an IoTHub. I am testing this process using self-signed certificates, however in the production environment - I am planning to use a true Certificate Authority. I register new devices with…


IoT Device App Simulation In Batch
I want to deploy an IoT device app (. Net SDK ) as a console app or as background service in a batch using Azure Batch, App service, microservice, or any other method. It seems possible, as explained in the archived github projects. …


Azure IoT Hub & Devices consumption
Hello guys, I'm wondering is this behavior expected regarding the used resources. Currently, I'm using Free Tier Azure IoT Hub, Consumption Function App, and Event Grid System Topic. So basically I'm sending the data to the IoT Hub devices &…


How to specify a local storage folder on linux iot edge device for blob storage implementation on edge device?
I have a folder onto my edge device wherein some object detection output images are stored.I want them to store onto local iot edge blob storage. And then sync it with cloud blob storage. how do I achieve this? I have seen the docs which gave the…


Error massage: Something went wrong. Please try again.
Error massage: Something went wrong. Please try again. when click on the button in card BOT: RASA and MS-Team bot integration How can I solve this issue?


AzureEdge SAS Token Expired - JAVA
Hi Guys, In our Java gateway application, we facing a painful of NOT having the control of the SAS token expire time in azure sdk iot device library Those class like ClientOptions is final class which stopped us to override the value of 3600 sec…


Can we test the Azure IoT Hub without using IoT device?
Maybe it's a silly question, but we want to know that can we work on Azure IoT Hub without using the IoT Device?


Getting Connection Status Azure IoTHub client
I am using the Azure C sdk and struggling to implement a solution that checks the connection status during the sending of messages. My application that connects to the iothub is not designed to be persistent, so I need to know if I lose connection while…