Contact us
View as Markdown
Ask AI

Open this page in an AI assistant with a ready-made prompt.

Opens a third-party service and shares a pre-filled prompt containing this public page URL, its product documentation URL and /llms.txt. No VirtoSoftware account or tenant data is included. Provider terms and privacy policies apply. Verify answers against the linked documentation.

OpenAI terms · OpenAI privacy policy · Anthropic terms · Anthropic privacy policy

Get members of SharePoint group

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

Parameters

Input parameters

ParameterDescriptionExample
This groupName 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
VariableResult 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

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

Updated on August 12, 2026