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 / When New Email arrives...
Power Automate
Answered

When New Email arrives to a group -- how to get sender email?

(1) ShareShare
ReportReport
Posted on by 32

When someone emails a group, I want to check group membership based on the sender email.  Why does the group connector not surface sender info or any info from the new email???

clechner_0-1629500551106.png

 



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

    So I can't get the sender's email if they send an email to an Office 365 group but I can if they send something to an individual or shared mailbox?  This seems crazy to me.

  • Verified answer
    Expiscornovus Profile Picture
    33,828 Most Valuable Professional on at

    Hi @clechner,

     

    You could workaround this by using a Get a thread post action.

     

    Use the following expressions for the Thread ID & Post ID:

    triggerOutputs()?['body']['threads'][0]['id']
    triggerOutputs()?['body']['threads'][0]['posts'][0]['id']

     

    getthreadpost.png

  • clechner Profile Picture
    32 on at

    Hah!  Brilliant!  I feel silly now not thinking about going that direction.  I appreciate the help and patience.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    I am not sure I did this right, but i followed your steps and added the reply to email (v3) as the next step, but no replies are being sent.  Did this functionality change?

     

    MZimb_0-1648218421291.png

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    I was finally able to get this working.  Instead of trying to reply to the incoming email message, I changed it to simply "Send an Email (V2)".  This works well for what I wanted but i did notice a slight limitation with the "From" address in this connection.  This would only work with me as the From.  If I set it to anybody else in the address book, even people who are team owners (Human Resources) and have the send as right, it would fail with "Not Authorized to send on behalf of" error.  I actually wish that field could just be any typed address like "HR@domain.com".  Anyways here is a screenshot for anyone trying to alert people who send an email to the Team group.

    MZimb_0-1648239561193.png

     

  • BTAPA Profile Picture
    20 on at

    @clechner wrote:

    When someone emails a group, I want to check group membership based on the sender email.  Why does the group connector not surface sender info or any info from the new email???

    clechner_0-1629500551106.png

     




    Unrelated to this specific issue, but has anyone else's "When a new email arrives to a group" trigger stopped working? My inbox is still getting new emails but the flow is not triggering anymore. This only started happening a few days ago and I did not change anything on my end. 

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!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 557

#2
Valantis Profile Picture

Valantis 328

#3
David_MA Profile Picture

David_MA 264 Super User 2026 Season 1

Last 30 days Overall leaderboard