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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Feed a group of users ...
Power Apps
Answered

Feed a group of users to a Power Automate flow

(1) ShareShare
ReportReport
Posted on by 43

Hello everyone!

 

I'm currently making a power Automate flow that automatically sends an email to a teacher when a student tries to change something on a sharepoint list.

The following function is working:

 

Approval.Run(User().Email; "teacher email")
// The contents are: Approval.Run( Sender; receiver), I've removed the other informations for clarity

 

However as you can see the theacher email is hardcoded and I would like it to be dynamic.

 

The students are stored in a sharepoint list called Students, one of its column is called "TeachersProfils" and contains the Office365 profiles of every teachers that are linked to a specific student.

I would like the mail to be sent to every teachers of the student who clicks the button. Unfortunately I truly have no idea where to start despite my research.

Does anyone have a hint on where to start or what to use?

Categories:
  • Verified answer
    WarrenBelz Profile Picture
    156,532 Most Valuable Professional on at

    Hi @Vamlack ,

    Based on the values you have posted (you will need to adjust one field name here)

    Concat(
     LookUp(
     Students,
     YourStudentEmailField = User().Email
     ).TeacherProfiles,
     Email,
     ";"
    )

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    MVP (Business Applications)   Visit my blog Practical Power Apps

  • Vamlack Profile Picture
    43 on at

    Hello! Thanks a lot this was really helpful!
    Here is a revised version of the code that works completely for me:

    Concat(
     LookUp(
     Students,
     User().Email in YourStudentEmailField // this is what I changed
     ).TeacherProfiles,
     Email,
     ";"
    )

     

    Thanks again and happy new year!

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 411 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 338

#3
WarrenBelz Profile Picture

WarrenBelz 256 Most Valuable Professional

Last 30 days Overall leaderboard