I have a Logic App which is triggered by an EventGrid topic but reads messages from a Service Bus queue using the SessionId passed in the event.
The Service Bus peek read is done in an Until loop which exits when the Service Bus peek read times out. (I have set the timeout to 30S in the settings for the Action).
The problem I have is that only around 20 messages are read before the loop exits despite the queue being full. Why is this?
The loop looks like this: