One of the tasks of my Flow is to create an all-day event in a group calendar.
All events created via this connector are created with timezone = UTC. This becomes an issue when viewing the event in a non-UTC timezone, as an all-day event becomes a 24-hour event.
For example, 2017-01-01 to 2017-01-02 is an all-day event for 1 Jan 2017. When viewed in a UTC+11 zone, this becomes the 24-hour event 2017-01-01 11:00:00 to 2017-01-02 11:00:00, spanning two days.
Other connectors (e.g. Create Event V2) have the ability to specify a timezone, why is it left out here?
It's worth noting that the following constraints exist:
All-day events must start and end at midnight
See also: CreateCalendarEvent_Response here: https://docs.microsoft.com/en-us/connectors/office365groups/
EDIT: This ability exists in PowerApps, but appears unavailble in Flow: https://powerusers.microsoft.com/t5/General-Discussion/Office-365-Group-Connector-Available/td-p/691...
Thanks for your feedback, could you please share a screesshot of your flow's configuration?
Do you set Is All Day field to Yes within "Create a group event" action?
When working date and times, all times in flow would be converted into Universal Time (UTC or GMT) automatically. If you set the Is All Day field set to yes wihtin "Create a group event" action, you should type a midnight time wihtin Start Time field and End Time field.
In addition, if you want to create an all-day event in a group calendar, you could consider take a try with the following workaround:
End Time field set to following formula:
Is All Day field set to Yes.
The flow works successfully as below:
I have made a test on my side and find that the default time zone of Start Time and End Time within "Cretae a group event" action is UTC format, we could not modify it in Microsoft Flow currently. If you would like this feature to be added in Microsoft Flow, please submit an idea to Flow Ideas Forum:
Thanks for the reply.
Perhaps explaining my use-case will help.
I'm trying to create a flow for an Leave Request. Once this leave is approved by the relevant parties, the flow is to popluate an administration calendar with an all-day event. This is a group calendar.
I have no issue creating an all-day event using date-only inputs (as your flow does), but this is created midnight-to-midnight in UTC. Of course, when viewed by anyone outside UTC, the event is no longer 'all day'. What is required is a midnight-to-midnight all-day event in UTC+11.
Below are screenshots of the input/output of the Action. The Output timezone is UTC, but there is no option to specifiy a timezone in the Input.
Other "Create Event" actions allow the timezone to be specified, allowing the all-day event to be created in the relevant timezone. However, Create Event V1 and V2 both cannot interact with Group Calendars.
Can you suggest any other way to create an all-day event in a Group Calendar in the timezone UTC+11?
Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.