Showing results for 
Search instead for 
Did you mean: 
Regular Visitor

Creating new record and need value for the lookup field in Dynamics

The trigger is on Create of a custom entity Employees.

Display Name: Employee

Plural Name: Employees

Entity Name: xxx_employee

I use List Records to retrieve the data from the record.

I have a condition that checks if there is already a record for related custom entity ‘B’

When I go to create the related record B, this is where my flow is failing on the lookup field specifically.

Have tried using the Display Name, Plural Name, Name and plural Name of the custom entity for the lookup, but this is where the flow fails every time.

It retrieves the ID of the record, but does not create the record and fails at the Employee (Employees) lookup.

I also tried using the Compose output in my Create a record step, but the result was the same errors

Received this error: The supplied reference link -- /xxx_employees/ -- is invalid. Expecting a reference link of the form /entityset(key).

Received this error: Resource not found for the segment '37375968-4d31-e911-a97e-000d3af3eee6'.

User Option Admin Flow 4.png

User Option Admin Flow 3.pngUser Option Admin Flow 2.png


I have a same scenario but i'm setting owner of the record as well , can you try below format 



details of User entity :


Display Name: User

Plural Name: systemusers (i'm using this but with backslash in beginning )

Entity Name: systemuser



Helpful resources

UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Users online (2,644)