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 / Dynamics 365 Getting t...
Power Automate
Answered

Dynamics 365 Getting the look up value instead of the GUID

(0) ShareShare
ReportReport
Posted on by 56

Hello,

 

Trying to perform a simple task of converting a list of records to HTML table and send it to email.

One of the fields is lookup field then from some reason instead of getting the value I'm getting the GUID in this scenario is the owner field:

 

HELP.png

Categories:
I have the same question (0)
  • v-bacao-msft Profile Picture
    Microsoft Employee on at

     

    Hi @alexyoy111 ,

     

    You need to use Get record to get the specified record in the lookup entity.

    Please try to refer to the following configuration to create an HTML table.

    Image reference:

    55.PNG56.PNG

    Hope this helps.

     

    Best Regards,

  • alexyoy111 Profile Picture
    56 on at

    Thank you very much for your reply so I was able to get the lookup value 😀  but in your method I'm unable to add a link to a record since I'm receiving a weird error: Enter a valid json. 😭

     

    json.png

  • v-bacao-msft Profile Picture
    Microsoft Employee on at

     

    Hi @alexyoy111 ,

     

    Please add "" outside <a></a>.

     

    Best Regards,

  • alexyoy111 Profile Picture
    56 on at

    Hi @v-bacao-msft 

    Unfortunately it's make the same error Enter a valid json

    Although i'm not sure I added correctly

     

    ourside.png

  • v-bacao-msft Profile Picture
    Microsoft Employee on at

     

    Hi @alexyoy111 ,

     

    Because href contains "", so it is a valid JSON.

     

    You could add a compose above Append to array variable action and fill hyperlink in it.

    Then fill the output of the Compose in Value.

    69.PNG

     

    Hope this helps.

     

    Best Regards,

  • alexyoy111 Profile Picture
    56 on at

    Hi @v-bacao-msft 

     

    The good news is that i'm not getting any errors but I'm also didn't get a link as you can see the content of the email contains entire URL and the text “LINK TO RECORD” as link

     

    lik.jpg

  • v-bacao-msft Profile Picture
    Microsoft Employee on at

     

    Hi @alexyoy111 ,

     

    You could remove <a></a> and fill link in Compose directly.

     

    Best Regards,

  • alexyoy111 Profile Picture
    56 on at

    The same 

     

    😥

     

    enail2.pngthesame.png

  • v-bacao-msft Profile Picture
    Microsoft Employee on at

     

    Email body???

     

     

  • alexyoy111 Profile Picture
    56 on at

    Hi @v-bacao-msft 

    Email body

     

    emailbody.png

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 552

#2
Valantis Profile Picture

Valantis 388

#3
11manish Profile Picture

11manish 375

Last 30 days Overall leaderboard