Hello @Ben Thanks for reaching out on this forum, we have verified the document at: https://learn.microsoft.com/en-us/azure/iot-dps/quick-create-simulated-device-symm-key
And we were able to run the sample and provision the device via DPS with the Symmetric key attestation.
Troubleshooting steps:
Provisioning API version in your case looks different version than mine.
What is the CMAKE version used?
Did any changes happened in the prov_dev_client_sample.c
file other than the mentioned in the document\tutorial?
We expect the default solution to work with only few changes such as:
- id_scope,
- hsm_type = SECURE_DEVICE_TYPE_SYMMETRIC_KEY;
- prov_dev_set_symmetric_key_info("mytestdevice","djbiw");
Please note that we only make changes in the file prov_dev_client_sample.c
and no other file is updated as part of this tutorial or sample to work as it is.
Please give the document one more try and do let us know your experience.
We really appreciate your kind feedback on this product document, which is very helpful to improve customer experience and helps the community as well.
Please do comment in the below section. Happy to help you!
If the response is helpful, please click "Accept Answer" and upvote it.