Monday, 11 November 2019

Send an email to distribution groups in Microsoft Flow

In this article, I will be demonstrating how to send an email to Distribution List/Group in MS flow.
It’s been a very common ask from end-users that can we send email from DL using MS flow. What I found sending out email using flow creating bit confusion when we talk about sending notification, email or announcing from MS flow.
Recently, I observed that we got many requests enquiring on email set up to automate your work. As we all know MS flow is replacing SharePoint Designer gradually and it is expected from this product to work like SPD. I got a request where users wanted to send an email via Flow to all the members of a given SharePoint Security Group.
First of all, I would like to summaries you about Office 365 groups vs distribution lists
In simple word, we can explain the difference between Office 365 groups and distribution lists that Office 365 groups are distribution lists plus more/advance features from the distribution group.
Distribution list: This Enables users to send emails to all members of a group with some limitation like it can not be shared, access type is not available, Document library is missing as it’s was coming from the exchange, and last but important can not be restored once deleted.
Where in Office 365 Group, All the features of DL is available plus it has other enhanced feature while DL does not have. The most important reason to use Office 365 groups is enhancing collaboration. While distribution lists have the same purpose, Office 365 Groups go a few steps further.
Hope, we are clear with Distribution list and Office 365 group. As we all in-migration stage from On-premises to online. Local DL allow us to convert to Office365 group without data loss or hampering end users.
Let’s start with How to send an email to distribution list/Group in MS flow. Following below steps by steps with screenshots will achieve the same.
· Login to MS flow and create new instant from blank.
 
· As soon as you are selecting the above highlighted, you will get an intro page of MS flow, you can select options from given and decide the name of WF. Also, you can click on skip and change name later
· In my case, skip the intro and selected Sharepoint on down the page, see the below images and details
         - Select SharePoint, therefore select item created or modified under action by targeting SP sites and List.
         - Once done, click on new actions and select office 365 outlook and select send an email (v2)
 
 
· Now, it will prompt to update the required filed like to address, subject, body and other details which are available in advanced option (attachment and other references)
· In to address, copy your DL email address, under subject field you can define what message you wanted to pass for end-users
· Under body form, you can pass simple or advance message for end-user. There are options available under MS flow actions or can be used for simple HTML page.
 
 
· Later making all the changes, click on the save option.
· Now, create any one item or modified the existing item which you targeted in the SharePoint option.
· While creating items, you can just pass the required detail and click on create.
Note: this action needs to be done on a SharePoint list, hence kindly browse through the site for testing. Also, the flow will be an application to all the users who do have access to modify or create an item to the SPO list.
We can see that emails are getting triggered to all the users who all are the members of the mentioned DL.
Open the outlook for anyone users who is a member of this DL and can be verified that this action is working as expected. See below email for more details.
 
 
In this article, we experienced about, how to send email from DL in SharePoint using MS flow. Following the same steps, we can perform for Office 365 Groups as well. No changes required.

1 comment:

  1. Good article. I was looking for the benefits of backlinks and comes to your site.
    SharePoint Migration Tool
    SharePoint Migration Tools
    SharePoint Migration
    SharePoint Online Migration Tool

    Saketa Migrator - The best SharePoint migration tool, helps you migrate data from all online SharePoint versions, Office 365 migration software and cloud.

    ReplyDelete