Azure IoT Hub is a fully managed Microsoft service that enables reliable and secure bi-directional communications between millions of IoT devices and a solution backend.
Questions tagged [azure-iot-hub]
2008 questions
0
votes
0 answers
Getting keyfactory error while parsing x509 certificate to android
When I'm trying to parse my x509 certificate to android I'm getting the key-factory Error
I have generated my x509 certificates from…

Jay Gajjar
- 23
- 6
0
votes
2 answers
How to send messages to iot edge hub using REST?
I'm using iot edge modules. I need to send messages to the hub from the edge module.
Per my understanding, I need to send it first to the iot edge hub, the edge hub will take care of transferring it to the cloud iot hub. I can consume it from…

George Moussa
- 331
- 1
- 2
- 14
0
votes
1 answer
Deploy EventGrid using powershell
I have an EventGrid for analyzing the device active and inactive status which means Azure IOT collect the information from sensors and publish the event to EventGrid and subscribe to Azure Queue. It is working fine. Now, I want to deploy this…

Syam Kumar
- 343
- 5
- 16
0
votes
1 answer
Azure Device Twin desired and reported properties synchronization
What is the most appropriate way to synchronize desired and reported properties.
Currently how I think it should be:
On the Azure portal setup routing of "desired property update" event to IotHub.
Create class implementing…

amplifier
- 1,793
- 1
- 21
- 55
0
votes
1 answer
Azure function with Entity Framework and concurrency
I have an IotHub trigger which basically saves an incoming id to the database using Entity Framework if such an id does not exist.
[FunctionName("MainFunc")]
public static async Task Run(
[IoTHubTrigger("messages/events",
…

amplifier
- 1,793
- 1
- 21
- 55
0
votes
1 answer
How to update Azure Iothub device status using REST API?
I'm trying to update Iothub device status using Rest API.
Link: https://learn.microsoft.com/en-us/rest/api/iothub/service/createorupdatedevice
I was able to create a new device using it but not able to update anything.
Request:
{
"eTag":…

hindustani modi
- 3
- 2
0
votes
4 answers
Device Provisioning custom allocation - setting initial Device Twin in azure function
Custom allocation supports setting the initial device twin as well as the IoT Hub. The device twin does not get set.
I've configured the device provisioning service in Azure to use a custom Azure Function. In the Azure function, via custom API, we…

user2503078
- 737
- 1
- 8
- 24
0
votes
1 answer
How to register correctly for direct methods in an iot edge java module?
I have an iot edge module in java developed with VS code. Up to now everything was working (meaning: I can send messages to the iot hub without problems). Now I want to add the option to receive messages from the iot hub. As this is not directly…

PKetterle
- 1
- 1
0
votes
1 answer
IoT hub certificate validation
We have the following certificate chain:
RootCA -> IntermProduction -> [leaf certificates]
RootCA -> IntermTest -> [leaf test certificates]
Does it make a difference if I:
a) Upload to IoT hub RootCA
b) Upload to IoT hub both
IntermProduction…

Maxim Zabolotskikh
- 3,091
- 20
- 21
0
votes
3 answers
Is FileUpload functionality for Azure IoT Java SDK possible on Android?
We've been trying to use the Azure IoT SDK for Java on Android (via Kotlin) to initiate blob file uploads. The process seems to hang after the SAS token is received and the call to the CloudBlockBlob constructor is made.
So I tried calling the…

Jim O'Neil
- 23,344
- 7
- 42
- 67
0
votes
1 answer
Why should I restore the keys in Azure Device Provisioning?
I'm using the service Device Provisioning for my Azure IoT solution.
I've created a group of registration with Symmetric key attestation.
From the guide: By default, the Device Provisioning Service creates new symmetric keys with a default length of…

davide.ferrari
- 221
- 2
- 10
0
votes
1 answer
Azure IoT Hub: "Signing certificate info did not match chain elements"
I was following this tutorial (https://learn.microsoft.com/en-us/azure/iot-dps/tutorial-group-enrollments) where the goal is to create a group enrollment in Azure Provisioning Service and connect a simulated device to it. After creating the group…

1160716
- 1
0
votes
1 answer
Can't fetch data in cosmos DB
Hi i simulate data de to send in azureIoT. getting sample data works fine and when i use stream analytics with cosmos DB nothing is fetched in the data collection. everthing is empty.
i tried the change my connection (maybe my company's firewall)…

Saif Ejjilali
- 107
- 2
- 3
- 12
0
votes
0 answers
Connection To The Azure Portal Timed Out With Java Custom Module
I am trying out writing custom java module for azure IoT Edge runtime. I am following Tutorial: Develop a Java IoT Edge module and deploy to your simulated device
I have 64 bit Ubuntu 18.04 machine and installed Azure IoT edge runtime by following…

Raj
- 496
- 7
- 27
0
votes
1 answer
Is there a way to set parent device while creating an Azure IoT Hub device using node-red?
I am using node red (node-red-contrib-azure-iot-hub) to register the new devices on Azure IoT Hub. The 'Azure IoT Hub Registry' node allows to register new IoT device. I want to set a Parent Device for the new device that I am creating. However, I…