We have been hoping to use Graph API's $search capability (i.e. received>05/06/2020) to find Outlook messages but it seems the search result is limited to 275 records. Is that a known limitation? Why is there skipToken then if there is no way to receive all matching records?
Using $filter (i.e. ReceivedDateTime gt 2020-05-06) does return all matching messages but there is no $filter way to find emails by matching To or Cc.
Thank you
You can search messages based on a value in specific message properties. The results of the search are sorted by the date and time that the message was sent. A
$search
request returns up to 250 results.
As the official article said, A $search
request returns up to 250 results. So it is a limit for $search in graph api.
For skipToken
:
Some requests return multiple pages of data either due to server-side paging or due to the use of the
$top
parameter to limit the page size of the response. Many Microsoft Graph APIs use theskipToken
query parameter to reference subsequent pages of the result.