I use the following filter query to retrieve all events from my Calendar that took place on 6/14/2021 UTC-8:
start/dateTime ge '6/14/2021 8:00 AM' and end/dateTime le '6/15/2021 8:00 AM'
Where the start and end times are provided through PowerApps variables.
The issue is that this query doesn't retrieve any events that are part of a series with a start/end date outside this range . e.g. for 6/14/2021, I had 3 single events, one daily recurring event from 6/14 to 6/16, and one daily recurring event from 6/1 to 6/30. The first 4 events were correctly retrieved, but the final one wasn't.
I tried switching around the operators to:
start/dateTime le '6/15/2021 8:00 AM' and end/dateTime ge '6/14/2021 8:00 AM'
but it made no difference.
How do I adjust my filter so that it retrieves ALL events for a given day?
Hello @francescjp ,
I have a similar problem with my app. I'm trying to retrieve events from my Outlook calandar into a gallery in power apps. Heres what I have for now which is not working.
App.OnStart =
Hello:
I think it would be a good solution.
start/Datetime ge '@{startOfDay(utcNow(),'yyyy-MM-ddTHH:mm:ssZ')}' and end/Datetime lt '@{startOfDay(addDays(utcNow(),1,'yyyy-MM-ddTHH:mm:ssZ'))}'
Mark it as a solution if it works please.
Thank you.
Have a good day.
do you retrieve calendar events with Power Automate?
i think you need to use 'Get calendar view of events (V3)' action to get recurring events.
in powerapps for example,
Office365Outlook.V4CalendarGetItems() does not return recurring events,
Office365Outlook.GetEventsCalendarViewV3() returns all events including recurring.
WarrenBelz
146,653
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,999
Most Valuable Professional