How to patch Reported Properties using HTTPS

Peter Tran 0 Reputation points
2025-07-02T17:14:07.21+00:00

Hello I am trying to patch the reported properties of my iot device into iot hub device twin using HTTPS, but currently when testing I am receiving an error stating both tags and desired properties cannot be null is there a way I can resolve this.

As it looks like I am using the correct endpoint and I am using a service token to attempt to do this as when I tried using a device token it showed an unauthorized attempt. A PUT request wouldn't be the approach I want as that would clear out the desired and tags properties if I am not mistaken.

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

1 answer

Sort by: Most helpful
  1. Peter Tran 0 Reputation points
    2025-07-03T15:12:47.3866667+00:00

    Reported Properties device to cloud messaging only supported using MQTT or AMQP. From here the only options are pass the reported properties as telemetry or use the other protocols instead. iot-hub-devguide-d2c-guidance


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.