Share via

Graph API: Calendars endpoint doesn't work (returns an empty array) for some users

Chad 16 Reputation points
2021-01-27T20:30:22.83+00:00

The endpoint https://graph.microsoft.com/v1.0/users/<user email address>/calendars works for most users but for some it returns an empty array. We cannot figure out what is different about these users (they definitely have calendars and we can get the calendars via, e.g., powershell)

Microsoft Security | Microsoft Graph
0 comments No comments

1 answer

Sort by: Most helpful
  1. Deva-MSFT 2,276 Reputation points Microsoft Employee Moderator
    2021-01-29T06:28:26.127+00:00
    • Outside of your custom application or Powershell, i would suggest you to test the same API call in POSTMAN or Graph Explorer with the same AAD workflow that you implemented. This will help you to isolate the issue and see whats coming back from the server as well.
    • If you can repro the issue, share the requestid, timestamp from the response and additional info (say, error info etc) for analysis

    Was this answer helpful?

    0 comments No comments

Your answer

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