I have a Microsoft Flow that (when run manually) sends a pre-populated e-mail to a team notifying the run user is out sick for the day.
The Flow also creates a calendar event blocking the user's calendar for the next 9 hours - see below. I really want this event to be an all day calendar event. I tried selecting "Yes" in the "Is All Day Event?" dropdown but the flow failed.
I have "Is all day" marked in "Office 365 Outlook Create event V2" action blocks, and it is working fine. I haven't tested "Create event", directly implemented "Create event v2"
I also set the timezone
Hope this helps
What did you enter for the start and end times?
My team is in different timezones, so I am not sure how I would set the time zone.
Thanks for your help!
I am afraid I haven't this problem so far, I haven't implemented a multi time zone scenario.
Anyway, I guess if you create an event in your calendar, you should refer to your timezone. Outlook should be in charge of adapting the timezone to the destination settings if delivering invitations to the event
Hope this helps
Do you mind sharing what exactly you entered in the Start and End Time fields? I tried selecting "All Day" and received an error saying the times must be set to midnight, so I must be using the wrong time format.
Did you not enter any times in those fields? The time fields are required (at least for me).
For reference, I am referring to the following fields:
A was meaning I didn't get errors due to time should be set to midnight
This is the expression I use in one of my flows for End Time:
My requirements are a little different, but you did help me think of other ways to update the flow. I was able to figure it out.
Below is my updated flow.
Thanks for your help!
I am hoping someone from Microsoft can explain the difference between the two versions of "Create Event". 🙂
Could you please share a screesnshot of your flow’s configuration?
Further, could you please show a bit more about your error message?
I have reproduced the issue on my side, if you want to set the event to all day event, the Start time and End time for an all day event should be set to midnight.
If you want to set All Day Event for the event, please take a try to configure Start time and End time as below:
If you don’t set Start time and End time to midnight for the All Day event, the All Day event property would conflict with Start time and End time.
Accoring to your scenario, I think you should not set “All Day Event?” field to Yes on your side.
More details about All Day Event, please check the following article:
Create All Day Event
As you can see on my previous answers, Create Event v2 action block + Is all day event is working fine for me without having to bother about inserting midnight hours in Start Time, End Time. I implemented such flows one month ago aprox. Does it mean MS Flow design team has added an extra validation to this action block recently?
Thank you in advance!
Below is a screenshot of my original flow that was an "OK" solution. Ideally, I wanted the calendar event to be all day instead of a 9 hour block.
Below is an updated flow that is generating the all-day event as desired. The "All Day" field is set to "yes" in the flow below. I am not sure if this flow is structured correctly.
What is the format for making start/end times set to midnight? I see the format in your flow screenshot, but it seems that is the output. I am looking to know how to set the times to midnight on the day the flow is run.
Learn how to create your own user groups today!
Check out the new Power Platform Community Connections gallery!
Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.