@v-yuazh-msft Sorry fro replaying in a old thread but im trying to find a solution for the "Create a group event" as i cannot set time or do anything with that trigger i dont see how i can book one day event on the same day.
I get the following error.
Your request can't be completed. The duration of an event marked as All day must be at least 24 hours.
I did try the solution below. And the i get the following error instead.
Your request can't be completed. The Event.End property for an all-day event needs to be set to midnight.
addSeconds(triggerBody()?['EndDate'],2)