Skip to main content

Notifications

Power Platform Community / Forums / Building Flows / Outlook events to Shar...
Building Flows
Unanswered

Outlook events to SharePoint List - flow creates and updates but has the same time in each event

Posted on by 41

I've created a flow using the template "Create a SharePoint List Item when an Office 365 event is added or updated" the flow creates and updates as needed with the exception of the time, all events are coming into the SharePoint list with the start and end time of 11:00. I'm not sure what is going on???

LauraleeG_0-1710302626137.png

LauraleeG_1-1710302656232.png

The events being tested are all on the same day but at different times of the day but as per the list below they are all at the same time:

 

LauraleeG_2-1710302751039.png

 

 

  • LauraleeG Profile Picture
    LauraleeG 41 on at
    Outlook events to SharePoint List - flow creates and updates but has the same time in each event
    Nothing worked so I just removed the time from the data
     
  • LauraleeG Profile Picture
    LauraleeG 41 on at
    Re: Outlook events to SharePoint List - flow creates and updates but has the same time in each event

    Hi @ManishSolanki 

     

    Unfortunately that didn't work 😞 I got this error when I tested it:

     

    Unable to process template language expressions for action 'Convert_start_time_zone' at line '0' and column '0': 'In function 'converttimezone', the value provided for date time string '' was not valid. The datetime string must match ISO 8601 format.'.

     

    But then it ran successfully on it's own after that? But the times are still wrong. It's very strange

  • ManishSolanki Profile Picture
    ManishSolanki 14,981 on at
    Re: Outlook events to SharePoint List - flow creates and updates but has the same time in each event

    Pls try using 'Convert time zone' action and use custom format string in each action:

    ManishSolanki_0-1710308945202.png

    yyyy-MM-ddTHH:mmZ

    Pass the converted start & end time to create and update items.

     

     

     

    If this helps & solves your problem, please remember to give a 👍 and accept my solution as it will help others in the future.

     

  • LauraleeG Profile Picture
    LauraleeG 41 on at
    Re: Outlook events to SharePoint List - flow creates and updates but has the same time in each event

    @ManishSolanki 

     

    Yep they are correct

     

    LauraleeG_0-1710308257231.png

     

  • ManishSolanki Profile Picture
    ManishSolanki 14,981 on at
    Re: Outlook events to SharePoint List - flow creates and updates but has the same time in each event

    Hi @LauraleeG 

     

    Pls go to "Site Settings" and verify time zone setting under "Regional Settings". It should be matched with local time zone:

    ManishSolanki_0-1710307774485.png

     

     

    If this helps & solves your problem, please remember to give a 👍 and accept my solution as it will help others in the future.

     

  • LauraleeG Profile Picture
    LauraleeG 41 on at
    Re: Outlook events to SharePoint List - flow creates and updates but has the same time in each event

    Hi @ManishSolanki 

     

    So that gives me different times for start and finish of each meeting and well as different times throughout the day, but they aren't the correct times? 
    Below is the list in SharePoint

    LauraleeG_0-1710307209161.png

     

    This is the calendar with the events in it

    LauraleeG_1-1710307280969.png

     

  • ManishSolanki Profile Picture
    ManishSolanki 14,981 on at
    Re: Outlook events to SharePoint List - flow creates and updates but has the same time in each event

    Hi @LauraleeG 

     

    Alternatively, I think we can write an expression directly in SharePoint column to get this done. Please use the below expression for start & end time:

     

    ManishSolanki_0-1710306015760.png

    Expression used for Start time:

    formatDatetime(triggerOutputs()?['body/start'],'yyyy-MM-ddTHH:mmZ')

     Expression used for end time:

    formatDatetime(triggerOutputs()?['body/end'],'yyyy-MM-ddTHH:mmZ')

     I hope these expressions will resolve the problem.

     

     

    If this helps & solves your problem, please remember to give a 👍 and accept my solution as it will help others in the future.

     

  • LauraleeG Profile Picture
    LauraleeG 41 on at
    Re: Outlook events to SharePoint List - flow creates and updates but has the same time in each event

    Thanks @ManishSolanki 
    I don't have that as an option, I'm assuming that is something to do with our IT department and either allowing access or not updating the servers to the most current version?

  • ManishSolanki Profile Picture
    ManishSolanki 14,981 on at
    Re: Outlook events to SharePoint List - flow creates and updates but has the same time in each event

    Hi @LauraleeG 

     

    It seems you have taken lower version of trigger. You need to use higher version (V3) to get those fields or properties:

    ManishSolanki_0-1710304775838.png

     

     

    If this helps & solves your problem, please remember to give a 👍 and accept my solution as it will help others in the future.

     

     

  • LauraleeG Profile Picture
    LauraleeG 41 on at
    Re: Outlook events to SharePoint List - flow creates and updates but has the same time in each event

    Thanks @ManishSolanki 

    I don't seem to have those options

    LauraleeG_0-1710304525035.png

     

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

September 2024 Newsletter…

September 2024 Community Newsletter…

Community Update Sept 16…

Power Platform Community Update…

Welcome to the new Power Platform Community!…

We are excited to announce our new Copilot Cookbook Gallery in the Community…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 141,065

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 63,407

Leaderboard

Featured topics