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 / "code": "ErrorSendAsDe...
Power Automate
Unanswered

"code": "ErrorSendAsDenied"

(0) ShareShare
ReportReport
Posted on by

Hi, 

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

Categories:
I have the same question (0)
  • jinivthakkar Profile Picture
    4,187 on at

    @AnaLo you need to delegate permissions 

     

    Check this out : 

    https://www.nucleustechnologies.com/blog/how-to-grant-permissions-to-other-office-365-mailboxes/

     

    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.

  • paulnewsom Profile Picture
    2 on at

    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

     

    paulnewsom_0-1634115843455.png

     

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

     

    Anyone got any ideas?

  • VikG Profile Picture
    6 on at

    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"

  • VikG Profile Picture
    6 on at

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

  • SPBoston Profile Picture
    12 on at

     Hey @VikG It's still not working for me 

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

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi @VikG 

     

    Here I have a problem that is presented in your solution.
    Why would it have to be enabled for each mailbox and if the organization has many users?.

     

    https://powerusers.microsoft.com/t5/General-Power-Automate/The-specified-object-was-not-found-in-the-store-when-trying-to/m-p/1756913

     

    I waiting for your comments

     

    Thanks

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    hi @paulnewsom 

     

    look this:

    https://www.youtube.com/watch?v=Mhr1iqSXf0s

     

  • Mendoza Profile Picture
    2 on at

    I had a similar error when running an approval flow. The solution was to change in "Manage execution-only permissions" in the connections used to change it in the mail area, to use the user connection of "only execution" because if the connection of the owner of the flow is taken care of, the error presents me again.

     

    Trate de explicarlo lo mejor posible en ingles ya que no es mi idioma natal pero, espero que les funcione.

     

    request.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 April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 840

#2
Valantis Profile Picture

Valantis 661

#3
Haque Profile Picture

Haque 589

Last 30 days Overall leaderboard