Showing results for 
Search instead for 
Did you mean: 
Advocate II
Advocate II

Flow Action to remove a member from a MS Teams team



I have created a Flow to add a member to a specific MS Teams team (which is great!) but I can't seem to find an action to then remove a member should they be demobilised on the associated project/team. 


Is anyone aware of a solution/workaround for this as it is obviously a critical process in managing a team/project. Does anyone know if MS is likely to release an 'action' for this soon?


Note, I have been able to add an action to remove a member from the O365 group associated with the MS Teams but unfortunately that does not appear to then remove them from the Teams itself.

Any suggestions would be greatly appreciated. 


Regular Visitor

I need this too.  I can't find an action to do this in my flow.  I've written a flow to create a Team, and add the user who requested it to the team as an owner.  This works great, however because I created the flow and it's my account connected to Teams, it automatically adds me as an owner on the Team too.


I was hoping to find a remove member action I could run at the end of the flow to remove me from the created Team, but one doesn't seem to exist.


Any ETA on when this might be added to the action list for Teams, or any possible workarounds that doesn't involve me manually leaving each Team that gets created please?



Regular Visitor

To resolve this -

As Teams and Groups in AAD are the same - we can run an HTTP request to remove an AAD ID from a Group



Can you explain this better ? What is in the body ? Where can I get this URL ?

@RaphaelfSalomaoif it helps -

all the requests are in the Graph API Explorer -

If you go to Groups -> Remove member from group you will see the URL and format

you can also run tests straight from there


From what I can tell, there is no requirement for anything to go in the body as the information is in the URL (group ID to remove from and member ID that needs removing){group-id}/members/{member-id}/$ref




I tried Graph but seems that I need a permission that I don't have, and I don't know how to ask these permissions to the admin; Do you know how to grant those permissions to a normal user ?

Regular Visitor

You would need an HTTP premium license and API access to run the flow anyway so you would need to ask your admin to allow you to do this.

Not applicable

Hello folks! As this is still the top search result for "PowerAutomate remove member from Team", I just wanted to mention that the connector to remove the user from the O365 group underlying the Team does in fact achieve what you want, but the catch is that it appears to take Teams a few minutes to catch up and remove the member specified.

Helper I
Helper I

I used to write a DELETE http request to the Graph api to manage Teams, but recently I found this box-solution in the Office 365 Groups family of connectors. 


Screenshot 2022-12-28 at 8.54.08 AM.png


It's still just a call to Graph, same as the solutions above, but it's a bit more finished for anyone that doesn't want to learn more than necessary about http requests.


The UPN field accepts the email address of the individual to remove, or at least that works in our tenancy.


**Note that the connector is just called "Remove member from group"

Helpful resources

Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Users online (6,047)