cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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
Super User III
Super User III

@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

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

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!

thanks @yashag2255 ,

 

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

HI @rajkumar88 

 

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

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

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!

@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
New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (6,087)