0

When I am registering device in IoT Hub with a device_id which is already used, I am not getting the error 409001 devicealreadyexists. Could someone give me a clue of that might be? Thanks

dillci
  • 65
  • 2
  • 10
  • Are you testing it directly in Azure Portal? – asergaz Dec 16 '21 at 11:39
  • I am testing this with code. If we try to create a device directly in the Azure portal, it works fine and it tells us, that we already have device created with that id. – dillci Jan 03 '22 at 08:13
  • 1
    Can you elaborate more? It's difficult to answer this question without a reproducible example or at least some information on what SDK/language/methods you're using. – Matthijs van der Veer Jan 03 '22 at 08:27

1 Answers1

0

Please understand that The device or module ID stored in the identity registry of Azure IoT Hub is case-sensitive. Make sure you are registering the same device with case-sensitive rule in mind.

Reference: Understand the identity registry in your IoT hub

asergaz
  • 996
  • 5
  • 17