For more details see https://learn.microsoft.com/en-us/azure/iot-hub/iot-hub-device-management-overview
Questions tagged [azure-iot-hub-device-management]
120 questions
3
votes
1 answer
Querying Iothub device twin tags using string methods
I wants to get list of devices which starts with 'test' word.
Or something like, get all devices where tags.email starts with 'test'.
I have gone through documentation, but as per my findings it only supports querying with exact match and also…

Anonymous
- 66
- 4
3
votes
2 answers
Register Device using rest API of Azure device provisioning service?
I have to register a device on IoT hub using DPS service. I cannot use the .net SDK as device firmware does not support so we decided to use the REST based API's to do the same.
With C# SDK all I need are the .PFX file with password, DPS_IDSCOPE and…

JARVIS
- 765
- 1
- 8
- 28
3
votes
2 answers
azure iot-hub device twin remove desired properties
Following is my device twin payload, By mistake I have added "someKey" property to it.
{
desired: {
"state": {
"processor": "running",
"light": "on"
},
"someKey": "someValue"
}
}
I want to remove…

vikram eklare
- 800
- 7
- 25
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
1 answer
Update device twin when reprovisioning with custom allocation policy
In Azure Device Provisioning Service
when using a custom allocation policy,
with '--reprovision-policy reprovisionandmigratedata'
is it possible to migrate the device twin data when the changing hubs and change some of the values in the twin?
From…

tymtam
- 31,798
- 8
- 86
- 126
2
votes
1 answer
Programmatically declare a parent-child relationship between the devices in IoT Hub using Node SDK
Using the Node SDK, I have programmatically created devices in IoT Hub. I wish to know if the Node SDK provides me the capability to set a device as a child of another device.
Looking at the documentation, I didn't find a way (using SDK). Is there…

Salomi Edward
- 533
- 4
- 15
2
votes
1 answer
Unauthorized exception when using Azure IoT Hub Device Provisioning Service (DPS)
I'm trying to migrate an existing solution with Azure IoT Hub to use Azure IoT Hub Device Provisioning Service (DPS).
The devices authenticate themself using a X.509 Self-Signed certificate.
For testing purposes I can generate a certificate…

johnor
- 33
- 6
2
votes
1 answer
Azure IOT hub provisioning error: AMQP transport exception IotHubUnauthorizedAccess 401002
While trying to provision device through Azure DPS is not working. it is giving error.
Unhandled Exception: Microsoft.Azure.Devices.Provisioning.Client.ProvisioningTransportException: AMQP transport exception ---> Microsoft.Azure.Amqp.AmqpException:…

Gaurangkumar Shah
- 21
- 3
2
votes
1 answer
Azure IoT device update to report twin properties fails if there is already different record there
I have an IoT board that was hosting an application with a set of properties that it reported. I then loaded a new application onto that board. Now the twin properties update fails with a 400 error. Here are the existing properties from the…

farhadf
- 1,918
- 3
- 19
- 27
2
votes
1 answer
How to provision an Azure IoT device from a mobile app
My requirement is to develop a mobile app which itself register the mobile device in an IoT hub using provisioning services.
I am developing a mobile application using react native and Azure IoT Java SDK. It is to send telemetry data to Azure IoT…

Pop Checker
- 71
- 1
- 4
2
votes
1 answer
Writing testable code with Microsoft.Azure.Devices.Client.DeviceClient
The signature for DeviceClient class in Microsoft.Azure.Devices.Client is
public sealed class DeviceClient : IDisposable.
This doesn't really suggest ideas for how to write testable code for the class that uses the client.
The client depends on a…

tymtam
- 31,798
- 8
- 86
- 126
1
vote
1 answer
Terraform Create Azure IoT Device Provisioning Service Enrollment Group
I've been trying to create an Azure IoT Hub Device Provisioning Servince along with Enrollment Group that is using X509 Certificates.
As far as I can see there's no way to do it using azurerm provider. I've also tried to explore azapi options but it…

mickl
- 48,568
- 9
- 60
- 89
1
vote
0 answers
Azure IotHub - Schedule jobs on multiple devices 504 Gateway timeout
I am trying to make IotHub api request from postman for creating job to invoke direct message on multiple iot devices, I am getting iothub-errorcode 504 Gateway timeout error.
Following steps i performed:
Created IotHub account on Azure
Created a…

Adeel
- 21
- 2
1
vote
0 answers
Open api specification for Azure Iothub devices
I can't seem to find open api spec for azure iothub devices related operations. I'm talking about specifically these operations. I need openapi spec so that I can use autorest to genrate client code in golang.

Salman Azmat
- 298
- 6
- 18
1
vote
1 answer
How to add ZScaler certificate to edgeHub and edgeAgent?
I have issue with connectivity using Azure IoT Edge behind Zscaler. I know that I need to somehow install the ZScaler cerificate on host machine and Docker containers. I was able to install it in Ubuntu server and it worked because right now I get…

Maci3jPy
- 11
- 1