Questions tagged [azure-iot-hub-device-management]

For more details see https://learn.microsoft.com/en-us/azure/iot-hub/iot-hub-device-management-overview

120 questions
1
vote
1 answer

Search an enrollment device on Device Provisioning Service via initialTwin tag

I want to search a specific enrollment device on DPS (based on its 'OL' tag). For that, I use the next piece of code: QuerySpecification querySpecification = new QuerySpecificationBuilder("*",QuerySpecificationBuilder.FromType.ENROLLMENTS) …
1
vote
3 answers

Generate Connection String For Azure IoT Hub From Device JSON After Creation

How do I generate an Azure IoT Hub connection string from deviceInfo, which is a JSON object of device information after I create a new device using the IoT Hub Service NodeJS API. This is my code snippet below. Inside the callback, where the…
1
vote
1 answer

Azure IoT File Upload

I have successfully used this feature to upload files to a storage container in Azure blob storage. I wanted to ask if this form of file upload has the same integrity checks using MD5 hash as there is with normal blob storage uploading. This link…
1
vote
2 answers

What is the function of a partition in the Microsof Azure Iot Hub?

When I'm going to create an Iot Hub, the Azure platform requests for the number of partitions of the IoT Hub. I have read about the partitions on this topic purpose of Azure iot hub device-to-cloud partitions but I don't understand what is the…
1
vote
1 answer

.NET Core app remote deployment to Windows IoT Core on Raspberry Pi

With an UWP app I can deploy the appx package to a Raspberry Pi in multiple ways. From Update apps on your Windows 10 IoT Core devices (12/07/2017): Using Microsoft Store Using Device Update Center Using Azure IoT Device Management Using OMA-DM e.g…
0
votes
1 answer

Device provisioned with DPS always shown as "X509 self-signed" instead of "Certificate Authority"

I try to set an Azure DPS with the authentication type "x509 CA certificate". Everything works except the IoT hub shows devices provisioned with DPS as "X509 self-signed" instead of "Certificate Authority". pic With devices directly created on IoT…
0
votes
1 answer

IotHubTrigger Is not working in Azure Function

I am getting issue IoTHubtrigger in azure function, Befor eit was working fine but suddenly it stops to triggered in azure function. Here is my azure function Code: `using IoTHubTrigger =…
0
votes
1 answer

[Azure IoT Edge]Secure device certificate and key

I have a software solution for IoT edge i.e. I have a exe and rpm installer that consists of the edge installation. The exe and the rpm will be installed on windows and Linux machine respectively. I need to secure my edge device cert and private key…
0
votes
0 answers

Module Twins with config file size limit exceeded on IoT Edge behind a gateway architecture

I'm seeing a Azure IoT project that involves IoT Hub and IoT edge custom modules behind a gateway (nested IoT architecture). Some custom modules have a big configuration file to define the acquiring the signals of thousands tags. I found out the…
0
votes
0 answers

RegistryManager from a Module / Silent fail

I'm not sure if this is a good idea or a crazy one. I want to have an SD template in which my application uses a unique ID to query all the Devices in IOT Hub, and via the RegistryManager queries the IOT HUb Registry to find its own…
0
votes
1 answer

edgeAgent continues to "connect" after device is shutdown

Mind blown, as I think this shows that the Azure IOT Hub connects to the device to get the logs. The timestamp is after I unplugged the device for at least an hour (to ensure that cloud caught up). How is this possible? I'm having a problem in…
codeputer
  • 1,987
  • 3
  • 19
  • 45
0
votes
1 answer

Azure IOT Hub module / Environmental Variable

Long road of learning, and wading through older documents, I finally deploying my IOT Edge module to IOT Hub using this command: az iot edge set-modules --hubname xxx --device-Id yy --content ./deployment.arm64vf8.json When I run this command, i…
codeputer
  • 1,987
  • 3
  • 19
  • 45
0
votes
1 answer

How to generate command output in IoT Central Azure SDK C

I am using IoT Central and am able to successfully send command to the device as well as receive confirmation code. This is executed using the following line: azure_iot_send_command_response(azure_iot, command.request_id, response_code,…
0
votes
1 answer

How to get the route messaging details in IOT hub in python?

I want to know the Python sdk that could be used to get the route messagine details in IOT hub. Basically whatever is shown in the tabular column under Message Routing Tab, is what I need. But I am unable to find the package to get this details.
0
votes
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 this github repo and was able to run it. I used the API but it retured 404…