web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id : S6pz3dCgR7QWKZv/CH/2ZJ
Power Automate - Building Flows
Answered

How to send email only to selected members of SharePoint group?

Like (0) ShareShare
ReportReport
Posted on 26 Jul 2021 13:32:18 by 23

Hey guys,

 

I am struggling with my flow which is sending email notification only to selected members of SharePoint group. The problem is that all available tutorials are showing how to send email to all members.

 

Example of users in SharePoint group:

User 1 - Job Title: Accountant

User 2 - Job Title: Manager

User 3 - Job Title: Director

User 4 - Job Title: Accountant

 

I want to send the email only to Managers and Director(s). Is it doable to check the job title and send to email only to specific users?

 

Thank you for any help!

I have the same question (0)
  • eliotcole Profile Picture
    4,280 Moderator on 26 Jul 2021 at 16:54:15
    Re: How to send email only to selected members of SharePoint group?

    I like it ... but ... heh ... it also relies on the SharePoint Groups matching the 365 groups ... which could not be a thing, too (if my experience is anything to go by 😅).

     


    @jason_c_wyatt wrote:

    Hi,

     

    A low code way of doing this you could try is to use the 'list group members' action and then a 'for each' loop with a condition then compares job title against your required list. If it's a match send the email:

    jason_c_wyatt_0-1627308069199.png

     

    This relies on you 365 profiles having the correct Job Titles.


     

  • Verified answer
    jason_c_wyatt Profile Picture
    93 on 26 Jul 2021 at 14:02:10
    Re: How to send email only to selected members of SharePoint group?

    Hi,

     

    A low code way of doing this you could try is to use the 'list group members' action and then a 'for each' loop with a condition then compares job title against your required list. If it's a match send the email:

    jason_c_wyatt_0-1627308069199.png

     

    This relies on you 365 profiles having the correct Job Titles.

  • eliotcole Profile Picture
    4,280 Moderator on 26 Jul 2021 at 13:42:46
    Re: How to send email only to selected members of SharePoint group?

    I'm not sure that I have an easy answer off the top of my head, however any answer I do make would likely use the

    "Send an HTTP request to SharePoint" action pretty prominently.

     

    Also ... this might assist you with your forward planning on this ... you can create a SharePoint group that contains that subgrouping:

    1. Go to /_layouts/15/user.aspx
    2. Add a new group (ensure you get permissioning right) maybe called something like "DirMgrs"
    3. Add the other groups in to the new one

     

    Otherwise, yeah, good luck ... but perhaps look into what you can do with API calls in the HTTP request. 🙂

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

MS.Ragavendar – Community Spotlight

We are honored to recognize Ragavendar Swaminatha Subramanian as our September…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 736 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 396 Moderator

#3
Power Apps 1919 Profile Picture

Power Apps 1919 339

Last 30 days Overall leaderboard
Loading complete