Hello PowerUser's,
I'm a newbie on PowerAutomate, and I have some issue in the building of a flow to send a meeting invite to attendee when an event is booked in a Sharepoint Calendar.
The flow is pretty simple : When an item is create in Sharepoint Calendar (Cal_First), Create an Event (V4)
The problem is on the Create an Event Start Time. I tried several formula and have different error message.
Here is the Create an Event block :
My Start and End Time in my Sharepoint Gallery is based on a DateTime Column
My only problem is with the formula to convert my DateTime to ISO8601 format. I don't even know what formula is the most appropriate : ConverttoUtc, ConvertFromUtc, ConverttoTimeZone.
Solved! Go to Solution.
Sorry, I was thinking that the dates were coming from a custom SharePoint list.
Please check your formatDateTime expression.
The formatDateTime for the Start time would look something like this:
formatDateTime(outputs('Get_item')?['body/EventDate'],'yyyy-MM-ddTHH:mmZ')
The formatDateTime for End time would look something like this:
formatDateTime(outputs('Get_item')?['body/EndDate'],'yyyy-MM-ddTHH:mmZ')
SharePoint Events Calendar:
Outlook Calendar:
Ellis
I believe that date format SharePoint uses to store dates is in UTC format.
So your start time and end times could be taken from your SharePoint list item without changing them.
Ellis
If i don't change them, I have an error message which tell me that the "type/format « String/date-time » is not convertible in type/format « String/date-no-tz ». »."
🤔
Sorry, I was thinking that the dates were coming from a custom SharePoint list.
Please check your formatDateTime expression.
The formatDateTime for the Start time would look something like this:
formatDateTime(outputs('Get_item')?['body/EventDate'],'yyyy-MM-ddTHH:mmZ')
The formatDateTime for End time would look something like this:
formatDateTime(outputs('Get_item')?['body/EndDate'],'yyyy-MM-ddTHH:mmZ')
SharePoint Events Calendar:
Outlook Calendar:
Ellis
Perfect, it works perfectly!!
Thank you very much.
User | Count |
---|---|
103 | |
36 | |
29 | |
25 | |
16 |
User | Count |
---|---|
136 | |
54 | |
52 | |
36 | |
26 |