I created the below flow to create an event on user's outlook calendar. It works fine for me since i'm the one who created the Flow and it has connection to my Outlook.
However when another user who i've given access to the PowerApps app and also to the Create Event Flow, the flow will failed on the Create Event V2 part as per below screenshot.
I'm just wondering if the Calendar id on the flow that i created is mapped only to my Outlook calendar? because when other user run the apps it did asked user for permission to his Outlook but clearly this does not do the trick.
Any ideas what did i missed / doing wrong here?
Thanks
Hi @MacGizmo ,
You can use this way, so flow will create the event on default calendar for a individual user who is using that powerapp .
In flow (Create even action), for clendar ID field, select custom value -> ask in powerapp
In Powerapp, add Office365 outlook connection then add flow on button -> pass value to as below
it will pick the current powerapp user default calendar id and pass it to flow, so flow will create the outlook event for that user calendar.
Lookup(Office365Outlook.Calendar.GetTablesV2().value.name="Calendar").id
Pass this parameter for flow (calendar id field ), it will work 🙂
Regards,
Shubham Gade @shubzworld
Same issue for me...
Surely this is a pretty basic request... other outlook actions such as Send Email work against the mailbox of the user running the flow, so why wouldn't creating a calendar event do the same?
Or is there another Action which can be used to do this? Surely there is?
I agree,
It shouldn't be that complicated for users to use Create Event flow to add events to their own calendars. I am having the similar issue. I created the flow and wanted the other user to use it, but it doesn't work because of this issue.
Hi Alice
The idea of user have to update the connection before running the app is too troublesome not efficient as normal user should only have access to the app and not making changes to Flow to avoid user making unauthorised changes.
Thanks for your help anyway, back to the drawing board again.
Hi @ MacGizmo,
If you want the user to run your flow to create event on himself's outlook calandar, you could let him update the connection of the "Create Event" action to himself's account instead of yours.
For your first question:
The user could add themselves connection refer to screenshot below:
The user also need to update the Calendar Id to themselves Calendar.
For your second question:
If you have heaps of user who needs to use this app, I afraid the only way is everyone should update the connection to himself's before them run the app.
Please let me know if your problem could be solved.
Regards,
Alice Zhang
Hi Alice / @v-yuazh-msft
Thanks for the response. I forgot to mentioned on the original post that when other user the app, it should create the event on their own calendar instead of mine so I assume that this is possible.
I guess my next question is:
1. how other user add their own account as one of the connection on the Create Event step
2. If i have heaps of user who needs to use this app, is there a better way of doing the above steps instead of asking every single one of them to add their own account to the connection? Can I somehow do it?
Thanks
Ben
Hi @ MacGizmo,
I have made a test on my side and the issue is confirmed on my side.
If you let other user to run your flow on PowerApps, the connection of the "Create Event" action would remain your account.So the user couldn't run your flow on PowerApps to create event on your outlook calandar.
If you want the user to run your flow on PowerApps to create event on your outlook calandar.I afraid that there is no way to achieve your needs in Microsoft Flow currently.
If you want the user to run your flow to create event on himself's outlook calandar, you could let him update the connection of the "Create Event" action to himself's account instead of yours.
Please let me know if your problem could be solved.
Regards,
Alice Zhang