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 / Send Email (V2) action...
Power Automate
Suggested Answer

Send Email (V2) action fails with error "You are not authorized to send mail on behalf..." however flow works fine in a different environment with the same connections

(0) ShareShare
ReportReport
Posted on by 49

Hi everyone,

 

I exported a PowerApps solution that includes this Flow.  The Flow works as expected when I run it in the source environment (unmanaged solution), but on the test environment (managed solution) I get the error.

The Flow has a PowerApps V2 trigger however the Send Email (V2) action is configured to run with a service account which has access to email on behalf of the DO NOT reply email I need for my case.

 

 

Here's a screenshot of a successful run on the source environment

_sigmaNot__1-1681273485159.png

 

And failed run on the test environment...

_sigmaNot__2-1681273507383.png

 

As far as I understand, there should be no issues here since the actions are running with the correct account with access to send email on behalf of the account I'm trying to use.

 

 

Has anyone ran into this before?

I'm at a loss and not sure what I can try to troubleshoot this...

 

Any help is appreciated

 

 

 

 

 

 

 

 

Categories:
  • Thanura09 Profile Picture
    192 on at

    The error code says send as denied, the message says send on behalf. I'm not experienced enough, but maybe there's something wrong with the exchange setup for the shared mailbox ? because we have two options there, 'send as' and 'send on behalf'. also worth trying after setting to 'full access'

  • annetoal Profile Picture
    1,934 Moderator on at

    You need to talk to the person running your email service to find out whether you have "send on behalf of" privileges on the account you're configuring in the connector. Chances are you're either not using the right account, or you haven't been given privileges.

     

    Anne

  • Suggested answer
    _sigmaNot_ Profile Picture
    49 on at
    Update on this post.
     
    It was a matter of defining the users who can run the Flow.  Setting up the connection reference is not enough, the end users who will be running the flow need to have access to the connections and they must be updated in the "Run only users" as suggested on this post.
     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 245 Super User 2026 Season 2

#2
11manish Profile Picture

11manish 233 Super User 2026 Season 2

#3
Valantis Profile Picture

Valantis 136 Super User 2026 Season 2

Last 30 days Overall leaderboard