Microsoft Q&A

Azure IoT Hub

1,010 questions

An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.

Browse all Azure tags

1,010 questions with Azure IoT Hub tags

Sort by: Updated
1 answer

Azure IoT DPS: Does DPS support persistent sessions?

In the DPS documentation (Communicate with DPS using the MQTT protocol) it states that "DPS doesn't support persistent sessions", but the behavior I am observing on my devices connected to Azure using DPS is that there is session persistence,…

Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,010 questions
asked 2023-11-15T19:22:19.2566667+00:00
Bruno Siqueira 0 Reputation points
commented 2023-11-29T02:30:35.59+00:00
LeelaRajeshSayana-MSFT 9,751 Reputation points
1 answer

How to fixed errorCode 401000 when run Azure Iot SDK csharp on windows simulator

when I run command: dotnet run --i xxx --r xxx --p xxx get the follow log; Provisioning API Version: 1.10.1   Registering Device   Provisioning Status: PROV_DEVICE_REG_STATUS_CONNECTED Error: Time:Mon Nov 13 10:48:04 2023…

Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,010 questions
Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
199 questions
asked 2023-11-15T07:27:09.2166667+00:00
hao chen 0 Reputation points
commented 2023-11-29T00:22:35.3666667+00:00
LeelaRajeshSayana-MSFT 9,751 Reputation points
3 answers

My devices don't receive C2D messages anymore from IoT Hub

Hello everyone, I've been going crazy for a few days with my IoT Hub and I can't figure out why. On my devices, I have connected about 60-70 of them, the C2D messaging system doesn't work anymore. My "system" is very simple, it is based on an…

Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,010 questions
asked 2023-11-09T14:26:41.5133333+00:00
Andrea Previtali 51 Reputation points
answered 2023-11-28T23:34:10.7033333+00:00
LeelaRajeshSayana-MSFT 9,751 Reputation points
1 answer One of the answers was accepted by the question author.

error for properties_s when using iot hub logs

