How to create calendar appointments using Microsoft Graph API?

Popov 46 Reputation points
2024-10-14T07:06:28.7966667+00:00

Hello,

We are using a time management system (SAP Successfactors) which is currently integrated with our Exchange on-prem environment and is creating time off calendar appointments in users calendars when a new time off event is registered in the time management system, but now we are switching to Exchange Online and we figured our that basic authentication is deprecated so we need to use Microsoft Graph API in order to integrate this feature with Exchange Online.

The thing is that we can't find anywhere a guide or a similar case on how we should configure our application for integration with Azure and Graph respectively. We found these guides:

https://learn.microsoft.com/en-us/graph/api/calendar-post-events?view=graph-rest-1.0&tabs=java

https://community.sap.com/t5/human-capital-management-blogs-by-sap/interview-scheduling-outlook-oauth-integration/ba-p/13492372

which clarify a little bit the needed solutions, but then again the URLs which the app should use are unknown. Do you have any idea how should we do that?

Microsoft Security Microsoft Graph
{count} votes

1 answer

Sort by: Most helpful
  1. Anonymous
    2024-10-14T07:25:13.7233333+00:00

    Hello Alexis Kt,

    Thank you for reaching out to Microsoft Support!

    You can follow this tutorial, which will show you how to register the application in Azure, and obtain the token, after obtaining the token, you can send the following request to create the event, the details of the creation of the event permissions and other information can be viewed through the documentation.

    POST https://graph.microsoft.com/v1.0/me/calendar/events
    

    Detailed requests for obtaining tokens can be found in this document.

    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.

    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.