# Get members of SharePoint group

Source: [https://docs.virtosoftware.com/docs/virto-workflow-automation-app/virto-workflows-for-office-365/sharepoint-permissions-processing/get-members-of-sharepoint-group/](https://docs.virtosoftware.com/docs/virto-workflow-automation-app/virto-workflows-for-office-365/sharepoint-permissions-processing/get-members-of-sharepoint-group/)
Product: Virto Workflow Automation App
Updated: 2026-08-12


This activity returns collection of SharePoint group members. Supports “Distinguished Name” or “Account Name” output format.

SharePoint Designer phrase

![SharePoint Designer phrase for the Get members of SharePoint group activity in Virto Workflows](https://img-docs.virtosoftware.com/wp-content/uploads/2024/10/get_members_of_sharepoint_group_1.jpg)

## **Parameters**

Input parameters


| Parameter | Description | Example |
|---|---|---|
| This group | Name or ID of the SharePoint group. | Home owners, 4, Home Viewers |
| SiteURL (optional) | The URL of the site collection to which the user account is being added. Default value is current site collection. | https://contoso/SiteUrl; https://contoso/Sites/SiteUrl; [%Workflow Context:Current Site URL%]/subSite |
| Variable | Result is Dynamic value | [{ "ID": "27", "LoginName":"i:0#.f\|membership\|john.joe@contoso.microsoft.com", "Email": "john.doe@contoso.onmicrosoft.com", |
|  |  | "Name":"John Doe" }, { "ID": "23", "LoginName": "i:0#.f\|membership\|jane.doe@contoso.microsoft.com", "Email": "jane.doe@contoso.microsoft.com", "Name":"Jane Doe" }] |


Example

![Workflow example using the Get members of SharePoint group activity inside an App Step](https://img-docs.virtosoftware.com/wp-content/uploads/2024/10/get_members_of_sharepoint_group_2-1.png)

**Note:**We recommend you to run all Virto Permissions actions inside App Step to avoid failing of your subsequent actions inside the workflow.

Example

![Second workflow example of the Get members of SharePoint group activity returning a member collection](https://img-docs.virtosoftware.com/wp-content/uploads/2024/10/get_members_of_sharepoint_group_3.png)
