question

JoyceBeck-0263 avatar image
0 Votes"
JoyceBeck-0263 asked NicCarlos answered

Calendars returned from Microsoft-Graph list_calendars API is not up to date

Step to reproduce my issue
1 - use Microsoft-Graph explorer with my account to create a calender
2 - use Microsoft-Graph explorer to list the calendars
: ( result returned from Microsoft-Graph is not updated!

We already wait more than 10 days, the result is the same!
With postman, we have the same behaviour.

It is not possible to use Microsoft-Graph if the request result is not up to date!

Do you have any idea why?
My account is the domain admin
My endpoint used to list calendars is https://graph.microsoft.com/v1.0/users/311c8245-2dbb-4dab-a7fd-e76b37b4acc9/calendars

Thank you in advance~!

Best regards,
Ethan Fang

microsoft-graph-calendar
· 7
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hello @JoyceBeck-0263. I just attempted to create a calendar using Graph API, and immediately saw it created and available within my own account. It's also happily showing inside Outlook. This means that technically everything seems to be working fine. Some questions:

  1. Do you have any details on how you created the calendar?

  2. Can you try to create another calendar to check if that one does show up?

  3. Can you also verify in Outlook if the calendar is available there or not?

All I can think of right now is that potentially there was a transient error which is now resolved.



1 Vote 1 ·

Thank you for replying
I've tried 2 different ways to create the calendar:
1. Use microsoft 365 outlook calendar UI
2. Use graph explorer https://graph.microsoft.com/v1.0/users/311c8245-2dbb-4dab-a7fd-e76b37b4acc9/calendars
I've tried again now, the calendar I created still can only be shown in the outlook UI. But it can't be listed by graph API.

Best regards,
Ethan Fang

0 Votes 0 ·

136159-10.png


The blue calendars can be listed, but the red ones can not. (please see the attachments)

The graph api response is in the attachment
Thank you in advance.

136219-response.txt


0 Votes 0 ·
10.png (59.7 KiB)
response.txt (5.4 KiB)
Show more comments

1 Answer

NicCarlos avatar image
0 Votes"
NicCarlos answered

I have a similar issue.
I create a calendar via MSGrah API. No problem, it gets created, and a list of that user's calendar works just fine.

When the user renames this MS Graph created calendar in outlook, things start to go wrong. A LIST via MSGraph still returns the original name, even a get with the ID returns the original name instead of the new one.

When I try to create a new calendar via the MSGraph API with the new name, it says I cannot do that, as it already exists. So the create seems to work OK, the GET and LIST not. I did already wait for 1 complete day.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.