web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / How do you get EACH Az...
Power Automate
Unanswered

How do you get EACH Azure Queue (not Service Bus) - most attempts not working

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

a queue msg has a MessageText of "{subject: 'test123'}"

 

[When items are in a queue]

-> [Get Messages]

-> [Apply to Each]

-> [Send Email] with subject from queue.

 

If I reference the MessageText on Email, it auto-creates the Apply to Each with 'QueueMessage' but that's empty and unusable. ALL automatic attempts fail. I had to code this: array(outputs('Get_messages')?['body/QueueMessagesList']) for it not to complain about not having an array. However, the array is a count of 1 (correct), but the QueueMessage is empty []. All references to items(...) or item() or Current Item (same thing) fails to provide anything.

 

I know this is possible b/c one time I pumped the email body full of dynamic variables and the {subject...} came through as text. When I put it alone on the Subject field, it again auto-created a secondary Apply_to_Each and broke it all over again. There also appears to be no way to turn off the automatically applied 'Apply to Each' in case that's the problem.

 

Here's the odd part. In order to switch over to a ServiceBus solution, I replaced the Trigger (only) with an SB queue trigger, intending to replace the rest. Then it picked up the message (GetMessages) worked with a non-empty result. Clearly, I can't have a false trigger (on a diff queue), but is it a known issue about Azure Queue triggers messing up the queue data in the flow?

 

I would appreciate any helpful tips on getting a queued message MessageText.  ... which I assume I can then also get the MessageId/Receipt to delete it when complete.

Categories:
  • JohnAageAnderse Profile Picture
    1,986 on at

    Hello @jimgale 

    Did you find a solution for your issue or is it still relevant?

    If still relevant, could you provide screenshots of your flow, preferrably expanded, and any error message you receive?

    Kind regards, John

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 321 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 271

#3
Henil Profile Picture

Henil 115

Last 30 days Overall leaderboard