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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Creating new record an...
Power Automate
Unanswered

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

(0) ShareShare
ReportReport
Posted on by 2

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

Categories:
I have the same question (0)
  • rishiverma12 Profile Picture
    on at

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

    rishiverma12_0-1613326796916.png

     

    details of User entity :

     

    Display Name: User

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

    Entity Name: systemuser

     

     

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!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 608

#2
Valantis Profile Picture

Valantis 416

#3
11manish Profile Picture

11manish 348

Last 30 days Overall leaderboard