Skip to main content

Notifications

Community site session details

Community site session details

Session Id : a2V0PhdzODN7qy3m0ZBJLI
Power Automate - Using Flows
Unanswered

Sending Mails from Distribution List

Like (0) ShareShare
ReportReport
Posted on 20 Jan 2020 11:42:29 by

Hi ,

 

I am currently working on a requirement where I should be sending outlook mails and have configured it using an account. Is it possible to send mails using Distribution List in flows?

 

it would be of great help if anyone has an answer for the above.

  • Arik Profile Picture
    8 on 05 Aug 2022 at 11:47:46
    Re: Sending Mails from Distribution List

    Hi @VictorIvanidze, we tried changing the assigned value to Send as and Send on behalf one at a time and added a Semicolon at the end of the variable. It is still not working. However, I found an alternative way that we can use to send email using a DL group via API.

     

    I used Send an HTTPS request to SharePoint:

     

    URI: _api/SP.Utilities.Utility.SendEmail

    Body: {
    'properties':
    {
    'From': 'DISTRIBUTIONLISTEMAILADDRESS',
    'To': ['EMAILADDRESS@XYZ.COM'],
    'Subject': 'SUBJECT GOES HERE',
    'Body': 'BODY GOES HERE'
    }
    }

    Arik_0-1659699805433.png

     

    I hope this workaround will help someone who is looking for it. 

     

    Not sure why "Send an email V2" trigger is not working for DL group emails. Might be a bug?? đꤔ

     

  • VictorIvanidze Profile Picture
    12,207 on 04 Aug 2022 at 17:59:06
    Re: Sending Mails from Distribution List

    1) Try to add a semicolon after statement in the From (Send as):  field. 

    2) Make sure you have assigned or "Send as" or "Send on behalf of" but not both at once.

  • Arik Profile Picture
    8 on 04 Aug 2022 at 17:44:48
    Re: Sending Mails from Distribution List

    Hi @VictorIvanidze,

    Here is the flow. I used a variable on Send as on outlook. I am using the same account which is our service account and this account is a member of that DL group. 

    Arik_0-1659634909561.png

     

    Thanks

     

  • VictorIvanidze Profile Picture
    12,207 on 04 Aug 2022 at 15:33:10
    Re: Sending Mails from Distribution List

    1) Show your flow

    2) make sure you are using the same account for the flow and for Outlook.

  • Arik Profile Picture
    8 on 04 Aug 2022 at 15:02:41
    Re: Sending Mails from Distribution List

    Hi @VictorIvanidze, Yes, I tested using outlook and it works. However, the power automate does not recognize it. Here is the error that I get.  

    {

      "status": 403,

      "message": "You are not authorized to send mail on behalf of the specified sending account.\r\nclientRequestId: b1144d2d-8dff-4095-909b-df2ada814771\r\nserviceRequestId: 78c6ee45-c2c2-ce0a-1626-c6c3efe62d8e",

      "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-eus.azconn-eus-003.p.azurewebsites.net"

    }

     

     

  • VictorIvanidze Profile Picture
    12,207 on 04 Aug 2022 at 14:03:26
    Re: Sending Mails from Distribution List

    Hi @Arik,

     

    can you send as DL using your Outlook? If so,  you can send as DL in Power Automate.

    Just populate the "From (Send as)" field. 

  • Arik Profile Picture
    8 on 04 Aug 2022 at 13:33:56
    Re: Sending Mails from Distribution List

    Hi @VictorIvanidze, I am also trying to send an email to the users as a DL but it is not working. I have configured the DL email to "Send on Behalf and Send as" but it still does not work in Power automate. I even used a string variable but no luck on that. The link you provided did not open for me. Can you please explain on this thread how I can resolve this issue? Your response would really help me out. Thanks 

  • VictorIvanidze Profile Picture
    12,207 on 05 May 2020 at 08:07:10
    Re: Sending Mails from Distribution List

    You can send as a distribution list.  Have a look at this thread for example:

    https://powerusers.microsoft.com/t5/Power-Automate-Ideas/Change-the-FROM-display-name-when-sending-e...

  • dbro Profile Picture
    194 on 28 Jan 2020 at 17:58:40
    Re: Sending Mails from Distribution List

    @VishalSharma ,

     

    I was able to do this... Send as has to be configured in Outlook

  • yashag2255 Profile Picture
    24,442 Super User 2024 Season 1 on 21 Jan 2020 at 09:21:03
    Re: Sending Mails from Distribution List

    Hi @VishalSharma 

     

    You can send an email using a shared mail box (if it is just an alias then I am afraid it is currently not supported.) To send email form shared mail box you can select the appropriate action in the outlook office 365 connector and ensure that you have sufficient access on that shared mailbox. 

     

    Hope this Helps!

     

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

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,645 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,997 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow
Loading started