azure-docs
azure-docs copied to clipboard
Import and export IoT Hub device identities in bulk references blob but does not create it in the code examples
The code references await blob.DeleteIfExistsAsync();
but it's never initialised in the examples, so it's not clear what it should be
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.
- ID: c61ea03e-8fb1-bcc1-d4ae-4a1efbc05cb5
- Version Independent ID: e9354e97-6bce-cb38-e240-f6c316a14dcd
- Content: Import/Export of Azure IoT Hub device identities
- Content Source: articles/iot-hub/iot-hub-bulk-identity-mgmt.md
- Service: iot-hub
- GitHub Login: @kgremban
- Microsoft Alias: kgremban
@helastel-omar-ebrahim Thanks for the feedback! I have assigned the issue to the content author to evaluate and update as appropriate.
The code snippets in that article are there for educational purposes, and don't make a complete sample. If you want to test an import/export sample, here's one in the C# SDK: https://github.com/Azure/azure-iot-sdk-csharp/tree/main/iothub/service/samples/how%20to%20guides/ImportExportDevicesSample.
We'll update this article to point to this working sample for reference, and then close this issue when that's complete. Thank you for the feedback.
These updates were made last year but not tagged in the issue at the time. Closing now as resolved.
#please-close