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

Parameters
Input parameters
| Parameter | Description | Example |
|---|---|---|
| This group | Name or ID of theSharePoint group. | Home owners, 4, Home Viewers |
| Current site | 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@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

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.