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

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Vacation Request Calen...
Power Automate
Unanswered

Vacation Request Calendar always leaves out the last day

(0) ShareShare
ReportReport
Posted on by 4

I created a Vacation Request flow base of the template. I use a MS FORMS questionnaire that the requester fills out and submits for approval. If the vacation request is for only one day the flow doesn't work and if the vacation request is for multiple days and gets approved, when the flow goes to make a calendar entry it's always short 1 day.  I've heard some people say its a timezone issue and some say you just need to create an addDays expression but I can't seem to get either one working. If someone could assist me in figuring this out it would be greatly appreciated.

 

Triplem_0-1658933414772.png

Triplem_1-1658933561566.png

 

Categories:
I have the same question (0)
  • manuelstgomes Profile Picture
    6,625 on at

    Hi @Triplem 

     

    It's strange because if I read it correctly, the start date is correct, right? So if there are timezone problems, both dates would be wrong.

     

    Cheers
    Manuel

    ------------------------------------------------------------------
    If I have answered your question, please mark it as "Accept as Solution." It will help other members find the solution faster. If you like my response, please give it a Thumbs Up. ?
    Otherwise, reply to it, and the community will do its best to help you.

     

     

  • Hardesh15 Profile Picture
    7,087 Super User 2024 Season 1 on at

    @Triplem Pls use two compose action and pass your start and end date . Then run your flow and see output of these compose. 

    Please 'Thumbs Up' the posts that helped you and 'Accept as Solution' if my post answered your question.

    @Hardesh /Gopenly.in

  • David- Profile Picture
    1,254 on at

    You may need to use a formatDateTime expression on your start and end time fields. I use the expression 

    formatDateTime(triggerOutputs()?['body/Start'],'yyyy-MM-ddTHH:mm:ss') for several flows that I add events to calendars and have not had any problems.
     
    David_0-1658938857030.png

     

    It also sounds like you want to create all-day events. If so, expand the advanced options and set "Is all day event?" to yes and see if that resolves your issue.

  • Triplem Profile Picture
    4 on at

    Thank you for your suggestion. All day event is set to "Yes" but for the expression how do incorporate the Start and End dates generated by the form the users submit? Please remember I am not an expert by any means.

     

    Thank you,

  • Triplem Profile Picture
    4 on at

    I don't think it's a timezone issue either. This is my last ditch effort to get this working, if I can't get it working soon I'm just going to change the form to ask the requester what day they will be returning from vacation instead of when does the vacation end.

     

    It's lazy but it would work.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 237 Super User 2026 Season 1

#2
David_MA Profile Picture

David_MA 176 Super User 2026 Season 1

#3
Power Platform 1919 Profile Picture

Power Platform 1919 96 Super User 2026 Season 1

Last 30 days Overall leaderboard