Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Answered

Bug: The output StartDate and EndDate of "When a new event is created (V2)" cannot be sent as inputs to "Get calendar view of events (V2)"

(0) ShareShare
ReportReport
Posted on by

The output of "When a new event is created (V2)" is of the format: '2019-07-05T16:00:00.00 00:00'

This throws an error if used as input to "Get calendar view of events (V2)". For example:

 

Invalid value '2019-07-05T16:00:00.00 00:00' for parameter 'Start Time'.
clientRequestId: 5f173fe1-b0af-4b25-afde-328d14fbf452

 

I tested by manually editing this date, which worked. Then, as a workaround, I inserted "Convert time zone" which takes this input and outputs it to UTC time. (Good that this event can process such a value!)

 

Input to "Convert time zone":

 

{
 "baseTime": "2019-07-05T17:00:00.0000000+00:00",
 "formatString": "o",
 "sourceTimeZone": "UTC",
 "destinationTimeZone": "UTC"
}

Output (which was accepted by "Get calendar view of events (V2)"):

 

{
 "body": "2019-07-05T17:00:00.0000000Z"
}

I am reporting this so hopefully this can be fixed so that the output of the "When a new event is created (V2)" can be consumed directly by "Get calendar view of events (V2)".

  • Verified answer
    v-bacao-msft Profile Picture
    on at
    Re: Bug: The output StartDate and EndDate of "When a new event is created (V2)" cannot be sent as inputs to "Get calendar view of events (V2)"

     

    Hi @omeriqbal ,

     

    This issue has been solved, please take a try again.

     

    Best Regards,

  • v-bacao-msft Profile Picture
    on at
    Re: Bug: The output StartDate and EndDate of "When a new event is created (V2)" cannot be sent as inputs to "Get calendar view of events (V2)"

    Hi @omeriqbal ,

     

    Thank you for your feedback, I can reproduce the same issue on my side.

    It seems that "+" is ignored during the execution of the action, so it is judged to be the invalid value.

    I will report this issue on my side, if there are any updates, I will post back.

     

    Best Regards,

  • AlanPs1 Profile Picture
    2,471 on at
    Re: Bug: The output StartDate and EndDate of "When a new event is created (V2)" cannot be sent as inputs to "Get calendar view of events (V2)"

    Hi @omeriqbal 

    Thank you for posting this.

     

    If I am picking you up correctly, you are aware the formats are diferent and are probably aware how to manipulate them to get your flow working using "Convert time zone" or more likely formatDateTime()

     

    To allow the Flow team to review this and for your comments to gain the correct exposusre, please post this@ I Found A Bug

    If you are struggling with the date formatting, please post back.

     

    If you have found my post helpful, please mark thumbs up.

     

    Any other questions, just ask.

     

    Thanks, Alan

     

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,695 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,015 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow