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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Automate
Answered

all day schedule

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I'm just bigginer of flow and appreciating template "Outlook event sincronize to google calender"

https://japan.flow.microsoft.com/ja-jp/galleries/public/templates/e9ff7beaedef4aff866f4bf8494ae72d/outlookcom-%E3%82%AB%E3%83%AC%E3%83%B3%E3%83%80%E3%83%BC%E3%81%8B%E3%82%89-google-%E3%82%AB%E3%83%AC%E3%83%B3%E3%83%80%E3%83%BC%E3%81%B8%E3%81%AE%E3%82%A4%E3%83%99%E3%83%B3%E3%83%88%E5%90%8C%E6%9C%9F/

 

My problem is

When I scheduled event as all day ex (1st June), Google schedule shows schedule from 9:00 1st June and 9:00 2nd June.

(I guess offset 9:00 come from Japan STD time difference from GMT)

 

Please give me advice how to correct this error.

 

Regards

I have the same question (0)
  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

  • v-yuazh-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous,

     

    As you said ,the offset 9:00 come from Japan STD time difference from GMT, if you have choose the Time zone when create the event in outlook, and don't want offset to be exist in google calendar, you could subtract the 9 hours befroe create the event in google calendar.

    Capture.PNG

     

     

    The expression in the "Start time" field of "Create an event" action of google calendar as below:

     

    addHours(body('Create_event_(V2)')['Start'],-9)

    The expression in the "End time" field of "Create an event" action of google calendar as below:

     

    addHours(body('Create_event_(V2)')['End'],-9)

     

     

    The flow would run successfully as below:

    Capture.PNG

     

     

    Please let me know if your problem could be solved.

     

    Best regards,

    Alice

     

     

     

     

     

     

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at
    Thank you very much for invaluable your advice.
    Please let me know in case mixed specified time to time,
    Ex am 9:00 to am 10:00 and all day.
    At the moment there is no problem when I specify time to time.
    No offset occurs.
    I understand in case all day, I adopt your suggestion offset 9:00hr.
    How should I divide time to time, and all day
     
    Best regards
  • v-yuazh-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous,

     

    You could add a Condition to check if the event is an all day event.

     

    I have made a test on my side, you could refer to screenshot below to add the Condition:

    Capture.PNG

     

     

    If the event is an all day event the flow would run successfully as below:

    Capture.PNG

     

     

    If the event isn't an all day event, the flow would run successfully as below:

    Capture.PNG

     

     

    Please let me know if your problem could be solved.

     

     

    Best regards,

    Alice

     

     

     

     

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Alice

    Thank you for your invaluable advice.

    I'll redesign your advice from Office365 outlook to Outlook com since due to our security policy

    We cannot use combination Office365 outlook and Google.

    After succeed, I will repot result.

     

    Best regards

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Dear all

     

    Thanks to your advice, I could clear all days issue.

     

    addHours(@items('Create_events_in_Google_Calendar_')?['Start'],-9)

    addHours(@items('Create_events_in_Google_Calendar_')?['End'],-9)

    スクリーンショット 2018-06-28 01.53.17.png

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Dear

    Could you give me advice for correct formula since I face formula error.

     

    {
      "error": {
        "errors": [
          {
            "domain""global",
            "reason""invalid",
            "message""Invalid value for: Invalid format: \"addHours(@items('Create_events_i...\""
          }
        ],
        "code"400,
        "message""Invalid value for: Invalid format: \"addHours(@items('Create_events_i...\""
      }
    }

     

    Best regards

  • Verified answer
    Community Power Platform Member Profile Picture
    Microsoft Employee on at

    As so far, I could not find appropriate formula, I concluded as temporaly solution below.

     

    Incase of All day schedule,

    Starttime : Starttime

    Endtime : Starttime

     

    Thank you and Regards

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 784

#2
Valantis Profile Picture

Valantis 589

#3
Haque Profile Picture

Haque 522

Last 30 days Overall leaderboard