Is it possible to check if a send message was dropped because the "duplicate detection"?
According to the docs:
...the message is reported as accepted (the send operation succeeds), but the newly sent message is instantly ignored and dropped.
But I want to know if it dropped or not, it that possible?
Addendum:
Ok, full picture: There is a Azure function triggered by a HTTP post that pushes the message to the topic, and the system that are posting to the function may send duplicates and I would like to log those "errors" and to return something else then a "200 OK".
It is the external system that does something wrong here, I know, but I do not have control over that system.