Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Connectors
Answered

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

(0) ShareShare
ReportReport
Posted on by 51

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

 

  • Suggested answer
    ChristyHippo Profile Picture
    2 on at
    Creating an Outlook Calendar event in a specific user's calendar
    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. 
  • LimaNovember Profile Picture
    4 on at
    Re: Creating an Outlook Calendar event in a specific user's calendar

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

  • MBates237 Profile Picture
    51 on at
    Re: Creating an Outlook Calendar event in a specific user's calendar

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

  • Verified answer
    v-liwei-msft Profile Picture
    on at
    Re: Creating an Outlook Calendar event in a specific user's calendar

    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

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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 566 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 516 Super User 2025 Season 1

#3
stampcoin Profile Picture

stampcoin 492

Featured topics