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 / Creating Task From Exc...
Power Automate
Unanswered

Creating Task From Excel To Planner - Date Error

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello,

 

I am new to using power automate and I am getting the following error when trying to create a task from Excel to MS Planner. 

 

The 'inputs.parameters' of workflow operation 'Create_a_task' of type 'OpenApiConnection' is not valid. Error details: Input parameter 'body/startDateTime' is required to be of type 'String/date-time'. The runtime value '"44252"' to be converted doesn't have the expected format 'String/date-time'. 

 

I am currently in the UK date timezone. Not sure how the date conversion works. If someone can help that would be great.

 

Also, does anyone know how to add labels in excel so when the task has been created in Planner, it will show the labels in the tasks?

 

1.png

Categories:
I have the same question (0)
  • RobElliott Profile Picture
    10,489 Super User 2026 Season 1 on at

    @Anonymous Excel stores dates as an integer, not as a date. You can convert it to a date by adding a Compose control in the Apply to each and in the expression tab add

    formatDateTime(addDays('1900-01-01', add(int(items('Apply_to_each')?['Due']),-2)), 'yyyy-MM-dd')
     
    where Due is the column in my Excel sheet.
     
    Then use the outputs of that to create the date in your Planner task.
     
    Rob
    Los Gallardos
    If I've answered your question or solved your problem, please mark this question as answered. This helps others who have the same question find a solution quickly via the forum search. If you liked my response, please consider giving it a thumbs up. Thanks.

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 1,027

#2
Valantis Profile Picture

Valantis 815

#3
Haque Profile Picture

Haque 630

Last 30 days Overall leaderboard