Graph api not showing recurring meetings

Adewuyi Oyawoye 26 Reputation points
2024-01-02T17:22:50.99+00:00

I've got an issue with the Microsoft Graph API in relation to recurring events. I have been working with both the /me/events and /me/calendarView endpoints and have encountered a limitation that affects the functionality of my application.

Issue Summary:

  • When querying both the /me/events and /me/calendarView endpoints for recurring events, they only return the events if the date range includes the start date of the master event of the series.

Endpoints Used:

  1. To retrieve events, including the master event:
    GET /me/events?$filter=start/dateTime ge '{start}' and end/dateTime le '{end}'&$orderby=start/dateTime desc

To retrieve occurrences from the calendar view:
GET /me/calendarView?startDateTime={startDate}&endDateTime={endDate}

Certainly, here's a revised email to Microsoft support reflecting the situation with both endpoints:


Subject: Microsoft Graph API - Recurring Events Retrieval Issue

Dear Microsoft Support Team,

I am reaching out for assistance regarding an issue with the Microsoft Graph API in relation to recurring events. I have been working with both the /me/events and /me/calendarView endpoints and have encountered a limitation that affects the functionality of our application, [Your Application Name].

Issue Summary:

  • When querying both the /me/events and /me/calendarView endpoints for recurring events, they only return the events if the date range includes the start date of the master event of the series.

Endpoints Used:

  1. To retrieve events, including the master event:
bashCopy code
GET /me/events?$filter=start/dateTime ge '{start}' and end/dateTime le '{end}'&$orderby=start/dateTime desc
  1. To retrieve occurrences from the calendar view:
vbnetCopy code
GET /me/calendarView?startDateTime={startDate}&endDateTime={endDate}

Expected Behavior: My expectation, based on the API documentation and standard functionality, is that I should be able to retrieve all occurrences of a recurring event within a specified date range, irrespective of the series start date.

Challenge Encountered: Both endpoints require the series start date to be included in the date range to return any recurring events. This behavior restricts access to current and future occurrences of long-standing recurring events and does not align with the expected functionality.

Request for Support: I am seeking clarification on whether this is intended behavior or a possible oversight in the API's design. I would also like to inquire if there are parameters or settings that may enable the retrieval of all instances of recurring events, regardless of the series start date.

Microsoft Security Microsoft Graph
0 comments No comments
{count} vote

2 answers

Sort by: Most helpful
  1. Omar El-Sayed 0 Reputation points
    2024-01-11T22:36:39.81+00:00

    I'm having the same problem and I believe it's new behavior (first time my users have mentioned sync issues). Did you have any luck figuring this out?

    0 comments No comments

  2. Akash Jadav 85 Reputation points Microsoft External Staff
    2024-01-17T17:35:40.7766667+00:00

    Hi, Can you try following endpoint? GET /me/calendar/calendarView?$top={number}&$count=true&startDateTime={start_datetime}&endDateTime={end_datetime}

    CalendarView with $top has a minimum value of 1 and maximum of 1000.

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

    0 comments No comments

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.