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 / Build Flow for custom ...
Power Automate
Unanswered

Build Flow for custom Teams team approval with Graph API

(0) ShareShare
ReportReport
Posted on by 19

Hi,

In our organization, we create private Microsoft Teams for each client, where only a dedicated set of users are invited. These private teams are not visible to others, meaning they cannot be discovered via search by non-members. Team management is handled centrally, and this setup is not intended to change.

 

Currently, only a small group of individuals are owners of all the private teams. When a new employee is onboarded to a client, an existing team member manually adds the new user to the respective team. This action triggers an alert for the team owners, notifying them of a pending request.

 

However, this approach creates a challenge: with so many private teams, the team owners’ Teams client becomes cluttered and difficult to use.

To address this, I propose creating an automation that streamlines the handling of pending requests. My goal is to implement a solution using Power Automate and the Microsoft Graph API. Here’s the concept:

  1. Retrieve the list of groups that have an associated MS Teams team.

  2. Check each team for pending user requests.

  3. If a pending request exists, trigger an approval process.

  4. Upon approval, automatically accept the pending request, granting the user membership in the team.

     

Problem:
I am encountering an issue where I cannot see pending requests using the endpoint:
https://graph.microsoft.com/v1.0/teams/{{GroupId}}/members

 

Does anyone have experience with this or know an alternative method to retrieve pending requests for Teams membership?

Thank you for your insights!

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 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard