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 Platform Community / Forums / Power Automate / Error while creating '...
Power Automate
Answered

Error while creating 'All Day Event' in 'Create a Teams meeting' action

(1) ShareShare
ReportReport
Posted on by 195

Hi All,

 

I am facing the error while creating all day event using 'Create a Teams meeting' action in flow. 

 

Error is =

 

{
 "error": {
 "code": "ErrorInvalidRequest",
 "message": "Your request can't be completed. The Event.End property for an all-day event needs to be set to midnight."
 }
}

 

 

Here is my inputs 

 

{
 "item/subject": "Full Day Event - MSFT Training",
 "item/body/content": null,
 "item/timeZone": "UTC",
 "item/start/dateTime": "2024-07-06T00:00:00.0000000Z",
 "item/end/dateTime": "2024-07-06T23:59:00.0000000Z",
 "calendarid": "Calendar",
 "item/isAllDay": true,
 "item/responseRequested": false
}

 

Categories:
I have the same question (0)
  • SudeepGhatakNZ Profile Picture
    14,394 Most Valuable Professional on at

    @swaminawale 

     

    Try this

     

    SudeepGhatakNZ_0-1720081460549.png

     

    SudeepGhatakNZ_1-1720081510696.png

     

     

  • Verified answer
    swaminawale Profile Picture
    195 on at

    Hi @SudeepGhatakNZ ,

     

    Thanks for your help!  I tried this but I want the "All day" toggle checked, so after a workaround I managed to get the solution where EndTime I put like this =>

     

    @{if(outputs('Is_All_Day_Event'),addMinutes(formatDateTime(triggerBody()?['EndDate']),1),formatDateTime(triggerBody()?['EndDate']))}

     

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!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 60 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 54

#3
Expiscornovus Profile Picture

Expiscornovus 47 Most Valuable Professional

Last 30 days Overall leaderboard