Microsoft Q&A

Azure IoT SDK

163 questions

An Azure software development kit that facilitates building applications that connect to Azure IoT services.

Browse all Azure tags

163 questions with Azure IoT SDK tags

Sort by: Updated
1 answer

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…

Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
696 questions
Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
163 questions
Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
1,423 questions
asked 2023-02-02T20:54:20.8733333+00:00
Lachlan Pedersen 0 Reputation points
commented 2023-02-06T22:57:31.2366667+00:00
Sander van de Velde 15,251 Reputation points MVP
1 answer

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…

Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
163 questions
Azure Sphere
Azure Sphere
An Azure internet of things security solution including hardware, operating system, and cloud components.
125 questions
asked 2023-01-24T10:11:56.97+00:00
Anonymous
edited a comment 2023-02-06T14:06:10.6333333+00:00
LeelaRajeshSayana-MSFT 976 Reputation points
2 answers One of the answers was accepted by the question author.

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…

Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
696 questions
Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
163 questions
asked 2023-01-27T03:16:47.56+00:00
DEEPAK KUMPALA 106 Reputation points
accepted 2023-02-06T06:21:45.18+00:00
DEEPAK KUMPALA 106 Reputation points
0 answers

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…

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.
388 questions
Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
163 questions
asked 2023-02-01T09:37:17.24+00:00
Philip 0 Reputation points
commented 2023-02-02T08:11:02.2966667+00:00
Philip 0 Reputation points
1 answer

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…

Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
163 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.
388 questions
asked 2023-02-01T05:08:48.9333333+00:00
Madanala, Jayashree 86 Reputation points
answered 2023-02-01T07:53:00.7833333+00:00
Matthijs van der Veer 3,656 Reputation points MVP
0 answers

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…

Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
163 questions
asked 2023-01-12T23:38:58.0566667+00:00
Abby Greentree 56 Reputation points
commented 2023-01-30T23:48:11.91+00:00
LeelaRajeshSayana-MSFT 976 Reputation points
1 answer

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 IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
163 questions
asked 2023-01-25T01:34:12.07+00:00
Steven Drake 0 Reputation points
answered 2023-01-25T23:31:53.5833333+00:00
Sander van de Velde 15,251 Reputation points MVP
2 answers

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…

Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
163 questions
asked 2022-12-02T18:53:36.933+00:00
Jeffrey Beman 1 Reputation point
edited an answer 2023-01-25T15:41:55.7066667+00:00
Satish 13,631 Reputation points
1 answer

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…

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.
388 questions
Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
163 questions
Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
696 questions
asked 2023-01-13T12:57:13.6433333+00:00
Manoharan, Kesavaraj 0 Reputation points
answered 2023-01-19T22:12:38.85+00:00
Manoharan, Kesavaraj 0 Reputation points
1 answer

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.

Azure Sphere
Azure Sphere
An Azure internet of things security solution including hardware, operating system, and cloud components.
125 questions
Azure IoT
Azure IoT
A category of Azure services for internet of things devices.
254 questions
Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
163 questions
asked 2023-01-13T11:33:36.62+00:00
Anonymous
commented 2023-01-18T09:03:24.1833333+00:00
Anonymous
1 answer One of the answers was accepted by the question author.

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…

Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
696 questions
Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
163 questions
Azure IoT
Azure IoT
A category of Azure services for internet of things devices.
254 questions
asked 2023-01-05T12:16:14.92+00:00
Y MRUDULA 21 Reputation points
commented 2023-01-16T19:16:03.1166667+00:00
Y MRUDULA 21 Reputation points
1 answer

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…

Azure IoT
Azure IoT
A category of Azure services for internet of things devices.
254 questions
Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
163 questions
Azure IoT Device Provisioning Service
Azure IoT Device Provisioning Service
A helper service for Azure IoT Hub that enables zero-touch, just-in-time provisioning to the right IoT hub without requiring human intervention.
84 questions
asked 2023-01-10T10:53:26.737+00:00
Mirza Haad Baig 1 Reputation point
commented 2023-01-12T10:30:27.8966667+00:00
Mirza Haad Baig 1 Reputation point
1 answer One of the answers was accepted by the question author.

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…

Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
163 questions
asked 2022-12-16T16:10:24.463+00:00
Abby Greentree 56 Reputation points
accepted 2023-01-03T14:49:55.537+00:00
Abby Greentree 56 Reputation points
1 answer One of the answers was accepted by the question author.

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
Azure IoT
A category of Azure services for internet of things devices.
254 questions
Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
163 questions
Azure Batch
Azure Batch
An Azure service that provides cloud-scale job scheduling and compute management.
237 questions
Azure App Configuration
Azure App Configuration
An Azure service that provides hosted, universal storage for Azure app configurations.
185 questions
asked 2022-12-16T05:09:02.897+00:00
Chandra Mohan 441 Reputation points
accepted 2022-12-21T13:04:58.39+00:00
Chandra Mohan 441 Reputation points
1 answer One of the answers was accepted by the question author.

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 &…

Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
696 questions
Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
163 questions
asked 2022-12-01T14:28:38.397+00:00
Domagoj Bazina 221 Reputation points
commented 2022-12-02T12:10:42.953+00:00
Christian 1,766 Reputation points
2 answers

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…

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.
388 questions
Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
1,423 questions
Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
163 questions
Azure Storage Explorer
Azure Storage Explorer
An Azure tool that is used to manage cloud storage resources on Windows, macOS, and Linux.
148 questions
asked 2020-12-30T15:18:03.713+00:00
Anurag Shelar 181 Reputation points
answered 2022-11-28T09:05:15.827+00:00
Vishu Tyagi 1 Reputation point
0 answers

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?

Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
163 questions
asked 2022-11-05T07:18:53.177+00:00
Saurav Mandal 1 Reputation point
commented 2022-11-10T05:24:23.753+00:00
Ashok Peddakotla 9,961 Reputation points
1 answer

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…

Azure IoT
Azure IoT
A category of Azure services for internet of things devices.
254 questions
Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
163 questions
asked 2022-08-04T03:07:51.413+00:00
Lim Kim Chang (AquaEasy) 6 Reputation points
answered 2022-11-08T16:09:17.837+00:00
LeelaRajeshSayana-MSFT 976 Reputation points
3 answers

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?

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.
388 questions
Azure IoT
Azure IoT
A category of Azure services for internet of things devices.
254 questions
Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
163 questions
Azure IoT Central
Azure IoT Central
An Azure hosted internet of things (IoT) application platform.
259 questions
asked 2022-11-03T13:31:49.467+00:00
Priyansh Kumar 1 Reputation point
commented 2022-11-07T08:33:54.3+00:00
Ashok Peddakotla 9,961 Reputation points
1 answer

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…

Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
696 questions
Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
163 questions
asked 2022-10-13T00:37:19.413+00:00
David 6 Reputation points
commented 2022-10-18T05:54:13.23+00:00
Satish 13,631 Reputation points