
Announcements
I have managed to connect a Sharepoint list to the Outlook calendar, but the problem is that the date is incorrect in the calendar. In the calendar, the event is added to today's date, and not the date selected in the list.
Start: if(empty(triggerBody()?['Fra']),null,formatDateTime(triggerBody()?['Fra'],'MM/dd/yyyy'))
End: if(empty(triggerBody()?['Til']),null,formatDateTime(triggerBody()?['Til'],'MM/dd/yyyy'))
Would have liked to have the event become an "All day event" as well.
Hope someone can help me out here.
Power Automate works in UTC time zone.
I see that you are converting the date to string using formatDateTime.
Either get rid of the formatdatetime function or covert the time in UTC
What Time Zone Does Power Automate Use? - Power Tech Tips