Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Unanswered

Flow for Managing Vacation Requests in Outlook Calendars

Like (0) ShareShare
ReportReport
Posted on 17 Nov 2023 11:11:00 by 11

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

 

  • VW-20080858-0 Profile Picture
    11 on 20 Nov 2023 at 06:33:58
    Re: Flow for Managing Vacation Requests in Outlook Calendars

    Hey Thank you, I will try it when I am back from my Day off. 

    Looks really helpful. Will Update that Post if it works or not.

    Regardless, Thanks for you answer 🙂

  • ManishSolanki Profile Picture
    15,085 Super User 2025 Season 1 on 19 Nov 2023 at 05:44:09
    Re: Flow for Managing Vacation Requests in Outlook Calendars

    Hi @Vunk1 

     

    One possibility is, if you could pass the start date & end date from the power apps to the flow & run the flow from the app. In that case, the flow runs under the user account who calls the flow as it supports 'provided by run-only user' mechanism for all connections.

    ManishSolanki_0-1700372345829.png

    You could then further create/update & delete event in the subsequent steps based on the case.

     

    You could check if you that works for you.

     

    If this helps & solves your problem, please remember to give a 👍 and accept my solution as it will help others in the future.

     

    Thanks

  • michael0808 Profile Picture
    304 on 17 Nov 2023 at 12:28:32
    Re: Flow for Managing Vacation Requests in Outlook Calendars

    You cannot add events to the calendar of other users. You would need to ask each of the users to provide you with delegated access to their calendar.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,679 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,015 Most Valuable Professional

Leaderboard
Loading started