Does Azure IoT Edge 1.4 release support custom payload to be sent from DPS to IoT edge device as part of response to registration?

Arjun Sivasree 0 Reputation points
2023-02-10T17:36:03.5133333+00:00

As per Azure IoT Edge 1.4 release note , I can see that a custom payload can be sent from a device to DPS.

But is the reverse scenario supported with this version? Can a custom payload be sent from DPS to an IoT edge module?

Editing the question as per response from @Sander van de Velde

I do understand that a custom payload is sent to DPS when the device is registered, which happens when you run iotedge config apply.

As a response to this registration, an azure function which handles custom allocation policy can send a custom payload response back too.

Qn: Does IoT Edge 1.4 version support reading this custom payload sent the azure function as a response to the IoT edge device registration?

Azure IoT Edge
Azure IoT Edge
An Azure service that is used to deploy cloud workloads to run on internet of things (IoT) edge devices via standard containers.
543 questions
Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,127 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Sander van de Velde 28,956 Reputation points MVP
    2023-02-14T20:42:15.3866667+00:00

    Hello @Arjun Sivasree ,

    The DPS is only involved during enrollment/provisioning.

    Ability to pass a custom json payload to DPS on provisioning

    Actual message communication is done using the appointed IoT Hub.

    Be aware the edge device only makes outbound calls (once the connection is established two-way communication is available) so no other services, including the DPS, can start sending messages to any Azure IoT (edge) device.

    Is this question related to provisioning?