SelectedGroupMemberAdd: Add members to Groups
SelectedGroupMemberAdd function automates the adding of new members to groups in the Group Members grid.
This also works in On-Premises Group Memberships module

Tag Attributes
Attribute Name | Attribute Value |
---|---|
KeepAlive | TRUE / FALSE - Defaults to FALSE |
LoadDirectory | TRUE / FALSE - Defaults to FALSE / When set to TRUE, this parameter loads the full directory as if you'd clicked the dialog button. |
Detailed Description
To add new members to a group:
- Select the group row(s) in the Group Delivery Management grid
- Use SelectedGroupMemberAdd with a selection of target user(s) in the grid, in the dialog, formatted as:
<Select columnID="'<column ID>" value="<value in column>" /> where <column ID> is the ID of the column you want to make the selection)
To select, can use any of the default grid selection methods:
- Select Rows in Grid
- Select Rows From List
- Select rows - inversion
- Select / Filter from file
Example Script
<ytriaAutomation Application="sapio365">
<Select lines="ByValue">
<SetParam columnID="displayName" value="Innovation Corner"/>
</Select>
<SelectedGroupMemberAdd loadDirectory="true">
<Select Lines="ByValue">
<SetParam columnID="PRINCIPALNAME" value="RosaL@M365x823975.onmicrosoft.com"/>
</Select>
</SelectedGroupMemberAdd>
<Save/>
</ytriaAutomation>