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

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Update a row dataverse...
Power Automate
Answered

Update a row dataverse lookup column error when entering null value with expression

(0) ShareShare
ReportReport
Posted on by 56

Hello,

 

I have been working on a flow to update a record in dataverse from finance and operations. Whenever there is a null or '' value that is the result of an expression inside of a lookup column, I get the following error.

 

{ "error": { "code": "0x80060888", "message": "The supplied reference link -- -- is invalid. Expecting a reference link of the form /entityset(key)." } }

 

I am using the format found in this post, but I am still receiving the same error.

https://powerusers.microsoft.com/t5/Power-Automate-Community-Blog/Update-Lookup-Column-with-NULL/ba-p/2161998

 

I have manually tried entering an expression for null, and still get the error. The only way that I've been able to successfully run the flow is to leave the box completely empty (no expressions). I could use a condition to test if it's empty and make multiple "update a row actions", but the more lookup columns I have, the more conditions and update actions I would need.

 

Here is the expression I'm using inside my lookup field:

(Note: I've tried '' and null and both fail)

 
if(empty(outputs('List_rows_from_selected_environment_(preview)_-_Customer_Group_GUID')?['body/value']),
'',
concat('/itemcustomergroups(', body('List_rows_from_selected_environment_(preview)_-_Customer_Group_GUID')?['value'][0]?['itemcustomergroupid'], ')')
)

 

I appreciate any help with this issue. If more information is needed from me, please let me know.

Categories:
I have the same question (0)
  • Verified answer
    JChouinard2016 Profile Picture
    56 on at

    I figured out the issue. I was using the new copilot editor, and for some reason it would fail every time. I switched back to using the classic editor and changed the expression to use null if empty instead of ''. This seemed to fix the issue.

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!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 237 Super User 2026 Season 1

#2
David_MA Profile Picture

David_MA 176 Super User 2026 Season 1

#3
Power Platform 1919 Profile Picture

Power Platform 1919 96 Super User 2026 Season 1

Last 30 days Overall leaderboard