I am having trouble with my IoT hub and I am trying to use the logs to see if the problem is on the Azure side. I have looked at Logs under monitoring and then I run the auto-generated script for looking at throttling errors which has an error in it, (it…

Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,010 questions
asked 2023-11-14T07:51:27.7266667+00:00
Henrik Paldan 20 Reputation points
commented 2023-11-28T07:25:50.5033333+00:00
Henrik Paldan 20 Reputation points
1 answer One of the answers was accepted by the question author.

DeviceTwinStatusCallBack method in latest library iot-device-client-2.2.0

Hello everyone, I am facing an issue with the DeviceTwinStatusCallBack method after upgrading the library iot-device-client to verion 2.2.0. In the past, when I used the version 1.x of iot-device-client, there was a method DeviceTwinStatusCallBack , but…

Azure IoT Plug and Play
Azure IoT Plug and Play
A Microsoft technology based on an open modeling language that enables developers to connect internet of things (IoT) devices to the cloud without having to write any code.
15 questions
Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,010 questions
Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
199 questions
asked 2023-11-27T10:52:45.2733333+00:00
Hung Le Minh 20 Reputation points
accepted 2023-11-28T02:55:44.19+00:00
Hung Le Minh 20 Reputation points
1 answer One of the answers was accepted by the question author.

Is there a way to get number of messages per IoT device sending to IoT Hub

Hello, Below code gives me current messages count for IoT hub which is overall count of messages from all the devices. var iotHubClient = await GetIotHubClient(); var mi = await…

Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,010 questions
asked 2022-07-27T16:15:02.403+00:00
@IamCoder 391 Reputation points
commented 2023-11-27T17:09:45.77+00:00
Sander van de Velde 25,341 Reputation points MVP
1 answer

Error updating device Twin

I am trying to update the desired properties of an IotHub device twin and I am getting the following error: Property or Tag name should be maximum 1024 bytes. Neither the property of the tag name are bigger than 1024 bytes, I have tried updating the…

Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,010 questions
asked 2023-11-21T16:06:25.2966667+00:00
Sam Gomez 0 Reputation points
commented 2023-11-27T16:04:14.5366667+00:00
Sander van de Velde 25,341 Reputation points MVP
1 answer One of the answers was accepted by the question author.

No IoT Hub found in current subscription

I have some issues with the use of the IoT Hub. First of all, if I create an IoT Hub, it isn't listed on the Azure CLI command and on the IoT Explorer Preview. In addition, when I create a Cosmo DB account, it is not listed in the creation of a Custom…

Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,010 questions
Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,261 questions
asked 2023-11-22T18:39:35.36+00:00
Claudio Marche 55 Reputation points
accepted 2023-11-24T18:32:32.3166667+00:00
Claudio Marche 55 Reputation points
1 answer One of the answers was accepted by the question author.

How can we get the list of all parent edge devices mapped to an iothub using az cli?

I would like to get the list of all parent devices in a iot hub using az cli to perform some updates specifically on parent devices. Thanks in advance

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.
490 questions
Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,010 questions
asked 2023-09-29T11:59:30.4033333+00:00
PRIYANKA S NAIR 20 Reputation points
accepted 2023-11-24T12:44:11.8533333+00:00
PRIYANKA S NAIR 20 Reputation points
1 answer

Connection for MQTT with SIMCOM A7672E using Azure IOT

Below is the AT command sequence which we are using to communicate with the server but we are getting handshake failure every time. SEND:AT AT Resp: AT OK AT OK SEND:ATE0 AT Resp: ATE0 OK ATE0 OK SEND:AT+CTZU=1 AT Resp: OK AUTOMATIC TIME ZONE IS…

Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,010 questions
asked 2023-09-25T10:27:33.47+00:00
Tushar Uttekar 10 Reputation points
commented 2023-11-24T05:33:38.61+00:00
Tushar Uttekar 10 Reputation points
1 answer

IOT hub to SIMcom7672G Connectivity issue

How to connect the simcom767G to azure iot hub using MQTT protocol how i get the username of iot hub and sas token and iot hub url and iot hub api version am using this…

Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,010 questions
asked 2023-11-23T10:27:11.9633333+00:00
Vignesh 0 Reputation points
edited an answer 2023-11-24T02:46:46.53+00:00
AshokPeddakotla-MSFT 21,366 Reputation points
1 answer

Where is better use cases to use Azure Event Grid with MQTT in IoT system ?

I'd be glad if anyone could support me. I'd like to know about Azure Event Grid with MQTT use cases. In Microsoft Build 2023, Azure Event Grid supporting MQTT was announced, but I am not sure the main differences between the existing IoT Hub and this…

Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,010 questions
Azure Event Grid
Azure Event Grid
An Azure event routing service designed for high availability, consistent performance, and dynamic scale.
278 questions
asked 2023-06-05T08:17:11.58+00:00
ks 35 Reputation points
commented 2023-11-23T10:24:30.96+00:00
SEYNAEVE Gerdy (SGI/MST) 1 Reputation point
1 answer

Managing Firmware with Two Device Provisioning Services - Seeking Ideas and Solutions

In our current development project for a customer, we are implementing a solution that requires both a development (dev) environment and a production (prod) environment. The challenge we're facing is related to firmware management. We aim to have a…

Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,010 questions
asked 2023-11-08T11:21:11.12+00:00
Pim van der Meer 5 Reputation points
commented 2023-11-23T06:32:15.61+00:00
AshokPeddakotla-MSFT 21,366 Reputation points
2 answers One of the answers was accepted by the question author.

Alerts using stream analytics or EventGrid?

We are planning to use stream analytics to connect it to PowerBI. Also for the cold path we will store the telemetry data in a database. To add alerts (emails for example) - Is it good to have a separate path (through EventGrids->LogicApp) or should…

Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,010 questions
asked 2023-06-13T13:07:18.25+00:00
Sagar Epari 130 Reputation points
commented 2023-11-22T21:52:36.9033333+00:00
LeelaRajeshSayana-MSFT 9,751 Reputation points
1 answer

want to send the array type data to the digital twin and unable to view the telemetry data in digital twin

I want to send the data of type array to the digital twin. So I am sending the data to the IOT hub and from there to the functional app. I am facing the problem when I want to create a property of the twin of array type. I am deploying the digital twin…

Azure Digital Twins
Azure Digital Twins
An Azure platform that is used to create digital representations of real-world things, places, business processes, and people.
196 questions
Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
3,679 questions
Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,010 questions
asked 2023-11-06T11:37:17.8133333+00:00
RAJBHAR, SUSHANT 0 Reputation points
commented 2023-11-22T15:41:14.45+00:00
AshokPeddakotla-MSFT 21,366 Reputation points
0 answers

AutoScale IOTHub based on condition

I want to autoscale iothub based on certain conditions , like when the number of messages used are 90% ,or when throttling happens . but there seems to be no option for that in the azure portal . kindly suggest how to achieve the same .

Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,010 questions
asked 2023-11-22T05:45:40+00:00
siddharth bansal 311 Reputation points
commented 2023-11-22T06:57:22.3166667+00:00
AshokPeddakotla-MSFT 21,366 Reputation points
1 answer One of the answers was accepted by the question author.

How to ingest dynamic data to ADX?

I am connecting to Azure IoT Hub through Azure Data Explorer (ADX) to get JSON-formatted streaming data. However, this JSON is in a nested format, and the fields of the nested objects are not fixed. How can I flatten and store it in ADX? The JSON data…

Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,010 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.
424 questions
asked 2023-11-17T07:47:58.6866667+00:00
jane 40 Reputation points
accepted 2023-11-22T06:39:25.7433333+00:00
jane 40 Reputation points
3 answers One of the answers was accepted by the question author.

Error in creating IoT Hub Free Tier

Every time I try to deploy an IoT Hub (free tier), the deployment fails. This is the error: { "status": "Failed", "error": { "code": "IotHubActivationFailed", "message":…

Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,010 questions
asked 2023-11-17T16:48:08.1666667+00:00
Claudio Marche 55 Reputation points
accepted 2023-11-21T21:18:38.89+00:00
Claudio Marche 55 Reputation points
1 answer

Want to on or off the physical robotic arm from the digital twin 3D scene

I am pushing my physical robotic arm data to the digital twin through IOT hub and azure functions. I also integrated the digital twin with the 3D scenes and I would able to view the data in it. Now, my requirement is I should be able to on or off the…

Azure Digital Twins
Azure Digital Twins
An Azure platform that is used to create digital representations of real-world things, places, business processes, and people.
196 questions
Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
3,679 questions
Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,010 questions
asked 2023-11-09T09:30:46.2966667+00:00
RAJBHAR, SUSHANT 0 Reputation points
commented 2023-11-21T15:22:53.3+00:00
AshokPeddakotla-MSFT 21,366 Reputation points
1 answer

Unable to create IOT Hub , failed with Code: ResourceDeploymentFailure

{"code":"DeploymentFailed","target":"/subscriptions/051d806a-cb57-473f-b4a7-1c6299c3439d/resourceGroups/iot-reg-one/providers/Microsoft.Resources/deployments/iot-one-1117223051","message":"At least…

Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,010 questions
asked 2023-11-18T03:42:26.4466667+00:00
RAMESH TAMMA 0 Reputation points
commented 2023-11-21T13:53:06.87+00:00
AshokPeddakotla-MSFT 21,366 Reputation points