DPS Connection to Azure IoTHub with local auth disabled

Abby Greentree 171 Reputation points

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,153 questions
{count} votes

Accepted answer
  1. Dom 1,631 Reputation points Microsoft Employee

    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