Hi,
I have built a succesful flow integrating a shared Outlook mailbox to a Planner in Teams. However, I struggle reformatting my Start and Due Date to dd-MM-yyyy.
I have tried formatting it directly by in the fields by: formatDateTime(utcNow(),'dd-MM-yyyy')
I have also tried initializing it as a variable above the 'Create a task in Planner' step.

None of this works, and I get the error message: "The 'inputs.parameters' of workflow operation 'Create_a_task_in_Planner' of type 'OpenApiConnection' is not valid. Error details: Input parameter 'body/startDateTime' is required to be of type 'String/date-time'. The runtime value '"21-08-2022"' to be converted doesn't have the expected format 'String/date-time'."
I am really not sure what the problem is. Can anyone help me?
Thanks a lot!
Cheers,
Annasofie