Device Provisioning - Adding an X509 Enrollment

Category: azure iot hub


Lukas_H on Thu, 02 Nov 2017 10:39:47


I'm trying to add an individual enrollment to a device provisioning service. For this, I've created a self-signed certificate in Windows using the following command in a powershell:

New-SelfSignedCertificate -KeyUsageProperty All -CertStoreLocation "Cert:\CurrentUser\My" -Subject "CN=Test"

Then I exported the certificate from the store as a base64-encoded file and tried to add it to azure. When I do this, I get the following error:

{"errorCode":400004,"trackingId":"ac8f73b6-1b3a-4cca-920c-1b9f8ac1d3f2","message":"Invalid RegistrationId","timestampUtc":"2017-11-02T10:35:13.1597824...

As registration ids are not even part of the x509-standard, I do not see my error. Please help me.


Michael Xu-MSFT on Fri, 03 Nov 2017 09:57:44

Hi, Lukas_H

     I am trying to involve someone familiar with this topic to further look at this issue. There might be some time delay for this complex issue. Appreciate your patience.

Best Regards,