azure-docs icon indicating copy to clipboard operation
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

Open helastel-omar-ebrahim opened this issue 2 years ago • 1 comments

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.

helastel-omar-ebrahim avatar Dec 14 '22 11:12 helastel-omar-ebrahim

@helastel-omar-ebrahim Thanks for the feedback! I have assigned the issue to the content author to evaluate and update as appropriate.

AshokPeddakotla-MSFT avatar Dec 14 '22 13:12 AshokPeddakotla-MSFT

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.

kgremban avatar Jun 13 '23 18:06 kgremban

These updates were made last year but not tagged in the issue at the time. Closing now as resolved.

#please-close

kgremban avatar Apr 10 '24 20:04 kgremban