Showing results for 
Search instead for 
Did you mean: 
Level: Powered On

Error creating an outlook task

I have an issue, my flow starts when someone fill a form from MS-Forms, then an e-mail warn is sent and an outllok task is created. I am receiving the e-mail, but the flow fails creating an Outlook task.
I could ot figure out what is wrong with this outlook task creating step.
The error I have is status 400:
"error": {
"code": "InvalidDateTime",
"message": "The value '2019-02-09T02:46:06Z\\n' of parameter 'DateTime' is invalid."
If I left conclusion date blank I have an error too:
"error": {
"code": "InvalidDateTime",
"message": "The value '\\n' of parameter 'DateTime' is invalid."
I am not sure if is an error by my side or if is an Bug.
Super User
Super User

Re: Error creating an outlook task



Please post a screen shot of your Flow.  That will make it uch easier to assist.



If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Community Support Team
Community Support Team

Re: Error creating an outlook task

Hi @rfanton,


It seems that there is something wrong with Outlook task action Create a task.

What value have you specified for the Due Date field?

Please share a screenshot of your flow for better understanding.

By the way, I have created a flow likes below, in the Due Date and Start Date fields, use dynamic contents “Birthday” and “submitDate” for each field. No error message returned.

Please check it for a reference.



Best regards,



Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources


Power Platform Online Conference

Speakers, submit your sessions now! Call for speakers ends Feb. 10!


New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!


Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!


Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!


Microsoft Learn

Learn how to build the business apps that you need.


Power Platform World Tour

Find out where you can attend!


Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Solution Authors
Top Kudoed Authors (Last 30 Days)
Users online (5,510)