cancel
Showing results for 
Search instead for 
Did you mean: 

Flow to create calendar event on users calendar - dynamic

Can we get a flow that creates calendar event on user running the flow? I can build a flow currently where on list item add

an event is created but event only added to my calendar. 

Status: New
Comments
NightKing
Advocate I

@JimmyWork nice workaround with the VacationConnectionAccount and the additional Attendee-Invitation.

But on an Update Event it would fire an E-Mail-Invitation to all Attendees of the current event, which would lead do an immense E-Mail Flooding.

Annoying that the Update Event Action does not have the ability to avoid Notifications to existing Attendees. There we need a flag to send notifications only to new attendees, thats not possible in the moment.

 

Also annoying that the "Get Calender"-Actions will never work for other users, only for mine (the Flow Connection Account) 😉

Omar_El-Anis
Regular Visitor

Strange never received notifications about the replies.

 

I'm a little confused at how exactly you guys are setting up your workflows, by default all powerautomate workflows run in the context of the user and not the flow author which is why my solution works. So unless your using child workflows or running as the list which by default use the context of the workflow publisher I really don't know why it doesn't work for you guys, sorry!

opasyuk
Frequent Visitor

@Omar_El-Anis Exactly! I am also surprised that requests are handled not from the user. In my case I am buidling flows from Power virtual Agent (to have a bot in MS Teams). This flows do not appear in the power automate list. I really can access them through the bot building interface.

When I buiild flow, new flow interface asks me to authorise as a first step. May be this is when it is locked to my identity. 

 

There is this setting. But I am not sure wy current setting does not work. 

opasyuk_0-1631782484905.png

 

Omar_El-Anis
Regular Visitor

@opasyuk in your case it won't work as PVA workflows do not run in the context of the user, you can perform some actions by using a bearer authentication as the logged in user but the workflow will not be running in the context of the user, see the following article:

https://poszytek.eu/en/microsoft-en/office-365-en/pva-en/pva-series-user-context-in-power-virtual-ag...

 

I'd recommend looking into using Graph API instead, can be built using a custom connector or direct via HTTP action if preferred