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 Automate / generate all M365 grou...
Power Automate
Unanswered

generate all M365 groups which are public

(0) ShareShare
ReportReport
Posted on by 24
Hi All, 
 
I  would like to understand if powerautomate is a right solution for my use case- 
 
I would like set a recurring flow to fetch all Teams/SharePoint which have the privacy setting as 'Public' and send notification to the owners.
It is a large organization and there are > 20000 M365 groups. I am trying to filter the groups with the below API, but cannot find a way to filter further based on visibility.
 
I read that 'visibility' is not supported for filtering. 
 
https://graph.microsoft.com/v1.0/groups?$filter=groupTypes/any(c:c eq 'Unified')&$select=displayName,id,visibilityhttps://graph.microsoft.com/v1.0/groups?$filter=groupTypes/any(c:c eq 'Unified')&$select=displayName,id,visibility
 
Any inputs on this topic will be helpful.
 
Thanks!
Categories:
I have the same question (0)

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 124 Super User 2026 Season 1

#2
Ellis Karim Profile Picture

Ellis Karim 52 Super User 2026 Season 1

#3
Haque Profile Picture

Haque 50

Last 30 days Overall leaderboard