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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / create ics file for ca...
Power Automate
Unanswered

create ics file for calendar-keep getting wrong date/times

(0) ShareShare
ReportReport
Posted on by 550

Hello - I am building a flow which creates an ics file that is attached to an email so the end user can add an event to their calendar. However, the ics file is appearing with an incorrect start /stop date time. It keeps reverting to today's date and time frame - not matching the date and time frame of the actual event. Any help on why this is happening and how I might fix it would be greatly appreciated!

 

Note: I originally attempted this using instructions at: Power Automate: How to create an ics calendar event - Manuel T. Gomes (manueltgomes.com)

 

Using the Run History, I can see that my date time stamp and start stop times in the ICS variable that is used to create my ics file is correct: 

kky1_0-1668461370092.pngkky1_1-1668461403763.png

Here is the email from the flow with attached ics file:

kky1_4-1668461555102.png

 

 

But when I open the ics file - it is the wrong date and times

kky1_2-1668461467658.png

Here is the step in the flow that creates the ics file: (I originally tried the utc convert function but that returned the wrong hours so I then skipped the compose actions (converttoUTCStart and End) and set the start time and end time variables based on the concat function above as in the snippet below to create the time stamp. I wonder if this is the issue even though the date/time format appears correct in the run history?

kky1_6-1668461752980.png

 

kky1_5-1668461586339.png

 

Here is my send email action with the attached ics file:

kky1_3-1668461519517.png

 

 

Categories:
I have the same question (0)
  • Verified answer
    kky1 Profile Picture
    550 on at

    Okay, I gave up using the convertoUTC function and instead did a series of compose actions to reformat my date time to fit the pattern described in this video (Create and Send ICS Calendar Invites with Flow - Power Platform Community (microsoft.com)) and now the ics calendar is scheduling the correct date. 

     

     

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…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard