Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Answered

Having and issue with the error "You are not authorized to send mail"

(1) ShareShare
ReportReport
Posted on by

 

So, I am testing a flow I created for notifications and to send an email, but it keeps failing.

Here is the error message I receive.

 

  "status": 403,
  "message": "You are not authorized to send mail on behalf of the specified sending account.\r\nclientRequestId: 4777cda9-4ae3-4878-a301-33186fd933e3\r\nserviceRequestId: 5b1b32e8-fe04-4dbc-b3e0-5a9bde039fca",
  "source": "office365-scus.azconn-scus.p.azurewebsites.net"

 

However, I created the flow and am testing it with my own credentials. Any suggestions as to why it may not be working?

  • DeinemNachbarn Profile Picture
    25 on at
    Re: Having and issue with the error "You are not authorized to send mail"

    I also want to know... The E-Mail needs to be send by the one who solved a form (on my end).

  • jessi82315 Profile Picture
    33 on at
    Re: Having and issue with the error "You are not authorized to send mail"

    I'm interested in the answer to your question too...!

  • KhaledEid Profile Picture
    12 on at
    Re: Having and issue with the error "You are not authorized to send mail"

    Might this is an old topic, but I have the same issue and when I fill in from(send as) by modified by email from the dynamic content, it gave me the same error,
    "You are not authorized to send mail on behalf of the specified sending account.
    clientRequestId: c68554b7-d83b-49e8-8b3e-e554dae8dc33
    serviceRequestId: a9d5b879-65f0-a1cd-4491-21aa6bbc894f"


    when I left the From(send as) empty, the email was sent by the flow creator!!

     

    that means the flow creator have to have permission on all users to be able to send on their behalf, is that logic?

     

    KhaledEid_1-1642248173802.png

     

     

  • Verified answer
    Community Power Platform Member Profile Picture
    on at
    Re: Having and issue with the error "You are not authorized to send mail"

    Thanks for following up. I was able to resolve it. I changed the From(Send as)  it was set as a specific sender that I was not authorized to send email as. I changed it to Created By Email  form dynamic content. This fixed it. It was trying to send as the maker of the workflow instead of the created of the instance that trigged the workflow. 

  • v-xida-msft Profile Picture
    on at
    Re: Having and issue with the error "You are not authorized to send mail"

    Hi @Anonymous,

     

    Could you please share a screenshot of your flow's configuration?

     

    The error message told that your account is not authorized to send mail on behalf of the specified sending account within "Send an email" action.

     

    I have made a test on my side and don't have the issue that you mentioned. My flow's configuration as below:8.JPG

    The flow works successfully as below:9.JPG

     

    Please check if you have typed email address within From (Send as) field of "Send an email" action, if you only want to send an email from your own mailbox, please make sure that the From (Send as) field is empty (as above flow's screenshot).

     

    If you want to send an email on behalf of other mailbox via typing email address within From (Send as) field of "Send an email" action, please make sure that you email address account has been assigned "Send as" or "Send on behalf of" permission to the specific email address. More details about sending an email on behalf of another user, please check the following article:

    https://support.office.com/en-us/article/give-mailbox-permissions-to-another-user-in-office-365-admin-help-1dbcf12f-a9de-4d1d-b0b3-a227f8a736d8#bkmk_sendbehalflanotheruser

     

    I have made a test on my side to send an email on behalf of another user and my flow's configuration as below:10.JPG

    Note: Within "From (Send as)" field, type the email address that you want to send on behalf of and ends with a semicolon (;). 

     

    The flow works successfully as below:11.JPG

     

     

    Best regards,

    Kris

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,524 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,906 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow