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

Notifications

Announcements

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

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,323 Super User 2025 Season 2 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard