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 / Error 400. The request...
Power Automate
Unanswered

Error 400. The request URL is invalid. whne I try to delete members from a group

(0) ShareShare
ReportReport
Posted on by

I am trying to create of process that deletes all members of a particular group every night.  I have created:

 

1. Reoccurrence Step

2.  Get Group Members Step

3.  Apply to Each step 

   a.  In "Select an output from previous steps" I have "Group Members"

    b.  In the action I have "Remove members from Group" with the group id on "Groupid" and "Current Member" for the "member ID"

 

When I test this, the "Remove Members from Group" step fails with the following error:

 

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN""http://www.w3.org/TR/html4/strict.dtd">
<HTML><HEAD><TITLE>Bad Request</TITLE>
<META HTTP-EQUIV="Content-Type" Content="text/html; charset=us-ascii"></HEAD>
<BODY><h2>Bad Request - Invalid URL</h2>
<hr><p>HTTP Error 400. The request URL is invalid.</p>
</BODY></HTML>

 

What does this mean and how can I fix it?

Categories:
I have the same question (0)
  • lbendlin Profile Picture
    8,474 Super User 2025 Season 2 on at

    Wouldn't it be easier to call the "Remove all Group Members" function instead?

  • Verified answer
    Community Power Platform Member Profile Picture
    on at

    Oh, I didn't know there was one.  I fixed it anyway.  I was reference the "current member", which had several attributes.  When I used "Userid", it worked..  

  • v-yujincui-msft Profile Picture
    on at

    Hi @Anonymous ,

     

    Glad to see your problem has been solved.

    Maybe you could consider marking your answer as a 'Solution' so that it will be useful for others and close the case.

    Cheers!

     

     

    Best Regards,
    Charlie Choi

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

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard