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.
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
User | Count |
---|---|
65 | |
51 | |
30 | |
29 | |
24 |