How can i get all the instances of recurring series event its returning only 10 instances not all

praveen j 1 Reputation point

now I want to get all the list of instances within the specified date range and for that, I used this graph API

Here eventId is the master event id of the recurring series{userId}/events/{eventId}/instances?startDateTime=2022-09-19T00:00:00&endDateTime=2022-11-30T23:59:59

But it returns only the first 10 instances not all, what I am missing here.

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,817 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. HarmeetSingh7172 4,811 Reputation points

    Hi @praveen j ,

    Hope you're doing well.

    I’m unable to reproduce this issue using my test tenant. I am getting all the occurences (instances) for an event in graph API response.

    There is a possibility you might be checking the first page only. The Calendar API has a default page size of 10. You can use “@odata.nextLink” property to obtain all results. The page results is not sorted by start date unless “OrderBy” is specifically added.

    Refer below screenshots for better understanding-



    References: List Instances API

    Hope this helps.

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have further questions about this answer, please click "Comment".

    0 comments No comments