cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
MBates87
Regular Visitor

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

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

 

1 ACCEPTED SOLUTION

Accepted Solutions
v-liwei-msft
Community Support
Community Support

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

View solution in original post

2 REPLIES 2
v-liwei-msft
Community Support
Community Support

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

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

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Top Kudoed Authors
Users online (2,652)