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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Dynamics 365 List Reco...
Power Automate
Unanswered

Dynamics 365 List Records - support custom navigation properties

(0) ShareShare
ReportReport
Posted on by 2

My Dynamics 365 implementation has a number of custom solutions which act to link up the data various entities. When I query D365 using an HTTP request, I can use $expand to reference custom navigation properties associated with an Entity to retrieve all the data I need in one query string.

 

However the 'Expand Query' input field in the 'List Records' action doesn't seem to work with these custom navigation properties (in fact, it seems to fail silently, with the Flow running successfully but no data returned from the expand query). This is a problem for me as sometimes these are the only way to connect the data in two different records, which means I can't use Flow in these cases. Please could you roll out support for this?

 

Thanks!

Categories:
I have the same question (0)
  • v-alzhan-msft Profile Picture
    Microsoft Employee on at

    Hi @ozer85 ï¼Œ

     

    Could you please share a screenshot of the configuration of your flow?

    I have made a test on my side , hope the link below could be your reference:

    https://community.dynamics.com/365/b/cosmansdynamcis365/posts/understanding-the-expand-query-in-the-dynamics-365-list-records-connector-part-2

     

    Best regards,

    Alice       

     

    Community Support Team _ Alice Zhang
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

     

  • ozer85 Profile Picture
    2 on at

    Hi Alice/@v-alzhan-msft,

     

    Thanks very much for your response. As requested, here is a screenshot of the relevant bit of my Flow (everything works to this point and I get the expected response, but without the expand query data):

    Flow request

    For context, below is the relevant bit of the dynamics metadata showing the navigation property.

     

    Metadata

     

    I know that it works correctly because the following HTTP request works fine (taken from a Python script I wrote with URI encoding, but should work in any language):

    https://[MyDynamicsBaseURL]/api/data/v9.1/svrsys_insights?$filter=svrsys_name%20eq%20%27' + title_variable +'%27%20and%20_svrsys_publishingstate_value%20eq%20%2789bfc7ac-8937-4c77-a83d-455082770200%27&$select=svrsys_publisheddate&$expand=svrsys_svrsys_insight_tcrmb_programme($select=tcrmb_programmeid)

    However while the Flow executes succesfully and returns data from the 'List Records' request (see below), it doesn't include the expand query data in the returned JSON object. Perhaps there is an issue with using a filter query and an expand query in the same request?

     

    Flow response

     

  • FU Microsoft Profile Picture
    112 on at

    Same issue here. Trying to include related records from an N:N relationship but related records are not included in response. Any ideas?

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 592

#2
Valantis Profile Picture

Valantis 340

#3
11manish Profile Picture

11manish 284

Last 30 days Overall leaderboard