Forum Discussion
hkmamun
Mar 31, 2020Brass Contributor
MS Flow is running only for Admin User (Flow Creator) not running for other users
I have a Office365 E5 Developer tenant license. I have created a MS Flow by using template named "Create a SharePoint item when Office 365 calendar event is created". I have created this Flow with A...
Thijs Lecomte
Mar 31, 2020Bronze Contributor
Flow only checks the calendar items of the user that the flow is running for.
If you would want to get all the calendar items, you would need to use the Graph API
Here is some documentation:
https://docs.microsoft.com/en-us/graph/api/calendar-list-events?view=graph-rest-1.0&tabs=http
https://stackoverflow.com/questions/58677725/how-to-get-users-calendar-event-in-microsoft-graph-api
If you would want to get all the calendar items, you would need to use the Graph API
Here is some documentation:
https://docs.microsoft.com/en-us/graph/api/calendar-list-events?view=graph-rest-1.0&tabs=http
https://stackoverflow.com/questions/58677725/how-to-get-users-calendar-event-in-microsoft-graph-api
hkmamun
Mar 31, 2020Brass Contributor
Thijs Lecomte thanks for your reply. There is no way to run a Flow for all users?
My scenario is I am creating Outlook event from Power Apps for the loggedin user. so when a event is created after that the Flow is running. So, is there any way to run the flow for the current user?
- Thijs LecomteMar 31, 2020Bronze ContributorNot that I know of
Flow is meant for user based automation
Logic Apps would be able to make that happen, I think- Mar 31, 2020And to be more specific: https://docs.microsoft.com/en-us/business-applications-release-notes/april18/microsoft-flow/sharepoint-lists-libraries
- hkmamunApr 01, 2020Brass Contributor
jcgonzalezmartin thanks for your reply. I did the same but not working. Actually it will work if the flow run if an item is added/updated to a SharePoint list but in my case the flow will run if an event is created/updated to individuals calendar.
- Mar 31, 2020What you can do is make the list "owner" of the Flow what means that users with edit permissions on the list can run the Flow