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

 

View solution in original post

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

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Users online (1,595)