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.
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'
}
}
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?? 🤔
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.
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.
Thanks
1) Show your flow
2) make sure you are using the same account for the flow and for Outlook.
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"
}
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.
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
You can send as a distribution list. Have a look at this thread for example:
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!
WarrenBelz
146,645
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,997
Most Valuable Professional