Azure IotEdge: What to do if runtime setup does no work?

You have executed runtime setup with following command:

iotedgectl setup --connection-string ";DeviceId=devicename;SharedAccessKey=*****" --nopass

Unfortunately command fails with following error:

ERROR: Error deleting directory: C:\ProgramData\azure-iot-edge\data\certs\edge-device-ca. Errno: 13, Error: Access is denied

I have no idea why this happen, but you can work around this by deleting of following folders manually. Delet all subfolders of following folder:


comments powered by Disqus