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 / 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

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!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 785

#2
Valantis Profile Picture

Valantis 669

#3
Haque Profile Picture

Haque 563

Last 30 days Overall leaderboard