Questions tagged [azure-iot-dps]

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

32 questions
1
vote
1 answer

System.ArgumentException: 'Should specify SharedAccessKeyName'

I'm getting this error from Azure IoT Provisioning Service when creating the provisioning client. System.ArgumentException: 'Should specify SharedAccessKeyName' I copied the Connection String from the Portal, what could be wrong? using…
Evandro Pomatti
  • 13,341
  • 16
  • 97
  • 165
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
2 answers

How can DPS use Managed Identity to authenticate access to my Azure Function?

I am using Azure Device Provisioning Service with custom allocation policy with Azure function. I would like to introduce some kind of authentication for the function. The function is also used by other Azure services so I was thinking to have a…
wmizera96
  • 1
  • 1
0
votes
0 answers

HTTP CONNECT to an Azure DPS Endpoint through proxy failing

In one of our customer location, we are trying to enroll a IoT Device to our Azure IoT Platform using Azure DPS. Our Azure Cloud infrastructure has a proxy server in front of Azure DPS. When the IoT device is trying to connect to DPS, the request is…
sri
  • 31
  • 1
  • 4
0
votes
1 answer

Is there a way to set device tag in iotedge config file for DPS?

I have an iotedge device that has x509 DPS activated perfectly. I also have a Deployment that holds 3 docker images ready for deployment for any device with a specific tag. When I need to deploy that to my device, after DPS, I need to edit tags…
Talel BELHADJSALEM
  • 3,199
  • 1
  • 10
  • 30
0
votes
1 answer

Same X.509 in Azure APIM and IOT DPS

I am trying to use same X.509 device certificate for authenticating IOT DPS and API management. Problem is DPS docs mentioning - registation_id of the device must match the subject common name in the device certificate, So we need to put unique ID…
Navin
  • 636
  • 8
  • 19
0
votes
1 answer

Azure IoT Device Provisioning Service: Empty Logs

I'm trying to provision a device with Azure IoT DPS via an X.509 certificate. This currently fails with a 401 status code so I would like to consult the DPS logs to determine what is going on. I have followed the troubleshooting instructions and…
Peter
  • 2,919
  • 1
  • 16
  • 35
0
votes
0 answers

Device provisioning vs Device Commissioning

I would like to understand the key aspects of Device provisioning vs Commissioning in Cloud computing. Could someone please elaborate in simple language to understand difference of what device provisioning refers to and what does Commissioning…
0
votes
2 answers

Azure C SDK sample device provision program unauthorized connection

I am trying to connect a device to be provisioned using Azure IoT. I have tried creating certificates in multiple ways following multiple tutorials on Azure SDK github and Azure documentation. I am using a sample program…
Nv9zEs
  • 5
  • 2
0
votes
2 answers

Device Provisioning via Enrollment group

Azure C SDK supports connecting device to the Device Provisioning Service via Enrollment group ? Developing for FreeRTOS devices.
0
votes
1 answer

How IoT Hub cryptographically validates the certificate chain?

How IoT Hub cryptographically validates the certificate chain for internal consistency and then issues a proof-of-possession challenge to the device ?
0
votes
2 answers

Azure FreeRtos middleware and DPS, on ESP32

I am working on a project, where I am using the Azure FreeRTOS Middleware Stack on ESP32. I would like to introduce DPS to provision all my 3K upcoming devices. The Stack has got a DPS option, but I would like some advice as I would like to generate…
user8400863
  • 655
  • 1
  • 7
  • 17
0
votes
1 answer

Can I add azure functions to a DPS using Terraform?

I'm new to both Terraform and Azure. In a timespan of 6 weeks I have to create an IoT solution. I've only got 3 weeks left. I have to provision devices in an IoT hub using a DPS and if 'm not wrong, a DPS uses azure functions to do so. My question…
0
votes
1 answer

Upload certificate in Azure device provisioning service

How to upload a new certificate programmatically in a device provisioning ? I am able to it manually but how can you upload it from a C# code ? Is there any Api ? I don't see anything about it on the Microsoft Documentation. Moreover, is it possible…
draco951
  • 226
  • 3
  • 13
0
votes
1 answer

HTTP/1.1 401 Unauthorized

Below curl request throwing follwoing errors, any help here? Thanks, Pradeep curl -i -L -X PUT -cert ./certs/new-devices.cert.pem -key ./private/new-devices.key.pem -H 'Content-Type:application/json' -H 'Content-Encoding:utf-8' -d…
Pradeep Jagadeesh
  • 85
  • 1
  • 2
  • 10