Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Unanswered

Flow failing excel onedrive send emails reminders - The datetime string must match ISO 8601 format

(0) ShareShare
ReportReport
Posted on by 49

Hello MS Power Community ~

 

Help please,

 

I am getting the following:

 

"Unable to process template language expressions for action 'Condition' at line '0' and column '0': 'In function 'parseDateTime', the value provided for date time string '' was not valid. The datetime string must match ISO 8601 format.'"

 

Some context: I have an excel table on OneDrive for Business. header column 'Day' contains date format 31/03/2023 (date at which the event is hosted) and I am trying to make a flow that sends an email reminder to hosts 2 weeks before an event and then another reminder 1 week before the event.

 

I have 2 variables:

formatDateTime(convertFromUtc(addDays(utcNow(),14),'AUS Eastern Standard Time'),'dd/MM/yyyy')
formatDateTime(convertFromUtc(addDays(utcNow(), 7), 'AUS Eastern Standard Time'), 'dd/MM/yyyy')
I also got the following:
screenshot list rows in table.png
 
Joellelechat_0-1680222785515.png

 

 

 

 

  • Nived_Nambiar Profile Picture
    17,497 Super User 2025 Season 1 on at
    Re: Flow failing excel onedrive send emails reminders - The datetime string must match ISO 8601 format

    Good to know that it worked !

     

    Have a nice day !

  • Joellelechat Profile Picture
    49 on at
    Re: Flow failing excel onedrive send emails reminders - The datetime string must match ISO 8601 format

    hi @Nived_Nambiar , thanks so much for all your help. After more tests and troubleshooting, the answer to my solution is: formatDateTime(parseDateTime(items('Apply_to_each')?['Day']), 'dd/MM/yyyy''en-GB'). Also, the emails were not been sent out because in the advanced options I tried to send the email from another mailbox which I don't have access to.  After I removed the "sending from" and updated the expressions it worked. Thanks again for your time.

  • Nived_Nambiar Profile Picture
    17,497 Super User 2025 Season 1 on at
    Re: Flow failing excel onedrive send emails reminders - The datetime string must match ISO 8601 format

    @Joellelechat 

     

    Any updates 🙂 ?

  • Nived_Nambiar Profile Picture
    17,497 Super User 2025 Season 1 on at
    Re: Flow failing excel onedrive send emails reminders - The datetime string must match ISO 8601 format

    Hi @Joellelechat 

     

    I think day value is empty as seen from error, 

     

    Could you check that ?

     

  • Joellelechat Profile Picture
    49 on at
    Re: Flow failing excel onedrive send emails reminders - The datetime string must match ISO 8601 format

    hi @Nived_Nambiar ,

    thank you so much for trying to help.

    I tried replacing with the codes and got the following errors:

    Joellelechat_0-1680243911840.png

     

  • Nived_Nambiar Profile Picture
    17,497 Super User 2025 Season 1 on at
    Re: Flow failing excel onedrive send emails reminders - The datetime string must match ISO 8601 format

    Hi @Joellelechat 

     

    Sorry for late response, Day format is correct, could you try this condition instead of highlighted one below

     

    Nived_Nambiar_0-1680242808645.png

     

    formatDateTime(items('Apply_to_each')?['Day'],'dd/MM/yyyy','en-GB')

     

    Try this and let me know if it worked 🙂

  • Joellelechat Profile Picture
    49 on at
    Re: Flow failing excel onedrive send emails reminders - The datetime string must match ISO 8601 format

    hi @Nived_Nambiar , you mean these?

    MS PA codes.png

    Thanks for helping ~

    Joelle

  • Nived_Nambiar Profile Picture
    17,497 Super User 2025 Season 1 on at
    Re: Flow failing excel onedrive send emails reminders - The datetime string must match ISO 8601 format

    Hi @Joellelechat 

     

    Please show the value of date appearing in power automate flow ?

  • Joellelechat Profile Picture
    49 on at
    Re: Flow failing excel onedrive send emails reminders - The datetime string must match ISO 8601 format

    hi @Nived_Nambiar , no, it is still failing:

    Joellelechat_0-1680234304123.png

     

  • Nived_Nambiar Profile Picture
    17,497 Super User 2025 Season 1 on at
    Re: Flow failing excel onedrive send emails reminders - The datetime string must match ISO 8601 format

    Hi @Joellelechat 

     

    Did it worked for you ?

     

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,651 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,997 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow