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

Community site session details

Session Id : Z210oZqQWFayjhpbhxlBjp
Power Automate - Building Flows
Unanswered

Date Field from Dynamics CRM is not recognized as Date Field in ISO Format

Like (0) ShareShare
ReportReport
Posted on 24 Nov 2021 18:58:22 by 27

Hi community,

 

I am trying to set an oData filter while listing rows for a table from Dynamics CRM. I would like to compare a date field from CRM with utcnow() with the operator "le" (less or equal). The date field from Dynamics CRM has the format "only date". I am not sure if that matters.

 

Tomeczek_0-1637779649823.png

Tomeczek_1-1637780127178.png

 

I am trying to use the formatDateTime on that date field from CRM, but I always receive the error message that The datetime string must match ISO 8601 format.

 

I'm a bit surprised that a date field has not the correct format to use a date function in power automate....

 

Anyways, someone has an idea how I can make these two date fields comparable?

 

Many thanks!

I have the same question (0)
  • AnthonyAmador Profile Picture
    2,553 Moderator on 26 Nov 2021 at 15:10:11
    Re: Date Field from Dynamics CRM is not recognized as Date Field in ISO Format

    Hi @Tomeczek 

     

    I think the problem could be that you are not calling the CRMFIELD value correctly, is it a dynamic value? If yes, when you create the expression, you need to change the tab to dynamic content and select it from there. 

     

    If that's not the case, can you please show me what CRMFIELD contains? I did some research and it seems that if date is for example dd/MM/yyyy it gives the same error. 

     

    Hope this helps. 

    Kind regards. 

     

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Tomac Profile Picture

Tomac 986 Moderator

#2
stampcoin Profile Picture

stampcoin 699 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 577 Super User 2025 Season 2

Loading complete