cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
reivaxsevy
Regular Visitor

Get Associated Owners group of a given SharePoints site

Is there a way I can get the Associated Owners group of a given site? I can get this using the SharePoint .Net framework CSOM but I wonder if this is possible using Power Automate or Power Apps. E.g. A user would input the URL of the site and it will output the members of the Site Owners group of that site.

 

So, technically the user doesn't now the group name (I know there's an API to get the group members given the group name).

 

TIA

1 ACCEPTED SOLUTION

Accepted Solutions
DamoBird365
Community Champion
Community Champion

Hi @reivaxsevy 

 

Interesting use case.  Take a look at the following SharePoint api call _api/web/allproperties

 

From this you can retrieve the 

<d:GroupAlias>DamoBird365</d:GroupAlias>
<d:GroupId>27d3ec1b-2f15-49d8-ac29-3f010a89a121</d:GroupId>

 

Then you'll already know you can use :

 

DamoBird365_0-1617101428569.png

 

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Cheers,
Damien


P.S. take a look at my new blog here

 

View solution in original post

2 REPLIES 2
DamoBird365
Community Champion
Community Champion

Hi @reivaxsevy 

 

Interesting use case.  Take a look at the following SharePoint api call _api/web/allproperties

 

From this you can retrieve the 

<d:GroupAlias>DamoBird365</d:GroupAlias>
<d:GroupId>27d3ec1b-2f15-49d8-ac29-3f010a89a121</d:GroupId>

 

Then you'll already know you can use :

 

DamoBird365_0-1617101428569.png

 

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Cheers,
Damien


P.S. take a look at my new blog here

 

View solution in original post

Thank you. This API "_api/web/allproperties" did the trick!

Helpful resources

Announcements
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (2,001)