How to Patch Dataverse Lookup Fields in Power Automate (Step-by-Step Guide)
- Jeff Taylor
- Sep 11
- 2 min read

Why Lookups Matter
This one’s for the Dataverse people. 👋 When you’re setting up your data model, Lookup fields can play a big role for several reasons. These columns make it much easier to connect your data, keep things consistent, and make your apps feel smarter and more reliable.
Good database design is really the foundation of any successful Power Platform project. But here’s the catch: it’s not just about building the right tables and relationships. It’s also about knowing how the rest of the platform will interact with those choices. And every once in a while, you’ll stumble across something that isn’t as obvious as you’d expect. Patching Lookup fields in Power Automate is a perfect example of that.
The Challenge with Patching Lookup Fields in Power Automate
At first glance, it feels like it should be easy. Getting a record from Dataverse is pretty straightforward: use the Get Row action, drop in the GUID, and you’re good to go.
So naturally, you’d expect updating (patching) a Lookup field to work the same way. But that’s where things get tricky. It turns out that patching a Dataverse Lookup field in Power Automate requires very specific formatting. The good news? Once you know the secret, it’s smooth sailing.
The Solution
While the GUID is important, you also need the Entity Set Name (which is just the Dataverse term for a table name). Luckily, it’s easy to find:
Go to your Dataverse tables overview.
Open the table you want.
In the left panel under Table Properties, click Tools.

Select Copy Set Name (for example, pa911_testdata).

Now, head back to your Power Automate flow:
In your Create Item or Update Item action, find the Lookup field.
Paste your Set Name, followed by parentheses ()Â (example: pa911_testdata()).
Add the GUID inside the parentheses.
Code: pa911_testdata(GUID)
It should look like this:

Â
Your final result should look like this (an actual table is being used for this example)

And that’s all there is to it!
You can even pass the GUID through a variable, dynamic content, or inside an Apply to each. As long as the string is formatted properly, it’ll work every time.
Recap
Dataverse Lookup fields are powerful for connecting your data and building a strong data model. But when it comes to patching them in Power Automate, the formatting can trip you up if you don’t know the trick.
Here’s the quick takeaway:
You need both the GUID and the Entity Set Name.
Format it like: EntitySetName(GUID)
Use it directly in your Power Automate flow (variables and dynamic content work too).
With this approach, updating Dataverse Lookup fields in Power Automate becomes simple and predictable. No more guesswork, just smooth automation.
If you're looking for some quick help with Dataverse, Lookups, Power Automate or maybe something else, we are just a click away. Reach out, and let us know how we can help!