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 / Sending email as From ...
Power Automate
Answered

Sending email as From (Send as) issue

(1) ShareShare
ReportReport
Posted on by 52

Hi,

 

I have created an MS Flow that is fired through PowerApps, the flow sends email to a recepient (this is a field in the form). Here's the email in the flow. The connection and email action is using the connection run by service account that is in the From (Send As). The service account is licensed and configured with Mailbox and enabled Send As. However flow is having this error when sending email. Any idea?

 

Here's the error:

You don’t have permissions to send emails on behalf of the specified sending account. Contact the account owner to check shared mailbox permissions and gain access.

 

EmailError.PNG

Categories:
I have the same question (0)
  • Verified answer
    Pstork1 Profile Picture
    69,226 Most Valuable Professional on at

    When you initiate a Flow from inside PowerApps the Flow runs in the context of the user running PowerApps.  To use the From field in the email the person running the Flow must have SendAs authority for the mailbox listed in the From field.  That means anyone who runs the PowerApp has to have SendAs permission to the Service Account's mailbox.  I assume they don't and that is why you are getting the error.

  • JohnWeb Profile Picture
    52 on at

    @Pstork1  thanks for the insight. As work around I created a new flow that sends email and have it called by the original flow.

  • Pstork1 Profile Picture
    69,226 Most Valuable Professional on at

    Since that second Flow runs in the context of the Maker (hopfully the service account) you will be able to send with minimal permissions.  The only issue tends to be that calling a second Flow via HTTP is a premium function so licensing could get expensive unless you are on Dynamics licensing already.

  • JohnWeb Profile Picture
    52 on at
    I thought about that premium license (the powerapps is company wide use by all users) does that mean every user would require premium license? Or is just service account?
  • Pstork1 Profile Picture
    69,226 Most Valuable Professional on at

    Since its the first Flow, being run in the context of the user who pushed the button, that is making the HTTP call to invoke the second Flow each user would be required to have a Premium license.

  • Verified answer
    JohnWeb Profile Picture
    52 on at
    As another work around I created a list that stores the item that was added/updated from PowerApps list then created a Flow to send the email and that seems to been working fine.
  • faymos Profile Picture
    4 on at

    @Pstork1 I'm having the same issue, the send as and send on behalf permission had been assigned to the email account used for the flow, but am still getting forbidden

  • Pstork1 Profile Picture
    69,226 Most Valuable Professional on at

    1) What Trigger is the flow using?  If its a manual trigger or a selected item trigger, then the flow is running under the account of the person who starts it, not the maker.  In that case everyone who runs the flow would need that permission.

    2) Is the mailbox being used as the From account a regular mailbox?  It won't work with a shared mailbox.

  • VictorIvanidze Profile Picture
    13,081 on at

    Hi @Pstork1,

    you said:

    >2) Is the mailbox being used as the From account a regular mailbox?  It won't work with a shared mailbox.

    In fact it works when I populate the "From (Send as)" field with a shared mailbox.

     

  • ikarthik Profile Picture
    Microsoft Employee on at

    Hi JohnWeb, Im also facing a similar issue, I need an automate flow to trigger an email from a common email box to a larger group of audience, since the email address "From (Send as)" in power automate requires "Send As" or "Send on behalf of" permission for that mailbox and I'm not sure whether its is possible to share permission to all audience at one go.. 

    Could you please help me to understand how did you resolved it?

    ikarthik_0-1643006594112.png

     

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!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 550

#2
Valantis Profile Picture

Valantis 390

#3
11manish Profile Picture

11manish 348

Last 30 days Overall leaderboard