Clarification on Whether Acknowledgment Messages Count Towards Azure IoT Hub Daily Message Quota

Jordan Reyes Leger 0 Reputation points Microsoft Employee
2025-03-06T23:10:12.69+00:00

Hello Azure Support Team,

I am seeking clarification regarding the Azure IoT Hub's daily message quota, specifically concerning acknowledgment messages.

In our current setup, we utilize cloud-to-device messaging and request delivery acknowledgments for each message sent. We would like to understand whether these acknowledgment messages are counted against our IoT Hub's daily message quota.​learn.microsoft.com

The official documentation outlines the operations that contribute to the daily message quota, such as device-to-cloud telemetry messages and cloud-to-device messages. However, it does not explicitly state whether acknowledgment messages, generated upon setting the 'Ack' property in cloud-to-device messages, are included in this count.​

Could you please confirm if acknowledgment messages are considered part of the daily message quota? Additionally, if they are included, could you provide guidance on how they are measured and any best practices to manage their impact on the quota?

Thank you for your assistance.

Best regards

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

1 answer

Sort by: Most helpful
  1. Sander van de Velde | MVP 35,411 Reputation points MVP
    2025-03-07T11:18:37.9333333+00:00

    Hello @Jordan Reyes Leger,

    welcome to this moderated Azure community forum.

    An Azure IoT Hub is a service where the pricing is based on the expected daily consumption.

    This is measured in the 'number of daily messages', starting with 400.000 'messages' per day.

    These 'messages' are better known as chunks of 4KB parts of messages.

    A 5KB message is counted as 2 chunks of 4KB.

    The message consumption is based on both device-to-cloud messaging (eg sending one message or a batch of messages or starting a file upload) and cloud-to-device messaging (eg. direct methods, desired properties, reported properties, cloud messages).

    Check the documentation regarding the details of counting messages per way of communication.

    The underlying protocol is mostly based on MQTT although customers can also used AMQP (and even HTTP although this is strongly discouraged).

    Azure IoT Hub offers an 'at least once' delivery for reliability.

    Regarding counting the acknowledgement as messages, for as far as I know, these acknowledgements are part of the underlying protocol so these are not part of the message body of the message being transported by that protocol.

    Unsuccessful deliveries will result in a resent so those are expected to be counted too as a message.


    If the response helped, do "Accept Answer". If it doesn't work, please let us know the progress. All community members with similar issues will benefit by doing so. Your contribution is highly appreciated.

    0 comments No comments

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.