cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Post Patron
Post Patron

need suggestion fro security group dynamic -email enabled

Hello Everyone,

 

can anyone please confirm if I am using right way to send an email to all the users of distribution list?

 

Group: Security group type and Dynamic memebership

1. get group ID: I am getting the group ID from azure AD.

2. condition: Mail from GET GROUP is equal to "DL email "

3. if yes

4. get group meembers: again I am using group ID from "get group"

5. apply to each: under select an output =Group members  from "get group memebers" action

6. send an email outlook: "group memebers mail" from "get group memebers".

flow.JPG

8 REPLIES 8
Highlighted
Super User III
Super User III

Re: need suggestion fro security group dynamic -email enabled

@rajkumar88 :

I am assuming that your group is an email enabled group.  If so, then why not send an email to th group vs looping through group membership and sedning individual emails?

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Scott
Highlighted
Post Patron
Post Patron

Re: need suggestion fro security group dynamic -email enabled

@ScottShearer,

 

yes my group is an email enabled group in cloud.

 

So if I directly send email to the group, will each user be able to see emails in thier inbox?

2. I also want email body as "dear displayname" based up on each memeber of that group.

 

If I send to group directly then will set the display name based up on thier email address properly for each user? or for everyone it will be same display name?

Highlighted
Dual Super User III
Dual Super User III

Re: need suggestion fro security group dynamic -email enabled

Hi @rajkumar88 

 

Yes. The emails will directly be delivered to their linked email. Please see the screenshot to get the dynamic user name for the Dear UserName part:Tasw.PNG

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!

Highlighted
Post Patron
Post Patron

Re: need suggestion fro security group dynamic -email enabled

thanks @yashag2255 ,

 

I believe below steps would work fine? I made changes as per your suggestion
flow.PNG

Highlighted
Dual Super User III
Dual Super User III

Re: need suggestion fro security group dynamic -email enabled

HI @rajkumar88 

 

Yes. That should work. Did you try running a test run to see if it works?

Highlighted
Post Patron
Post Patron

Re: need suggestion fro security group dynamic -email enabled

@yashag2255,

 

well I don't have a test group to do this test. So haven't done the test yet. I will try this directly in prod.

Highlighted
Dual Super User III
Dual Super User III

Re: need suggestion fro security group dynamic -email enabled

Hi @rajkumar88 

 

Cool. Though it is always a good practice to first test it out rather than directly implememting it in Prod. Let us know if you face any issues. 

 

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!

Highlighted
Post Patron
Post Patron

Re: need suggestion fro security group dynamic -email enabled

@yashag2255 @ScottShearer ,

 

I think I could have tested before running it in PROD. My bad.

 

Emails are delivered only to 100 users. There are more than 1000+ users in that group. I verified Message Trace too and it shows results for 100 users only. I don't see any bulk email restriction. DO you know if flow can get 100 users ata  time and send an email to them? I have set any retrictions in flow too

Helpful resources

Announcements
firstImage

Super User Program Update

Three Super User rank tiers have been launched!

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Top Solution Authors
Users online (7,752)