Share via

Difference between two listed endpoints for creating an event

pklong 140 Reputation points
2023-08-31T01:12:28.4266667+00:00

For creating an event: https://learn.microsoft.com/en-us/graph/api/user-post-events?view=graph-rest-1.0&tabs=http

What is the difference between these two endpoints?

POST /users/{id | userPrincipalName}/events

POST /users/{id | userPrincipalName}/calendar/events

They seem to do the same thing...

Microsoft Security | Microsoft Graph
0 comments No comments

1 answer

Sort by: Most helpful
  1. Anonymous
    2023-09-01T20:06:57.7666667+00:00

    Hi pklong,

    Thanks for reaching out. Both perform the same function which is create an event in your calendar.

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

    Thanks.

    Was this answer helpful?


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.