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 / Dynamics CRM Connector...
Power Automate
Answered

Dynamics CRM Connector - ODATA Filters

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hey Team,

 

I have a few questions around the Dynamics CRM Connector for flow. - Do you have any documentation or info relating to how far the results for the ODATA filters have been implemented?

 

  • I've successfully used a filter condition but interested to know if I can use the $expand property to return related entities.
    e.g. Query 'Accounts' and use
    $expand to retrieve the related 'Address' records? (1:N Relationship) - Will Flow be able to handle these results?

(e.g. Will it recognise this as a collection?

 

Cheers!

Categories:
I have the same question (0)
  • Verified answer
    v-yamao-msft Profile Picture
    on at

    Hi Ojward,

     

    It seems that ODATA filter query function has not been implemented yet, as flow is being improved and developed, you could submit a flow idea at “Flow Ideas”.

     

    The link of "Flow Ideas" is:
    https://powerusers.microsoft.com/t5/Flow-Ideas/Add-Branching-Logic-to-Flow/idi-p/1600

     

    Best regards,
    Mabel Mao

  • Community Power Platform Member Profile Picture
    on at

    Hi, could you provide an example of a filter? I'm having some real issues and there is nothing online.

  • Community Power Platform Member Profile Picture
    on at

    Same issue for me here. It is really frustrating having no samples about the odata filtering. 

    I tried to get a filter running for a small xrm sample with a new entity registrations.

    Nevertheless I get this error:

     

    A binary operator with incompatible types was detected. Found operand types 'Microsoft.Dynamics.CRM.new_event' and 'Edm.Guid' for operator kind 'Equal'.\",\r\n \"innererror\": {\r\n \"message\": \"A binary operator with incompatible types was detected.

     

    This leads me to the question, how can I filter with guids? Is there an option for casting?

    2016-11-26 18_42_09-Eigene Flows verwalten _ Microsoft Flow.png

  • Community Power Platform Member Profile Picture
    on at

    Hi Tofi,

     

    I actually figured it out in my case. I had to use single quotes i.e. 

     

    Address1_City eq 'Redmond'

     

    I don't know if this will help you in your case.

  • Community Power Platform Member Profile Picture
    on at

    Hi trevor,

     

    Thanks for your response :).

    In case of filtering for a guid it does not help :(. Nevertheless you are right by filtering for string values it is correct to use single quotes.

  • DennisStahl Profile Picture
    2 on at

      var query = "/api/data/v8.2/customeraddresses?$select=line1,line2,line3,stateorprovince,postalcode,city,country,county&$filter=parentid_account/accountid eq " + AccountId + " and addressnumber eq 1";

     

    worked for me

  • ojward Profile Picture
    Microsoft Employee on at

    _new_fieldnameid_value eq cc0f7474-cac6-e611-80ee-5065f38b03d1

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