cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
clechner
Advocate I
Advocate I

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

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

 



1 ACCEPTED SOLUTION

Accepted Solutions
Expiscornovus
Dual Super User
Dual Super User

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

View solution in original post

5 REPLIES 5
clechner
Advocate I
Advocate I

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.

Expiscornovus
Dual Super User
Dual Super User

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

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

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

 

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

 

Helpful resources

Announcements
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.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

PA Survey Carousel Image.png

We want to hear from you!

If you are a small business ISV/Reseller, share your thoughts with our research team.

Users online (1,408)