Use Expand Query to retrieve related Dataverse data in Power Automate
Diesen Beitrag auf Deutsch lesen
Configure Dataverse Get a Row by ID with Expand Query, then access related fields through a custom expression in later flow actions.
Original article from February 4, 2026: Updated: How to Use Expand Query in Power Automate, by Griffin Lickfeldt, on Citizen Developer. Read the original
Source may be outdated. The original article is more than 60 days old. Dates and availability refer to the state of the source.
This is our own summary, not a republication or full translation.
TL;DR
Power Automate's Dataverse Get a Row by ID action uses an OData-style Expand Query to return related table data. The guide shows primarycontactid($select=contactid,fullname), then accesses the expanded values with Body('Get_a_row_by_ID')?['primarycontactid']['FullName'] in subsequent actions.
Why it matters
- Makers: Add the related table navigation property to Expand Query and use $select when you need specific columns, such as contactid and fullname.
- Makers: Retrieve expanded values with a custom Body expression when they do not appear in the Dynamic Content panel, so later actions can use the related record data.
Frequently asked questions
How do I return related Dataverse columns with Power Automate Expand Query?
Use the Expand Query field in Dataverse Get a Row by ID to request related table data with an OData-style expression.
How can I limit fields returned by a Power Automate Dataverse lookup?
Add $select after the navigation property and list the required columns, such as contactid and fullname, for the related record.
How do I reference expanded Dataverse data in a later flow action?
Use a Body expression containing the action name, lookup schema name, and related column logical name to retrieve the expanded value.
