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 / Retrieve displayName f...
Power Automate
Suggested Answer

Retrieve displayName from external mail sender

(0) ShareShare
ReportReport
Posted on by 3
Hello i have a flow that triggers when an e-mail is sent to a shared mailbox. Operation ID: SharedMailboxOnNewEmailV2
 
Then i want to reply to the sender with his name at the start of the e-mail, like: "Dear Mr/Mrs Full Name".

The Problem is that i can't get the displayName from the sender even though the sender has one.

When i use the dynamic content displayName or  item()?['displayName'] i don't get anything.

How can i retrieve the displayname from the sender?
Categories:
I have the same question (0)
  • Suggested answer
    Ellis Karim Profile Picture
    12,163 Super User 2026 Season 1 on at
     
    I think you need to use an additional action to get the Sender's name, as I didn't find the Sender's name exposed by the "When a new email arrives in a shared mailabox (V2)" action.
     
    I used the Outlook Send an HTTP Request to get the Senders name, as shown below:
     
     
     
     
    https://graph.microsoft.com/v1.0/users/<shared-mailbox-email-address>/messages/<message-Id>?$select=from
     
    body('Send_an_HTTP_request')?['From']?['emailAddress']?['name']
     
     
    Here is my runtime output:
     
     
     
     
    Ellis Karim
    Ellis Karim
    elliskarim.com  |  LinkedIn  |  Bluesky
    If this solved your issue, please mark it as ✅ Accepted Answer. If it helped, feel free to give it a 🩷 Like!
     

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 377

#2
11manish Profile Picture

11manish 279

#3
David_MA Profile Picture

David_MA 234 Super User 2026 Season 1

Last 30 days Overall leaderboard