Hello Power Platform Community,
I'm reaching out to seek some advice or solutions for a challenge I'm facing with a Flow I've developed for handling vacation requests.
I've created a Flow and an app for managing vacation requests. The current setup is such that when a vacation is approved, the vacation period is automatically added as an event in the Outlook calendar of the person who made the request. Similarly, if the vacation is canceled, the event is supposed to be removed from their calendar.
While I've successfully implemented the functionality to create and delete events in my own calendar, I'm struggling with how to extend this to modify events in the Outlook calendars of other users.
Using the 'Get Calendars' function, it seems I can only access calendars that are connected to the Flow. I could potentially connect more calendars to the Flow, but the 'Get Calendars' function does not appear to offer a way to filter and retrieve only the calendars of the specific user who initiated the request through their application.
One idea I had was to send out invitations with the vacation as an event. However, this approach has significant drawbacks. It relies on each user accepting the event invitation, and more critically, it doesn't provide a way to automatically delete events if the vacation is canceled.
Does anyone in the community have suggestions or solutions for how to directly add or remove events from the Outlook calendars of different users based on the status of their vacation requests? I'm looking for a more streamlined and reliable method than sending out calendar invitations, and a way to filter calendars by user in the 'Get Calendars' function. Or any other Way for that matter.
I'm open to sharing more details or screenshots if needed to better illustrate the problem. Any insights or guidance would be greatly appreciated!
Thank you in advance for your time and help!
Best regards
Vitali