web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Automate
Suggested Answer

Create an Event V4

(0) ShareShare
ReportReport
Posted on by

I have a Power Automate flow that iterates over a rolling date range (using a Do-Until loop) and evaluates each date against a set of conditions. For each date in the loop:

 

  1. The flow determines whether I am scheduled to work that day.

  2. If the result is false (I do not work that day), the flow then checks my Outlook calendar to see whether an “Unavailable-Not Scheduled” all‑day event already exists on that specific date.

  3. If such an event already exists, the flow does nothing.

  4. If no matching event exists, the flow should create a new all‑day calendar event for that date.


  5.  
 

The date being evaluated is stored in a variable (e.g., CurrentDate) that updates on each iteration of the loop.

 

The main issue I am encountering is with the Outlook “Create an event” action (V3/V4). Although the flow logic works correctly and the rolling date updates as expected, Outlook does not accept dynamic values, variables, or expressions as the Start Time and End Time when creating an all‑day event. The action appears to only accept literal date inputs, causing the flow to fail at runtime when attempting to create events programmatically for dynamic dates.

 

I have verified that:

 

  • The rolling date variable is correctly formatted (yyyy-MM-dd), as is every date in this entire flow.

  • Calendar events are successfully retrieved and filtered earlier in the flow

  • The failure occurs specifically at the Create an event step when attempting to use a dynamic date value.


  •  
 

I am looking for guidance on:

 
  • Whether there is a supported way to create all‑day Outlook events using dynamic dates in Power Automate
  • Or whether this is a known limitation of the Outlook V3/V4 connector when used with all‑day events and variables
 

Any recommendations on supported patterns or connector limitations would be appreciated.

I have the same question (0)
  • Suggested answer
    chiaraalina Profile Picture
    1,864 Super User 2026 Season 1 on at
     
    Have you tried to pass a full date-time, not just a date?
     
     
    Microsoft’s documentation shows examples like:
    2017-08-29T04:00:00
    2017-08-29T05:00:00
     
    Let me know if it worked!
  • Suggested answer
    Kalathiya Profile Picture
    1,690 Super User 2026 Season 1 on at
    Hello @KC-03041638-0
     
    Issue is that you are passing only date it expect date and time due to this it's failing the automation. 
     
    formatDateTime(variables('CurrentDate'),'yyyy-MM-ddT00:00:00')
     
    For example, if you want to schedule an event from 08:00 to 09:00, you should format it like this:
     
    Start Date: 
    formatDateTime(utcNow(),'yyyy-MM-ddT08:00:00')
     
    End Date: 
    formatDateTime(utcNow(), 'yyyy-MM-ddT09:00:00')
     
    If you want this event to repeat every day, you can set the Recurrence to "Daily". You can also add an Recurrence end date if needed.
     
     
    If this response resolves your issue, please mark it as the Verified Answer so it can help other community members as well.
    ---------------------------------------------------------------------------------

    📩 Need more help? Just mention @Kalathiya and I’ll be happy to assist.

    ✔️ If this answer helped you, please tick “Does this answer your question?” so it can be marked as the Verified Answer.

    💛 A Like always motivates me to keep contributing!

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 592

#2
Valantis Profile Picture

Valantis 340

#3
11manish Profile Picture

11manish 284

Last 30 days Overall leaderboard