Question
Microsoft Graph API: Transition from $skip to $skiptoken – Unresolved Interaction with $filter and $orderby
Rey Byte
0 reputation · 09 Jan 2023, 18:42 UTC
147.4K views0
Goal
Retrieve a large collection (e.g., /me/messages) while applying a filter and sorting, using the new $skiptoken pagination mechanism.
Constraints
The API has deprecated $skip in favor of $skiptoken. Current documentation does not clarify whether $filter or $orderby are preserved across pages when a $skiptoken is used, and preliminary tests suggest inconsistent behavior.
Unresolved Questions
- Does
$skiptokenmaintain the$filterapplied on the initial request across all subsequent pages? - When
$orderbyis combined with$skiptoken, is the sorting order guaranteed to be consistent across paginated results? - Is there an official recommendation or documented limitation for using
$skiptokenwith complex filters or ordering on collection endpoints?