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
3
votes
3 answers
How to delete all devices from Azure IoT Hub using C#?
I tried to delete devices using RemoveDeciceAsync method through a loop after retrieving all devices using GetDevicesAsync method. But this deletion process throws exception sometimes for some devices. Please note that the exception is not always…

user1814131
- 259
- 4
- 16
3
votes
3 answers
IoT Hub emulator?
Is there an emulator or any suggestions for setting up developer environments with IoT Hub. Having a single IoT Hub in our dev environment shared by all our developers is problematic because messages from each developer are handled by all…

Eli Pulsifer
- 713
- 9
- 25
3
votes
2 answers
M2MQTT Disconnecting from Azure IoT Hub on Publish
I'm trying to use M2MQTT library to send MQTT messages to an Azure IoT Hub. I've followed the guidance here IoT Hub MQTT support to come up with the right parameters for connect and so on in the native MQTT section of that article.
I'm connecting…

Brian Noyes
- 1,880
- 2
- 12
- 10
3
votes
0 answers
IoT Hub device send/receive messages via ActiveMQ
I'm asking for a support on a task I'm currently working on. I'm trying to connect my device to the IoT Hub via ActiveMQ. I have following reasons to do so:
The company I'm working for currently uses own servers with ActiveMQ running on both device…

Milano Nicolum
- 131
- 1
- 6
3
votes
1 answer
Azure IoT Push notifications
I'm little confused by using Azure IoT Hub. I can't figure out how is it possible to trigger api function of sending push notifications for iOS/Android stored on Azure by IoT device using IoT Hub?
Any help would be appreciated!

Dmitriy Stupivtsev
- 832
- 1
- 8
- 17
3
votes
1 answer
Throttles, Quotas and Pricing of Azure IoT Hub
After reading about the throttles and quotas of Azure IoT Hub, I am struggling to understand how an IoT Hub can support millions of devices (Microsoft's promise). Maybe you guys can help. These are my thoughts so far:
Quote from Microsoft doc
Device…

Helikaon
- 1,490
- 13
- 30
3
votes
2 answers
Calling Azure IoT Hub from IPhone
I followed the Azure IoT tutorial at:
https://azure.microsoft.com/en-us/documentation/articles/iot-hub-csharp-csharp-getstarted/
and everything works great.
I now have a new requirement, which is to connect to the IoT hub from an iPhone. In the C#…

OJ Raqueño
- 4,471
- 2
- 17
- 30
3
votes
1 answer
Azure Iot Hub FeedbackReceiver ReceiveAsync is very slow (15 seconds) high latency
if I send a message (Cloud 2 Device) via the IoT-Hub:
var serviceMessage= new Message(Encoding.ASCII.GetBytes("Hello Device"));
serviceMessage.Ack = DeliveryAcknowledgement.Full;
commandMessage.MessageId = Guid.NewGuid().ToString();
await…

Franklin84
- 463
- 1
- 6
- 20
2
votes
0 answers
How to get C2D messages that are put in Dead Letter Queue (DLQ)?
I'm using Azure IOT Hub and we will start sending C2D messages to some devices.
According to the documentation provided by Microsoft (available here: The cloud-to-device message life cycle) a device can reject a message, which means that message…

lwb
- 379
- 5
- 17
2
votes
2 answers
"unauthorized: authentication required" when trying to docker push onto Azure container registry
I am following this tutorial showing how to develop IoT Edge modules with Linux containers.
I have created an Azure registry (I will call it myazureregistry).
Now I am trying to "docker push" the example module to this registry:
sudo docker push…

Sheldon
- 4,084
- 3
- 20
- 41
2
votes
0 answers
Connect Arduino + ESP8266 to Azure IoT Hub Device via X509 certificate
I have hard times finding a solution, or writing my own, where I can connect ESP8266 with Azure IoT Hub Device via X509 certificate. Currently, I can connect using the symmetric key connection to my device, but I have devices that I want to…

Vitomir
- 335
- 2
- 15
2
votes
1 answer
Azure IoT Hub device registration via POSTMAN results in Unauthorized
I want to create a sas token for registration of device in Azure IoT hub,using postman.The sas token will be created with pre-requested script.
var resourceUri = "scopeId/registrations/deviceId" // The resource uri
var deviceId =…

Liverpool
- 265
- 7
- 21
2
votes
1 answer
PlatformNotSupportedException thrown in MAUI on macOS when connecting Azure IoT Hub
I am exploring MAUI on macOS. I am porting a WPF application to evaluate the functionalities. The application is connecting to an Azure IoT Hub instance.
Here is the section of code that seems problematic:
var iotHubConnectionStringBuilder =…

Kzryzstof
- 7,688
- 10
- 61
- 108
2
votes
1 answer
How to provision Azure Iot Device via another device which has Iot Edge Runtime?
Achieved ->
Provisioned Iot Device using Iot SDK directly with Device Provisioning Service
Provisioned Iot Edge Device using configurations with Device Provisioning Service
Expected ->
Provision all Iot Device via Iot Edge device which means Iot…

Sanjay Singh
- 231
- 1
- 3
- 11
2
votes
1 answer
How to get (feedback)acknowledgments for messages sent to a device from IoT Hub in python?
I am able to send messages and reported-properties from iot hub to a simulated device through azure-iot-sdk-python.
Now i wanna get acknowledgments (success,expired,rejected,purjed,DeliveryCountexceeded) for messages sent to the device/module from…

giri rajh
- 45
- 4