Open
Description
Describe the bug
The purge operation does not remove deferred messages, likely because it using receive under the hood.
To Reproduce
- Defer a queue message.
- Execute a purge.
- Notice the message remains.
Expected behavior
The purge operation removes all messages, including deferred.
SDK version
N/A
Additional context
Deferred messages cannot be received but they can be peeked. However, in peek mode there is no option to remove a message. This means that it is impossible to remove a deferred message via Service Bus Explorer.