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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Error using send-as to...
Power Automate
Unanswered

Error using send-as to send a mail as an on-prem mailbox

(0) ShareShare
ReportReport
Posted on by 6

Hi,

 

currently I'm experiencing a kind of weird problem where I'm out of answers and would be very happy if some of you experts could help me solve the problem.

 

Im trying to send a mail using a Flow. Sending the mail as the user which is defined in the connector to our on-prem exchange server

works flawlessly. The problem is that we need the address from which the mail will be sent to be another (explicitly a shared mailbox).

 

The user defined in the connector already has full access and send-as permissions set on the shared mailbox but as soon as I try to run the flow it stops with the following error message:

 

{
  "status"403,
  "message""You are not authorized to send mail on behalf of the specified sending account.\r\nclientRequestId: a62557fa-074b-4d2a-8e30-60d0b0982458\r\nserviceRequestId: d3a0ad64-ee39-228f-3dba-07a5c5abd875",
  "error": {

    "message""You are not authorized to send mail on behalf of the specified sending account.",
    "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."
  },
  "source""office365-we.azconn-we-003.p.azurewebsites.net"
}

 The question that comes to my mind is: Is it even possible to send in behalf of an shared mailbox? And if so, how do I do it?

The shared mailbox has no user in our active directory whilest the user defined in the connector has an active user which is also synced to the azure active directory.

 

 

Categories:
I have the same question (0)
  • VictorIvanidze Profile Picture
    13,073 on at

    Just login to user's Outlook and check if you can send as a shared mailbox.

  • FinnHandrick Profile Picture
    6 on at

    Thank you for your reply Victorlvanidze!

     

    I already added the shared mailbox to the users Outlook. If I try to send a mail via the alias manually it works. The problem is that as soon as i run the flow it stops working.

     

    Any other ideas?

  • VictorIvanidze Profile Picture
    13,073 on at

    Could you show the flow action that generates the error, in edit mode?

  • FinnHandrick Profile Picture
    6 on at

    Sure. I just have to black out the mail and the adresses.

     

    Here are two screenshots out of the editor.

    FinnHandrick_0-1711030755095.pngFinnHandrick_1-1711031019640.png

     

    And here is one of the error after running the flow:

     

    FinnHandrick_2-1711031185658.png

     

    I don't know if it is from any importance but: The user which is defined in the connector is being replicated to our azure ad (But! the mailbox which I'm connecting to is on-prem).

    The shared mailbox itself is hosted on-prem only.

     

  • VictorIvanidze Profile Picture
    13,073 on at

    And you are using in Office 365 connection the same account that you have used in Outlook test?

  • FinnHandrick Profile Picture
    6 on at

    Yes the account used in manual testing is the same that is referenced in the connector. I am just opening the OWA and when I'm writing the mail I can select the shared mailbox in the "From" Field.

  • VictorIvanidze Profile Picture
    13,073 on at

    Really strange. No idea, sorry.

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 503 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 321 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard