calendarList() doesn't return all calendars (including the default one) for some calendars

John Donner 6 Reputation points
2022-05-04T03:01:20.363+00:00

For an account, the API endpoint that normally returns all of a user's calendars, graph.microsoft.com/v1.0/me/calendars, doesn't return all of the calendars, including the default calendar. What's strange, is that it does return the "Birthdays" calendar, but nothing else. In other Microsoft accounts, this GET request returns all calendars. We can't seem to figure out why for this one account the default "Calendar" calendar isn't returned.

Here is an example of a typical response for a user:

[
  {
    id: 'aaa',
    name: 'United States holidays',
    color: 'auto',
    hexColor: '',
    isDefaultCalendar: false,
    changeKey: 'changekey',
    canShare: false,
    canViewPrivateItems: true,
    canEdit: false,
    allowedOnlineMeetingProviders: [],
    defaultOnlineMeetingProvider: 'unknown',
    isTallyingResponses: false,
    isRemovable: true,
    owner: { name: 'user', address: '******@email.com' }
  },
  {
    id: 'bbb',
    name: 'Birthdays',
    color: 'auto',
    hexColor: '',
    isDefaultCalendar: false,
    changeKey: 'changekey',
    canShare: false,
    canViewPrivateItems: true,
    canEdit: false,
    allowedOnlineMeetingProviders: [],
    defaultOnlineMeetingProvider: 'unknown',
    isTallyingResponses: false,
    isRemovable: true,
    owner: { name: 'user', address: '******@email.com' }
  },
  {
    id: 'ccc',
    name: 'Calendar',
    color: 'auto',
    hexColor: '',
    isDefaultCalendar: true,
    changeKey: 'changekey',
    canShare: true,
    canViewPrivateItems: true,
    canEdit: true,
    allowedOnlineMeetingProviders: [ 'teamsForBusiness' ],
    defaultOnlineMeetingProvider: 'teamsForBusiness',
    isTallyingResponses: true,
    isRemovable: false,
    owner: { name: 'user', address: '******@email.com' }
  }
]

And here is an example of the erroneous response for the user:

[
  {
    id: 'bab',
    name: 'Birthdays',
    color: 'auto',
    hexColor: '',
    isDefaultCalendar: false,
    changeKey: 'changekey',
    canShare: false,
    canViewPrivateItems: true,
    canEdit: false,
    allowedOnlineMeetingProviders: [],
    defaultOnlineMeetingProvider: 'unknown',
    isTallyingResponses: false,
    isRemovable: true,
    owner: { name: 'user', address: '******@email.com' }
  }
]

There is no pattern to this response: we asked the user to change multiple settings in their outlook calendar and occasionally the response would include the "Calendar" calendar, but when the account is left alone, it doesn't return it. Nothing we researched could reproduce this issue locally.

Is there maybe an admin-level setting that's affecting the response?

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

2 answers

Sort by: Most helpful
  1. Srinivasa Rao Darna 6,761 Reputation points Microsoft External Staff
    2022-05-19T10:14:42.16+00:00

    Hi @John Donner ,

    From the query, it appears the behavior is inconsistent, please raise a support case with Microsoft Graph from the tenant where the issue is happening, a specialized Support Engineer will be able to assist you better.

    You can raise technical support case from https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/overview or https://admin.microsoft.com/#/support/requests

    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

  2. Batuhan Ilhan 0 Reputation points
    2025-06-12T09:59:31.6733333+00:00

    Could you figure out what's causing the issue and how to fix it?

    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.