Why get event using Microsoft Graph REST API v1.0 always return originalStart is null?

Quang Long 20 Reputation points
2023-12-01T03:46:07.9966667+00:00

I am get event using Microsoft Graph REST API v1.0 always return originalStart is null

How can I get the originalStart of event ?

Microsoft Security Microsoft Graph
0 comments No comments
{count} votes

Accepted answer
  1. Sourabh Gupta 800 Reputation points Microsoft External Staff
    2023-12-02T10:45:08.35+00:00

    Hi @Quang Long

    Thanks for reaching out.

    For this scenario you can try List event end point try https://learn.microsoft.com/en-us/graph/api/user-list-events?view=graph-rest-1.0&tabs=http, This returns original start date.

    But when accessed using Get event https://learn.microsoft.com/en-us/graph/api/event-get?view=graph-rest-1.0&tabs=http. The original start date returned as null.

    There was an issue opened a long back, which can be tracked here

    https://github.com/microsoftgraph/microsoft-graph-docs-contrib/issues/7267

    There is one comment on the above link on Dec 2020, which suggests to use start date instead of originalStart.

    You can give it a try to update the start date once for an event and then try to fetch originalStartDate using the select query for that particular event using that particular query.

    Refer to the screenshot below.

    User's image

    https://graph.microsoft.com/v1.0/me/events/<id>?$select=id,subject,originalStart

    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.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

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.