Click HERE to see how Saviynt Intelligence is transforming the industry. |
08/28/2024 07:54 AM
I have a requirement to get a list of Microsoft calendar events when a user is terminated and delete them from the user's calendar. This needs to be done using Graph APIs. Does anyone here have any experience doing this integration / use case?
Thanks.
08/28/2024 08:11 AM
Yes, you can achieve this integration using Microsoft Graph API. Here’s a step-by-step guide to help you get a list of Microsoft calendar events and delete them for a terminated user:
Get User's Calendar Events: Use the Microsoft Graph API to list the calendar events for the user. You need the user’s ID or UPN (User Principal Name).
Example Request:
Example cURL:
Delete User’s Calendar Events: Iterate through the list of events and delete each one.
Example Request to Delete an Event:
Example cURL:
08/28/2024 08:48 AM
Is there any documentation available with the relevant JSON configurations that I could use for this integration?
08/28/2024 09:06 AM
No refer developers handbook for sample json