Get site associated groups action retrieves the ID and name of the default SharePoint groups (Owners, Members and Visitors) of the current site or of any other site from the current tenant.
Example of Get site associated groups action configuration on the current site
For more information about Action Builder read Action Builder introduction article.
Note 1: In order to use the Get site associated groups action in Scheduled/Triggered Actions skybow SharePoint Site Admin Connector has to be approved by a tenant administrator and site has to be added to Approved sites list before this action can be used.
Note 2: When you deploy the solution to another SharePoint tenant, it requires approval of skybow SharePoint Site Admin Connector on the deployment tenant as well.
To configure the action Get site associated groups additional properties should be specified:
Configuration
| Property | Required | Type | Description |
| Site url | yes | Choice |
Select the option that defines from which site the associated SharePoint groups (Owners, Members and Visitors) should be retrieved
Note: When 'Any site' or 'Dynamic path' option is selected, it requires approval of skybow SharePoint Site Admin Connector |
Availability
| Modern Forms | List Actions | Scheduled/Triggered Actions |
| - | - | ✓ |
Output
| Output Parameter | Type | Description |
| Owners | Object | Returns the Owners group of the site |
| Owners.Id | Number | Returns the ID of the Owners group |
| Owners.Name | String | Returns the name of the Owners group |
| Members | Object | Returns the Members group of the site |
| Members.Id | Number | Returns the ID of the Members group |
| Members.Name | String | Returns the name of the Members group |
| Visitors | Object | Returns the Visitors group of the site |
| Visitors.Id | Number | Returns the ID of the Visitors group |
| Visitors.Name | String | Returns the name of the Visitors group |