cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
kcgov
Frequent Visitor

Sending email with Flow displays ID instead of Display Names from Entity fields

Hi, 

 

I'm creating a Flow that sends an email when a record is created in an Canvas App. It works fine but the fields included in the email from the records submitted via the app displays the ID value instead of the Display Name. For example, Created By displays 3e55088a-7b38-3a11-b714-000e3b338747 instead of Mugen Jin. Any suggestions on how to fix this?

 

Thanks!

4 REPLIES 4
Rahber
Solution Sage
Solution Sage

You can use Office365 connector to get the name of the user by using get user profile action

 

Please click Accept as Solution if it resolved your problem or give it a Thumbs Up if it helped you in anyway this will allow other people to search correct solutions effectively.

Thanks,
Rahber

chsanche
Community Support
Community Support

Hi @kcgov 

 

This is a by design behavior, you can use the Office 365 Users actions to get the information from the users: https://docs.microsoft.com/en-us/connectors/office365users/#get-user-profile-(v2)

 

Best Regards,

 

If this post helps you give a :thumbs_up: and if it solved your issue consider Accept it as the solution
kcgov
Frequent Visitor

@Rahber

 

Thank you that worked. I was trying to use the same method to display the names of the value for what I have in the body of the email but no luck. It still shows the number. I'm trying to display data from a CDS entity. I tried to get/list a CDS record thinking it may display the text value but it does not, it still display number values. Any ideas?

kcgov
Frequent Visitor

@chsanche, Thank you for the link. From what I understand I have to specify per user? What if I have multiple users? I have a form that I would like to use with an entire organization of 100+ people. When a CDS record is created based on the submission of that form, could I somehow get the user profile info based on the Created By value of the record so it displays the appropriate name of the user?

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power Automate Designer Feedback_carousel.jpg

Help make Flow Design easier

Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!

Top Solution Authors
Users online (1,687)