Showing results for 
Search instead for 
Did you mean: 
Regular Visitor

"code": "ErrorSendAsDenied"


I made a flow (shared a flow with another user) in which it is sent an email using: 

  • From (send by): User email

However, when that person runs the flow, we get the following error: 

  • "code": "ErrorSendAsDenied"
  •   "originalMessage": "The user account which was used to submit this request does not have the right to send mail on behalf of the specified sending account., Cannot submit message."


Getting User MailGetting User MailSetting the Email ("From...")Setting the Email ("From...")

How could I solve it?


Thanks for the support

Super User
Super User

@AnaLo you need to delegate permissions 


Check this out :


Check steps in Assigning Permissions to User Mailboxes through Exchange Admin Center  


The flow owner email ID should have permissions to send emails on behalf of shared mailbox.


Hope this helps.


Please like and accept solution.

Hi, I'm having a similar issue.


I've assigned myself as a delegate of the shared mailbox (I'm the office 365 global admin), however, I'm still seeing the same error when I run my (very simple) power apps flow.


You are not authorized to send mail on behalf of the specified sending account.
clientRequestId: 24c926c4-6fe2-4b4c-94f5-b9f66ce3a02a
serviceRequestId: fd562202-c87e-15e3-d4f2-4cfb5ece4428


Above is the error I see




Above is the delegates section of the shared mailbox, as you can see, I am a delegate. 


Anyone got any ideas?

New Member

Did you find a solution to this? I'm seeing the same issue. I have delegated permissions to send as a shared mailbox, but still, I get the same error:


"You are not authorized to send mail on behalf of the specified sending account.
clientRequestId: ef205690-579a-495c-aa77-e5bce9e2d6f4
serviceRequestId: 69a98d97-c82d-6fc2-5e73-3e31f4d4508c"

Just to clarify, i was using the wrong Action. I needed to use the Send an email from a shared mailbox 

Regular Visitor

 Hey @VikG It's still not working for me 

Anyway you can post your working flow so I can recheck with mine ? Thanks 

Helpful resources

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

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.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Users online (2,530)