Forum Discussion

imughal's avatar
imughal
Copper Contributor
Jun 02, 2020

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

Hi,

I have sharepoint list when user submit data into sharepoint list email send through MS Flow. 

when i use generic email id in sender option getting following error

 

if i remove that account and allow submit user account than its work fine.

pls guide what is an issue and how to fix it. what permission should i give to email account.

 

  • Vikram_Samal's avatar
    Vikram_Samal
    Steel Contributor

    imughal This is a typical MS Flow behavior. You have the the following options:

     

    1. Configure the flow using the email which will be sending the email - My preferred approach and simple and manageable and finally not dependent on any user in case of user leaves the org. [Complexity : Low to Medium ]

     

    2.You can always use the Office365.SharedMailboxSendEmail method of the Office 365 connector to send from a common shared mailbox. However, the user who is consuming the app need to have "Send-As" permissions to be able to get rid of the "send on behalf" issue. [Complexity : Medium to High ]

     

    3.Use third party service such as SMTP [Complexity : High ] 

     

     

    If I could help to find the solution, please like or mark the answer as solution.

     

    Thanks

    Vik

     

  • Manish_Rajpal's avatar
    Manish_Rajpal
    Copper Contributor

    imughal 

     

    if you are using a generic email id, like a shared email id, make sure that you have access to that shared email id. You can contact the administrator/creator of that generic email id to provide access to you.

     

    Thanks!

    Manish 

Resources