Questions tagged [azure-iot-dps]

The IoT Hub Device Provisioning Service is a helper service for IoT Hub to enable device provisioning.

32 questions
3
votes
1 answer

X509_check_private_key:key values mismatch error: DPS ,IOT hub

I am not able to create Devices on IOT hub in node.js. I have replaced provisioning host with the Global Device Endpoint, idScope with the ID Scope of my DPS. I am using group enrollment with x.509 certificates, so i am using certificate's subject…
3
votes
1 answer

How to use "Azure IoT Hub Device Provisioning Service" from Android Application to register device and send telemetry reading to Azure IoT Hub?

We need to connect Android Application with Azure IoT Hub to send the telemetry readings at continuous intervals. For this communication, we would need to register the device with Azure IoT Hub. This process is easy and smooth if we have few handful…
Amnesh Goel
  • 2,617
  • 3
  • 28
  • 47
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

Error: "No credentials are available in the security package" with DPS SDK

I am attempting to use the IoT SDK to communicate to DPS and then IoT Hub. When I load a valid certificate PEM file, it looks correct in debug window shown below: After loading the cert, I am unable to use it in the IoT SDK, getting the error…
Kevin Saye
  • 299
  • 1
  • 8
2
votes
1 answer

Using TPM attestation on a Rapberry Pi 3 Device

I have followed the Quickstart to Provision a simulated TPM device using the Azure IoT C SDK. I now want to do the same on a Raspberry Pi 3 - with an add-on GPIO TPM module for the Raspberry Pi platform based on an Infineon Optiga™ SLB 9670 TPM 2.0.…
asergaz
  • 996
  • 5
  • 17
2
votes
1 answer

Where is X509 certificate used by iot-device in "auto-provision a simulated device(python)" Quick-start Guide?

The question is with reference to ""https://learn.microsoft.com/en-us/azure/iot-dps/quick-create-simulated-device-x509-python" The section…
2
votes
1 answer

Deployment config in edge agent's desired properties is empty

I meet a problem as the title said. Description: 1.I use the DPS with fTPM , Windows platform. 2.After run Initialize-IoTEdge -dps in powershell , I get the error in EdgeAgent's log:"Deployment config in edge agent's desired properties is…
Lucky
  • 31
  • 4
2
votes
1 answer

setting deviceID when provisioning with custom HSM

I am trying to prototype a X509 certificates based group enrollment, and not for only one device (as dice_device_enrollment by default would provide), but for several, and, from what I learned, I will need to implement my own custom HSM library.…
Roman
  • 238
  • 1
  • 14
1
vote
1 answer

Azure IOT Device Provisioning - How to get the IOT Device Primary Connection String from the Device/Provisoning Client SDK?

I'm testing IOT Device Provisioning using a C# sample code quickstart "Provision a simulated TPM device" MS Docs reference Quickstart: Provision a simulated TPM device I can successfully provision the device, but I want the device provisioning…
OJB1
  • 2,245
  • 5
  • 31
  • 63
1
vote
3 answers

Group enrollment in Azure Device Provisoning Service (DPS) not working through REST API: unauthorized 401002

I am trying to support DPS for my ESP32 firmware through HTTPS REST API using SAS. My device registration ID is: xx-xx-8c4b14149ff4 I took the group enrollment from DPS primary key to generate the symmetric key from the registration ID. I created…
Stéphane de Luca
  • 12,745
  • 9
  • 57
  • 95
1
vote
0 answers

Format of TPM public EK for DPS enrollment

I'm trying to use TPM based enrollment to my IoT Hub. We have a couple devices already in the field (running windows iot ent) so I've written a basic PS script to get their TPM public EK and enroll them manually in our DPS. The script produces a…
bbnt
  • 128
  • 1
  • 8
1
vote
2 answers

Update certificate for an individual enrollment in azure DPS via REST API

I am doing operations on azure DPS via REST apis. I am able to post a new provision successfully in "Create new individual enrollment", via REST API.The Url is used is,…
Rakesh S
  • 31
  • 2
1
vote
1 answer

Is there any REST API to programmatically link IoT hub when creating Azure DPS?

Looking for a REST Api that Creates DPS as well as link to an existing IoT hub. I see that we can do via Azure CLI but looking for REST Api calls as my web app(Azure App service) needs to first create Iot hub and then use this as a link while…
mv_05
  • 109
  • 12
1
vote
1 answer

How to handle multiple device clients provisioned through DPS(Group Symmetric key) to IoT Central from a gateway device

We have a gateway device(not running IoT edge runtime). We want to connect multiple BLE or Zigbee sensors to the gateway and provision/register them through our gateway device to IoT Central as different devices using group symmetric key…
1
vote
1 answer

Azure Iot Hub Device Provision System with mqtt

I'm trying to understand if I can use mqtt to handle provisioning of my device via the Device Provision System. Not much to read about that but what I have found is that you should connect to global.azure-devices-provisioning.net. I'm wondering…
EinarMar
  • 45
  • 5
1
2 3