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
Super User
Super User

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
Super User
Super User

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

 

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

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 (2,793)