Contact us

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

Updated on June 17, 2026