Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Connectors
Unanswered

Yammer (Engage) connector problem - missing messages

(1) ShareShare
ReportReport
Posted on by 39

Hello,

 

I've created a flow that iterates through all messages in a group. I have used "Get messages in a group (V2)" connector. My flow is built the way that:

 

  • Connector has a variable in "older than" property and is placed within a do until loop
  • Connector is set to filter only threaded messages = true
  • I'm starting do until loop with most recent 20 posts
  • I'm passing the message ID of the oldest message returned in current iteration to next iteration's "older than" property of connector
  • Flow also appends messages to aggregating array to get all of the posts, authors, dates and count reactions

This way after few iterations I got all the posts (not replies) in my array. At least that's what I thought but there are some posts being missed, and I'm not sure what could be the reason. I literally scrolled through posts to troubleshoot that and found no rule behind that. What is more:

 

  • when  running do until loops, there is specific post ABC present in output, but a lot of posts older than that are missing, and then there is post XYZ as the next coming after ABC
  • when testing with different flow, single run for 20 responses, and placing ID's of messages in Older than (ID of a post that comes after ABC, to get ABC into output) + Newer than (ID of a post that came before XYZ, to include XYZ in output)  into connector, I get all the posts that were missed in the bigger flow, but I'm missing the ABC (setting is the same, threaded messages = true), the limit of 20 shouldn't be reached in this case, there is just few posts in between

Also, the connector returns messages in some random order, not by date created and not by message ID and I have to sort the array in each iteration (in first version I was using "last" function, to get the right Id of last = oldest message in an array, but then I found this is incorrect approach as the oldest one could come as the fifth one on the list). Is this a known behavior? I'm not sure what else I could try, to properly iterate through all of them...

 

  • PawelJanczak Profile Picture
    39 on at
    Re: Yammer (Engage) connector problem - missing messages

    So I think I've found the pattern/problem. The name of field in connector shouldn't say "recent posts". It should say "recently active posts". Each time an old post is commented etc. it will get to the top. So a post from 1 year ago can be returner by api as the first one and in your array of 20 posts, the ID of the oldest one will be useless for our scenario. Very unfortunate and makes the action/connector invalid. 

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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 566 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 516 Super User 2025 Season 1

#3
stampcoin Profile Picture

stampcoin 492

Featured topics