cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
golfnutt82
Super User
Super User

Check if User is already in a SP Group using HTTP Request

Hello,
I am able to create SP Group(s), add and remove people to and from SP Group(s), but what I would like to do before any of this is done is to check to see if there are people already in the group and if so, can I extrapolate a specific person if he/she is in the group?

Any example would be: Person "A" is requesting access to a site and this must go through an approval process. 
Before it goes through the approval process, check the group associated to the site they are requesting access to and if they are already there then notify the user of that and if not, go down the approval path.
The same thing would apply if someone selects to remove a user access. This must go through approval as well.
Check the group if they are there and if not then notify the person who made the request that the users isnt in the group and if they are in the group then go down the approval path.

Any help is appreciated.

1 ACCEPTED SOLUTION

Accepted Solutions

Nope, after further review the following works in checking if a person is already in a SP User Group.

golfnutt82_1-1648643490686.png

 

 

View solution in original post

2 REPLIES 2
golfnutt82
Super User
Super User

Not sure if this is the correct method to achieve what I am asking above but this seems to work.
Please provide an alternative method if this isn't correct.

golfnutt82_0-1648637615269.png

 

 

Nope, after further review the following works in checking if a person is already in a SP User Group.

golfnutt82_1-1648643490686.png

 

 

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power Automate Designer Feedback_carousel.jpg

Help make Flow Design easier

Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!

Users online (3,074)