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 / odata.nextLink element...
Power Automate
Answered

odata.nextLink element not present in response when getting replies of a Teams message

(2) ShareShare
ReportReport
Posted on by 18
Hi,
 
I'm using the "Send a Microsoft Graph HTTP request" activity in Power Automate cloud flows to get the replies of Teams messages.
For a certain message, I have 24 replies - however, when running the activity, the output does not provide an "odata.nextLink" element, so I am unable to get all the replies (it only returns the latest 20).
 
The URI is this: v1.0/teams/<teamID>/channels/<channelId>/messages/<messageID>/replies
 
This is the response (truncated); 
 
"body": {
        "@odata.context""https://graph.microsoft.com/v1.0/$metadata#teams('<redacted>')/channels('<redacted>')/messages('<redacted>')/replies",
        "@odata.count"20,
        "value": [
            {
 
Here's a screenshot with the number of replies:
 
How can I solve this, please?
 
Thank you in advance.
Categories:
I have the same question (0)
  • Verified answer
    Vish WR Profile Picture
    3,748 on at
     

    Microsoft documentation mentions that the maximum value for $top is 50. Can you try setting the $top value and see if you get a @odata.nextLink?

    Also, try using Graph Explorer with the API to see what it returns. If there is a difference between Graph Explorer and the Teams HTTP connection, it might be a bug. I would recommend raising a support ticket.

     
     
    Vishnu WR
     
    Please âœ… Does this answer your question if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider answering Yes to Was this reply helpful? or give it a Like â™¥
  • Suggested answer
    11manish Profile Picture
    3,333 on at
    The Teams replies endpoint returns only 20 items by default. You can retrieve all replies by adding $top=50 to your request, which is typically the maximum supported page size.
     
    For scenarios with more than 50 replies, you must implement pagination using @odata.nextLink, although its availability may not always be consistent.

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 377

#2
11manish Profile Picture

11manish 279

#3
David_MA Profile Picture

David_MA 234 Super User 2026 Season 1

Last 30 days Overall leaderboard