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 to get all message...
Power Automate
Unanswered

How to get all messages in a Viva Engage group using Microsoft Flow

(1) ShareShare
ReportReport
Posted on by Microsoft Employee
I am trying to adapt this flow
 
 
to Get_messages_in_a_group (V3) but keep getting an error message: Action 'Get_messages_in_a_group_(V3)' failed: The response is not in a JSON format.
 
This is my flow:
 
this is the parameter for the Get_messages_in_a_group (V3)
 
This is the condition to check if the messages array is empty
This is the compose to create an array with all the messages
 
Thank you
Categories:
I have the same question (0)
  • dmore1122 Profile Picture
    Microsoft Employee on at
    The issue seems to be due to this part of the flow. 
     
    This formula 
    if(equals(variables('varLastMessageID'), 0), null, variables('varLastMessageID'))
     
    returns null on the first iteration but null trigger the errror Action 'Get_messages_in_a_group_(V3)' failed: The response is not in a JSON format.
     
    Any idea how to solve it?
     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 589

#2
Valantis Profile Picture

Valantis 328

#3
David_MA Profile Picture

David_MA 284 Super User 2026 Season 1

Last 30 days Overall leaderboard