How can i get the recurring events as well?

Mansi Gusain 210 Reputation points
2025-02-20T12:00:25.9066667+00:00

Hi I am using the API- /me/events , I am able to get the events in my calendar but certain events do not come up.

User's image

The ones encircled yellow, are not fetched, the top most long red line is recurring meeting and the testing actions is some sort of offline meeting .

Can I get them using the API?

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,111 questions
{count} votes

Accepted answer
  1. Yakun Huang-MSFT 10,095 Reputation points Microsoft Vendor
    2025-02-21T07:27:31.8966667+00:00

    Hello Mansi Gusain,

    Thank you for reaching out to Microsoft Support!

    After testing, all events are fetched through the /me/events endpoint, as shown below, which is the recurring events I just created:

    User's image

    Screenshot 2025-02-21 072453

    For recurring events to return only one instance, if you want to get all instances, you need to send the following request:

    GET /me/events/{id}/instances?startDateTime={start_datetime}&endDateTime={end_datetime}
    

    Reference document:

    https://learn.microsoft.com/en-us/graph/api/event-list-instances?view=graph-rest-1.0&tabs=http

    Hope this helps.

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


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.