Building, integrating, or customizing apps and workflows within Microsoft Teams using developer tools and APIs
Thank you for sharing the details and the reference. Based on my research, the $top query parameter is supported for the channel getAllMessages endpoint. The behavior you described is expected and is currently considered by design, as documented in the reference below.
Reference: Export content with the Microsoft Teams Export APIs - Microsoft Teams | Microsoft Learn
From my testing, adjusting the $top filter does affect the output results. For example, there is a noticeable difference between using $top=250 and $top=50, where $top=250 is able to reflect more recent message updates.
That said, I do agree that the official documentation should better align and clearly reflect this behavior. For this reason, I strongly recommend sharing your feedback through Microsoft Graph · Community
This is the official channel for submitting suggestions, and it helps ensure your feedback reaches Microsoft’s development team so they can stay aware of and consider the latest user input.
I hope this provides helpful insight. If you decide to submit new feedback, please feel free to share the link here so other users can review it and vote.
Once again, thank you for your time and contribution.
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.