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

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / You are not authorized...
Power Automate
Unanswered

You are not authorized to send mail on behalf of the specified sending account.

(0) ShareShare
ReportReport
Posted on by 221

This flow is part of a Time Off Request app.  Originally approval emails were being sent to employees from my email address, instead of the Approver.  I made changes (see attached) to have email sent "From" the Approver and I now receive the "You are not authorized to send mail on behalf of the specified sending account." error message.  Any help would be greatly appreciated!

 

Shaguar357_0-1670418148119.png

Shaguar357_1-1670418550271.png

 

Categories:
I have the same question (0)
  • Verified answer
    Pstork1 Profile Picture
    68,678 Most Valuable Professional on at
    Re: You are not authorized to send mail on behalf of the specified sending account.

    If you are going to fill in the From field then the account that is used as the security context of the flow will need Send on Behalf of permission to that mailbox.  If the flow is automated that means the maker of the flow needs that permission for every approver mailbox.  If the flow is triggered manually then every user will need that permission.  Its not practical.

  • rkirk2k Profile Picture
    282 on at
    Re: You are not authorized to send mail on behalf of the specified sending account.

    I am working as a consultant, and need to set this to run after I leave. We NEED the "From" address to be a service account email address. How do we setup these flows to run after I finish my contract and leave the company (and they disable my account)?

  • Pstork1 Profile Picture
    68,678 Most Valuable Professional on at
    Re: You are not authorized to send mail on behalf of the specified sending account.

    If you want to send the emails as a service account then you should be creating the flow while logged in as that servcie account. That will send the email from that account.  Using the From field will require that the user running the flow has that permission to the account.  If you are a consultant who will be leaving the company then that's another reason to create the flow while logged in as the service account.  Otherwise the flow will stop working when your account is disabled.

  • rkirk2k Profile Picture
    282 on at
    Re: You are not authorized to send mail on behalf of the specified sending account.

    Can I just change the connector on the email action to the service account? Or, are you saying that once my account is disabled (when I leave), the entire flow will not function? Thank you in advance.

  • Pstork1 Profile Picture
    68,678 Most Valuable Professional on at
    Re: You are not authorized to send mail on behalf of the specified sending account.

    If you are the maker (owner) of the flow and your account is disabled the flow will stop functioning until a new valid owner is added.  So yes you should have an owner on the flow that will not be disabled.

  • gillgamm Profile Picture
    63 on at
    Re: You are not authorized to send mail on behalf of the specified sending account.

    I have "Send As" permissions for the "From" email I've selected but am still getting the error. Any suggestions?

  • rkirk2k Profile Picture
    282 on at
    Re: You are not authorized to send mail on behalf of the specified sending account.

    Hi @gillgamm.

    You need to be sure the account you are using for the "From" address is configured to allow you to send as them. Hope that helps.

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…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 462 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 456 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard