Building, integrating, or customizing apps and workflows within Microsoft Teams using developer tools and APIs
I've tried reproducing your issue using both Postman and Microsoft Graph Explorer.
For the following endpoint:
GET /teams/{team-id}/channels/{channel-id}/messages/{message-id}/replies?$top=50
pagination worked as expected in my testing, and I was able to retrieve additional pages using the @odata.nextLink value returned by the API.
However, when testing:
GET /teams/{team-id}/channels/{channel-id}/messages?$expand=replies
the behavior was different.
On my side, the expanded replies stopped at 200 items and the response did not include replies@odata.nextLink, even though Microsoft documentation indicates that a continuation link should be returned when additional replies exist. So, at this time, the actual service behavior does not appear fully consistent with the documented behavior.
As forum moderators, we can help validate and compare the current behavior based on testing and publicly available Microsoft resources, but we do not have visibility into backend service implementation details.
In this case, please continue waiting for further investigation or clarification from the MSFT team (@Prasad-MSFT) regarding the pagination behavior for expanded replies.
Thank you for your patience and understanding.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.