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
Microsoft
Microsoft

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
Microsoft
Microsoft

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
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Difinity Conference 2022

Difinity Conference 2022

Register today for two amazing days of learning, featuring intensive learning sessions across multiple tracks, led by engaging and dynamic experts.

European SharePoint Conference

European SharePoint Conference

The European SharePoint Conference returns live and in-person November 28-December 1 with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.

Users online (6,056)