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 / Remove member of a sha...
Power Automate
Answered

Remove member of a sharepoint Team site group using "send http request to sharepoint"

(0) ShareShare
ReportReport
Posted on by 30

Hi,

 

I am looking for a way to remove a member of a group inside of a sharepoint using "send http request to sharepoint".

I know how to add a member to that group using http request (if it can help others) :

 

flow_send_http_request_remove_member.png

 

I tried using delete Method with the same Uri and Body but it's not working.

 

Hope someone can help.

Thanks in advance,

Sriks

 

Categories:
  • Gristy Profile Picture
    2,429 on at

    try post instead of get

    try added this to your headers:

     

    "X-HTTP-Method": "DELETE" 

  • Sriks Profile Picture
    30 on at

    @Gristy 

    Thanks for the help.

    my new headers looks like that :

     

    "headers": {
    "accept": "application/json;odata=verbose",
    "content-type": "application/json;odata=verbose",
    "X-HTTP-Method": "DELETE"
    }

     

    Sadly, i got an error running the flow : 

    "Microsoft.SharePoint.Client.InvalidClientQueryException"
  • Verified answer
    Pstork1 Profile Picture
    69,665 Most Valuable Professional on at

    Here's what worked for me

    screenshot.png

    I'm using the ID's of the group and the user.  NOTE: This will remove the user from the group everywhere in the site collection.  There is no way to remove a user from a group for one permission assignment.  The group membership is stored at the site collection level.

  • Sriks Profile Picture
    30 on at

    @Pstork1 

    Thanks a lot, it's working !

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 289

#2
11manish Profile Picture

11manish 288 Super User 2026 Season 2

#3
Henil Profile Picture

Henil 125

Last 30 days Overall leaderboard