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

Notifications

Announcements

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 462 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 456 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard