DPS Connection to Azure IoTHub with local auth disabled

Abby Greentree 171 Reputation points
2024-06-18T00:18:20.5033333+00:00

Is it possible to link an IoTHub to DPS with local auth disabled on the IoTHub instance?

Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,198 questions
{count} votes

Accepted answer
  1. Dom 1,631 Reputation points Microsoft Employee
    2024-06-18T10:35:42.48+00:00

    Hi @Abby Greentree ,

    The short answer is "no".

    When you link a DPS instance to an IoT hub, you use a SAS key with a specific set of permissions. The DPS instance uses this, for example, to add device registrations to the IoT hub.

    If you disable local auth in IoT Hub, you're disabling the use of shared access policies so that DPS can longer connect.

    This is called out in the DPS documentation: https://learn.microsoft.com/en-us/azure/iot-dps/how-to-manage-linked-iot-hubs#limitations


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.