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 / Flow not working corre...
Power Automate
Answered

Flow not working correctly String was not recognized as a valid DateTime.

(0) ShareShare
ReportReport
Posted on by 18

Hi, I am getting the below error message stopping my flow from running.

String was not recognized as a valid DateTime. And then my Client ID.

 

I am running an export from Excel to Outlook Calendar event.

 

Below is my excel headers

NiallOB01_0-1664879059712.png

 

And this is the config for the Outlook Event

NiallOB01_1-1664879148722.png

Help please??

Categories:
I have the same question (0)
  • Verified answer
    emadrigal Profile Picture
    Microsoft Employee on at

    Hello @NiallOB01 

     

    • I think you're getting this error because your Date field in excel is not in the ISO format. You can try changing this to the correct format.

    Instead of using 'dd-MM-yyyy' you should use 'yyyy-MM-dd'

     

    emadrigal_0-1664905348194.png

     

    To be able to change the format in excel you can review Creating a custom date format in Excel in this link: How to change Excel date format and create custom formatting (ablebits.com)

     

     

    • Other option is using the FormatDateTime() in Power Automate to format your date in different date formats like dd/MM/yyyy, MM/dd/yyyy. For that you should use this function:

     

     

    formatDateTime(variables('VariableName'),'dd-MM-yyyy')

     

     

    Links to learn more about FormatDateTIme function:

     Power Automate formatdatetime [with real examples] - SPGuides

    Power Automate Fundamentals # 5: Usage of formatDa... - Power Platform Community (microsoft.com)

     

     

    • Other option is doing something like this:

     

    emadrigal_1-1664906142631.png

     

     

    Let me know if it this helps you!

     

    Regards,

     

    Community Support Team - Edgar Madrigal

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly. If you like my response, please give it a Thumbs Up.

  • NiallOB01 Profile Picture
    18 on at

    Okay so I got that part working, and it succeeds, however it doesnt actually post anything to my outlook? Any ideas with the same configuration 

  • emadrigal Profile Picture
    Microsoft Employee on at

    Hello @NiallOB01 

     

    Could you please send more pictures about your complete flow to see more details about it. To see what trigger you are using.

     

    Regards,

     

    Community Support Team - Edgar Madrigal

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