Calendar view date filter works wrong

Igor Kaplya 1 Reputation point

We're using this API endpoint:

When we have parameters:

  • startDateTime = 2022-08-12T00:00:00
  • endDateTime = 2022-08-12T23:59:59

We recieve such things as


  • start 2022-08-11T00:00:00.000Z
  • end 2022-08-12T00:00:00.000Z


  • start 2022-08-12T00:00:00.000Z
  • end 2022-08-13T00:00:00.000Z


  • start 2022-08-13T00:00:00.000Z
  • end 2022-08-14T00:00:00.000Z

Note, that event3 should not be there, but appears because was created in Amsterdam timezone.

  • Go to outlook web
  • Change your time zone in preferences to Amsterdam (UTC +1)
  • Create all day events: yesterday, today, tomorrow
  • Call API with parameters (GET /users/{id | userPrincipalName}/calendarView?startDateTime={start_datetime}&endDateTime={end_datetime})
  • startDateTime : today 00:00:00
  • endDateTime: today 23:59:59
  • id: users id, that was used to create events in outlook
  • Expected to recieve only todays event
  • Actually you'll get today and tomorrow events.
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,455 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Sheena-MSFT 1,721 Reputation points

    Hi @Igor Kaplya ,

    I have tried to replicate this issue and I was able to see similar behavior. I would recommend you to raise a support case with Microsoft Graph, a Support Engineer will be able to assist you better. You can raise support ticket from or

    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 comments No comments