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 workflow activity

Parameters

Input parameters

ParameterDescriptionExample
This groupName or ID of theSharePoint group.Home owners, 4, Home Viewers
Current siteThe 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@contoso.microsoft.com”,“Email”: “john@contoso.onmicrosoft.com”}, {“Id”: “23”,“LoginName”: “i:0#.f|membership|john@contoso.microsoft.com”,“Email”: “john@contoso.microsoft.com”}]

Example

Example configuration of the Get members of SharePoint group activity returning members to a variable

From version 6.1.14, the action finds any group of the site collection by its name or ID. Earlier, it found only the groups that have a permission level on the site where the workflow runs and answered that the group was not found for the others. The fix works in published workflows without publishing them again.

Updated on November 30, 2026