How can we get the real time zone of the shared user calendar

Xufyan Ali 0 Reputation points

I want to get the time zone of the shared calendar, How can i get the timezone, calendar api is not giving me time zone.

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

1 answer

Sort by: Most helpful
  1. Yakun Huang-MSFT 1,320 Reputation points Microsoft Vendor

    Hi @Xufyan Ali

    According to the graph Api, by default, the calendar API returns the start and end times of an event in UTC, and provides the originalStartTimeZone and originalEndTimeZone properties to note the time zones used when the event was created.

    Therefore, you can get the time zone of the shared calendar through the events endpoint.

    Screenshot 2024-05-23 152638

    Here are my test results.

    Screenshot 2024-05-23 153103

    See the link below for details:

    Hope this helps.

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