Search code examples
microsoft-graph-apioutlook.com

Programmatically create calendar event in outlook.com like .ics


I'm trying to understand if it's possible to use a url or api to open an Outlook.com calendar event in the users outlook.com/calendar with prefilled information? Essentially, just like an .ics file but using the webview in outlook.com

Story: as a user with no experience with outlook calendars, I want to click a button on a website and have it open a new calendar event (values pre-filled) in my outlook.com, so I spend as little setting up a meeting.

enter image description here


Solution

  • You could use the create event operation in the Microsoft Graph and then retrieve the weblink property of the event you just created to redirect the user to it.