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 / Sending Mails from Dis...
Power Automate
Unanswered

Sending Mails from Distribution List

(0) ShareShare
ReportReport
Posted on 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.

Categories:
I have the same question (1)
  • yashag2255 Profile Picture
    24,769 Super User 2024 Season 1 on at

    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!

  • dbro Profile Picture
    194 on at

    @VishalSharma ,

     

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

  • VictorIvanidze Profile Picture
    13,073 on at

    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...

  • Arik Profile Picture
    8 on at

    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
    13,073 on at

    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 at

    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
    13,073 on at

    1) Show your flow

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

  • Arik Profile Picture
    8 on at

    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
    13,073 on at

    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 at

    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?? 🤔

     

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