web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Creating an Outlook Ca...
Power Automate
Answered

Creating an Outlook Calendar event in a specific user's calendar

(0) ShareShare
ReportReport
Posted on by 103

Good afternoon,

 

I've created a flow which triggers when a leave request in Dataverse (from D365HR) has its status changed to approved. This works as I would expect it to and creates the calendar event

 

The issue I'm currently facing is, as I am the creator of the flow and the connections to Dataverse and more importantly Outlook are using my credentials, all the calendar events are created in my calendar, regardless of who the leave is for.

 

My initial thought is using the worker information pulled through previously (From a "Get" step) to put a value in the "Calendar" field in the flow step below

 

MBates87_1-1660574604761.png

 

MBates87_0-1660574491265.png

 

In summary, the flow should be Worker X submits leave -> Leave request is approved -> Event created in Worker X's calendar

 

Thanks

 

Categories:
I have the same question (0)
  • Verified answer
    v-liwei-msft Profile Picture
    Microsoft Employee on at

    Hi @MBates87 ,

     

    I am afraid currently this is not possible under Microsoft Flow.

    Create Event under Microsoft Flow would require the Flow editor to sign-in office 365 outlook, and currently the authentication can't be configured as available Input under Microsoft Flow.

    As the Authentication requires the user to enter their own credentials, currently there is no way for Microsoft Flow to accept the user information and then finish the authentication.

    Using team flow only allows the added user to configure the Flow, there is no way to have the Flow Action change its Connection authentication information, currently.

    Please consider submit this as an idea, to make Microsoft Flow allow Authentication as an dynamic Input.

    https://powerusers.microsoft.com/t5/Flow-Ideas/idb-p/FlowIdeas

     

    Best Regards,

    Levi

  • MBates237 Profile Picture
    103 on at

    Thanks for the confirmation Levi, unfortunately I get an access denied error on the link you've provided.

  • LimaNovember Profile Picture
    4 on at

    Hello, is there any follow-up on this matter? I am looking for some solution within PA too.

  • Suggested answer
    ChristyHippo Profile Picture
    2 on at
    Hi, 

    I had the same problem, a potential workaround is to create a group calendar say called "Leave calendar".
    1. Create the group calendar-https://www.youtube.com/watch?v=QMi5Fc3SkwY
    2. Get the leave calendar ID using power automate. https://www.youtube.com/watch?v=OIm6-ooGaPs.
    3. Use the specific calendar ID in your workflow. In the create event step of your flow when selecting calendar select "insert custom" and add the specific calendar ID from step 3. Go to advanced settings and put the user in the required attendees then when they accept the invite. It will go to their calendar Automatically as well as the Group leave Calendar.
     
    Only trouble is the user can reject the invite, but it will always show up on the Group Leave calendar.
    Another issue is if the item is deleted or changed in Sharepoint list the person will manually need to update the calendar or create an additional flow. These things can get pretty complex quickly. I like to try and keep it as simple as possible and then make small updates at a time. 

    Hope this helps, If you have found a better solution to this please let me know. 

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 592

#2
Valantis Profile Picture

Valantis 340

#3
11manish Profile Picture

11manish 284

Last 30 days Overall leaderboard