Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
liney_marcela
Frequent Visitor

How to Send Alerts to a Security Group Instead of Individual Emails in an MS Fabric Pipeline

Hello community,

 

I currently have a pipeline in Microsoft Fabric that sends email alerts based on a specific use case. To manage these alerts, I use a configuration table that contains the alert type and the email addresses associated with it.

 

So far, the process works through a stored procedure that queries this table and, depending on the alert frequency, sends an email to the configured recipients.

 

However, I now want to modify this logic to send alerts to a security group instead of individual email addresses. My idea is that email addresses would be associated with a security group, and by sending the alert to the group, all its members would automatically receive the notification.

 

My questions are:

- Is it possible to retrieve the email addresses associated with a security group within Microsoft Fabric?
- What would be the best way to integrate this functionality into my pipeline so that the stored procedure can handle security groups instead of fixed email lists?


I appreciate any guidance or recommendations on how to implement this efficiently.

 

Thanks in advance for your help!

1 ACCEPTED SOLUTION
NandanHegde
Super User
Super User

Are those security groups email enabled? Then you can use them directly to send email messgaes and no need to extract the members from them?
But in case if those are not email enabled, you can use REST APIs via Web activity 
https://stackoverflow.com/questions/75221833/get-group-members-from-azure-ad-via-web-activity

 

ADF is similar to Data pipelines




----------------------------------------------------------------------------------------------
Nandan Hegde (MSFT Data MVP)
LinkedIn Profile : www.linkedin.com/in/nandan-hegde-4a195a66
GitHUB Profile : https://github.com/NandanHegde15
Twitter Profile : @nandan_hegde15
MSFT MVP Profile : https://mvp.microsoft.com/en-US/MVP/profile/8977819f-95fb-ed11-8f6d-000d3a560942
Topmate : https://topmate.io/nandan_hegde
Blog :https://datasharkx.wordpress.com

View solution in original post

6 REPLIES 6
spencer_sa
Super User
Super User

The 'security group' versus 'distribution list/group' debate that's raged since On-Prem AD days.
You might find this interesting - from 5 months ago.
https://www.reddit.com/r/microsoft365/comments/1gr08g1/entraid_dynamic_security_group_as_distributio...

Anonymous
Not applicable

Hi @liney_marcela,

 

May I ask if you have gotten this issue resolved?

If it is solved, please mark the helpful reply or share your solution and accept it as solution, it will be helpful for other members of the community who have similar problems as yours to solve it faster.

 

Regards,
Vinay Pabbu

Anonymous
Not applicable

Hi @liney_marcela,

 

May I ask if you have gotten this issue resolved?

If it is solved, please mark the helpful reply or share your solution and accept it as solution, it will be helpful for other members of the community who have similar problems as yours to solve it faster.

 

Regards,
Vinay Pabbu

Anonymous
Not applicable

Hi @liney_marcela,

 

May I ask if you have gotten this issue resolved?

If it is solved, please mark the helpful reply or share your solution and accept it as solution, it will be helpful for other members of the community who have similar problems as yours to solve it faster.

 

Regards,
Vinay Pabbu

NandanHegde
Super User
Super User

Are those security groups email enabled? Then you can use them directly to send email messgaes and no need to extract the members from them?
But in case if those are not email enabled, you can use REST APIs via Web activity 
https://stackoverflow.com/questions/75221833/get-group-members-from-azure-ad-via-web-activity

 

ADF is similar to Data pipelines




----------------------------------------------------------------------------------------------
Nandan Hegde (MSFT Data MVP)
LinkedIn Profile : www.linkedin.com/in/nandan-hegde-4a195a66
GitHUB Profile : https://github.com/NandanHegde15
Twitter Profile : @nandan_hegde15
MSFT MVP Profile : https://mvp.microsoft.com/en-US/MVP/profile/8977819f-95fb-ed11-8f6d-000d3a560942
Topmate : https://topmate.io/nandan_hegde
Blog :https://datasharkx.wordpress.com
lbendlin
Super User
Super User

so you need the equivalent of this ?

Get-ADGroupMember (ActiveDirectory) | Microsoft Learn

 

Do you have Graph API access?

Helpful resources

Announcements
August Fabric Update Carousel

Fabric Monthly Update - August 2025

Check out the August 2025 Fabric update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.