Forum Discussion
Kguthrie_NEI
May 26, 2022Copper Contributor
Power Apps with Power Automate flow to add Calendar event
Hello all, I am just learning how to use all the Microsoft Power 'stuff'. I followed an online guide to create a vacation request Power App with the data stored in a Sharepoint List. That part is ...
Taras19
May 31, 2022Copper Contributor
The problem you have is your flow is running in the context of you. As it’s running as you, you don’t have permission on the end users calendar to create an event.
I have been able to add events to users calendars but done it within the power app as that’s ran in the user context, but I didn’t need to have an approval step, so I had the user book a session in the app, it add the session to their calendar, then write that data to SharePoint. My flow then just scanned for new items created in SharePoint to send them a confirmation email.
I’ll have a play with having the power app handoff to flow, let flow handle the approval then see what the flow can hand back to the power app. Not sure it will work but worth a try
I have been able to add events to users calendars but done it within the power app as that’s ran in the user context, but I didn’t need to have an approval step, so I had the user book a session in the app, it add the session to their calendar, then write that data to SharePoint. My flow then just scanned for new items created in SharePoint to send them a confirmation email.
I’ll have a play with having the power app handoff to flow, let flow handle the approval then see what the flow can hand back to the power app. Not sure it will work but worth a try
- BobbiRowlett4735Mar 15, 2023Copper Contributor
I am a newbie as well. I have just built a flow where a user fills out a leave request form. Power Automate sends it to their direct report via Active Directory. The supervisor approves/denies and then notice is sent to the user that it is approved. I'm getting access denied for the addition of a calendar event. I don't want to add it to the user's calendar until it is approved. Continuing with that, we also want to add the same event to a shared SharePoint calendar for our division. Is that possible?
Thanks for listening and I would appreciate any help. Thank you!