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 : s4V4ROBwn/dpEDAlW9MOdh
Power Automate - Using Flows
Unanswered

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

Like (0) ShareShare
ReportReport
Posted on 4 Nov 2022 15:09:42 by 54

Afternoon

I've inherited some Flows and swapped out a user's connecters with a service account, which is fine. I've got that to work. 

 

However I'm having issues when it comes to sending emails in the Flow. So it either skips the action as it does with the action below:

 

FlowEmailError.PNG

Or I get an error saying 'You are not authorized to send mail on behalf of the specified sending account.' and falls over with the action below:

FlowEmailError2.PNG

I've checked the service user outlook connector and in Data> Connectors and it says it's connected. Any ideas? Thanks in advance. 

  • lewvine Profile Picture
    14 on 03 Mar 2023 at 18:30:23
    Re: You are not authorized to send mail on behalf of the specified sending account.

    The issue is likely you are sending from a group / team inbox.  And to send via a group / team inbox, you need to have "send as" or "Send on behalf of" permissions for that group / team inbox.

     

    The Exchange Admin center is one such location these permissions can be given.

     

  • VictorIvanidze Profile Picture
    12,558 on 25 Nov 2022 at 14:17:05
    Re: You are not authorized to send mail on behalf of the specified sending account.

    Hi @AndrLins,

    or "Send as" or "Send on behalf of". 

  • AndrLins Profile Picture
    2 on 24 Nov 2022 at 17:07:32
    Re: You are not authorized to send mail on behalf of the specified sending account.

    Which permission is that exactly?

  • Lightman Profile Picture
    2 on 18 Nov 2022 at 21:02:16
    Re: You are not authorized to send mail on behalf of the specified sending account.

    I'm getting the same error.

    The executions of my flow are irregular, sometimes it sends the mail and other times the error occurs.

    Other flows don't have this irregularity, so thinking of change the trigger event, now powerapps in the irregular case.

     

  • sutekhtheflow Profile Picture
    54 on 06 Nov 2022 at 09:26:50
    Re: You are not authorized to send mail on behalf of the specified sending account.

    Thanks @ScottShearer 

    Here's the Flow and the error. It's failing on the Email to Confirm Form Submission email action. 

    ErrorEmailtoConfirmFormSubmission.PNG

  • ScottShearer Profile Picture
    25,236 Most Valuable Professional on 04 Nov 2022 at 15:26:37
    Re: You are not authorized to send mail on behalf of the specified sending account.

    @sutekhtheflow 

    The error that says that says "You are not authorized" indicates that the service account has not been granted permissions to send emails from the shared mailbox.  You'll need to have that permission granted.

    You'll need to provide more info on the email action that was skipped - a screen shot of the Flow would be helpful.  Is the action inside of a condition?  No error generated?

     

     

     

     

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

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Featured topics

Restore a deleted flow