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 / Power Automate remove ...
Power Automate
Unanswered

Power Automate remove user from SharePoint Group return 401

(0) ShareShare
ReportReport
Posted on by

I am trying to use PowerAutomate to remove user from SharePoint Goup, but it throw 401.

 

Meekou_0-1693897521319.png

It works if I add user to group, but failed with remove condition

Meekou_1-1693897564165.png

 

Categories:
I have the same question (0)
  • Manish Solanki Profile Picture
    15,169 Moderator on at

    Hi @Meekou 

     

    Firstly, check if you have the necessary privileges to remove the user from the SP group. If you have then you may try removing the user from group using email as show below:

    ManishSolanki_0-1693900275882.png

    _api/web/sitegroups/GetById(5)/users/getbyemail('<email address of user>')

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

     

    If this helps & solves your problem, please remember to give a 👍 and accept my solution as it will help others in the future.

     

    Thanks

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 664

#2
Haque Profile Picture

Haque 460

#3
Valantis Profile Picture

Valantis 357

Last 30 days Overall leaderboard