You are likely encountering this error because you are trying to directly use a lookup field (like the Account Manager lookup on the Quote) in the "Owner (Value)" and "Regarding (Value)" fields of the "Create a new row" action for the Task without properly referencing the target entity and its ID.
Here's a breakdown of why this is happening and how to fix it:
Understanding Lookup Fields in Dataverse and Power Automate:
systemusers
quote
How to Fix the "Owner (Value)" Field (Account Manager):
new_accountmanagerid
ownerid
@{outputs('Get_a_row_by_ID')?['body/new_accountmanagerid']}
Important: This will give you the entire lookup object, which contains the ID, logical name, and potentially the name. You need to extract the ID. The correct format for the "Owner (Value)" field requires an array with the target entity logical name and the ID. Assuming the Account Manager is a system user, the correct expression would be:
Explanation:
outputs('Get_a_row_by_ID')?['body/new_accountmanagerid']
?['systemuserid']
systemuserid
teams
"@odata.id=_x002f_systemusers(@{...})"
How to Fix the "Regarding (Value)" Field (Linking to the Quote):
You are trying to link the Task back to the Quote that triggered the flow. You need to provide the Quote's ID and the logical name of the Quote entity (quote).
@{triggerOutputs()?['body/quoteid']}
@{outputs('Get_a_row_by_ID')?['body/quoteid']}
[ "@odata.id=_x002f_quotes(@{triggerOutputs()?['body/quoteid']})" ]
"@odata.id=_x002f_quotes(@{...})"
quotes
Updated "Create a new row" Action for Task:
Your "Create a new row" action for the Task should look something like this (adjusting the schema name for the Account Manager lookup if needed):
@{utcNow()}
Important Considerations:
By correctly formatting the "Owner (Value)" and "Regarding (Value)" fields using the @odata.id syntax with the target entity's logical name and ID, you should be able to resolve the "ODataUnrecognizedPathException" and successfully link the Task to the Account Manager and the originating Quote. Remember to save and test your updated flow.
@odata.id
@{outputs('Get_a_row_by_ID')?['body/AccountManager/Value']}
Added the following expression for the Account Manager which is now working as intended. I'm still looking for solution to get the "Regarding (Quotes)" field linked to the Quote the flow was triggered from. I have tried the following expression but it didn't work. (but did not receive an error anymore) @{triggerOutputs()?['body/quoteid']}
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Rishabh Kanaskar 258
Daniyal Khaleel 178
Tom_Gioielli 104 Super User 2025 Season 2