web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / How to dynamically set...
Power Automate
Answered

How to dynamically set the sender of an email within a flow

(0) ShareShare
ReportReport
Posted on by 91


Hey Guys, I have a flow which is using the dataverse table called NPS which when an item is created and a condition is met, it needs to email the client the details and a link to the app and update that item as Email Sent Status and then also it sends an adaptive card to the client also. The NPS table records are created in another app within another team by 8 different users within that team. The issue that I have is since I have created the flow and I am using my connection (my email address), the from sender is always me, both in the email and the adaptive card, but I want to have the from sender become dynamic (as I have the email address of the users who submitted it to the NPS table). I have tried to change the from Sender with mail V2 but I get the Error that I'm unauthorised to send email from someone else email. How can I over come this issue so that when the email and the adaptive card is send its sent from the user email who sent the record to the NPS table?

Categories:
I have the same question (0)
  • grantjenkins Profile Picture
    11,063 Moderator on at

    I don't think this is possible unless you have Send as permissions on each of the user's mailboxes which you likely won't have (shouldn't have).

     

    For the email you're sending out you could send from a shared mailbox and have replies go back into there - so at least it's not being sent from yourself. You'll still need Send as permissions on the shared mailbox.

     

    I'm not sure about the Adaptive cards though. I think this will always send as yourself. What action are you using to send out the Adaptive cards?

  • iKettle Profile Picture
    91 on at

    The action is post an adaptive card and waiting for a response.  I'm gonna try maybe setting up shared mailbox. But I'm not to sure if I could use the group teams mailbox? Because if I try and add a connection using that email address it does not recognise it. Also how would I setup this in the flow to send the emails with? Would I still use mail v2 or is there another option?

  • grantjenkins Profile Picture
    11,063 Moderator on at

    There is an action called Send an email from a shared mailbox (V2) which you would use to send from a mailbox.

  • Verified answer
    iKettle Profile Picture
    91 on at

    Thanks @grantjenkins , what I figured out is that I dont have admin right, so I have to request that the Sent From is updated to the users emails in the app sending the data to the NPS table. Else as you rightly said, this will not work. 

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 398 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 323 Super User 2025 Season 2

#3
Expiscornovus Profile Picture

Expiscornovus 183 Most Valuable Professional

Last 30 days Overall leaderboard