SelectedGroupMemberAdd function automates the adding of new members to groups in the Group Members grid.


This also works in On-Premises Group Memberships module

group-member-add-item


Tag Attributes

Attribute NameAttribute Value
KeepAliveTRUE / FALSE - Defaults to FALSE
LoadDirectoryTRUE / FALSE - Defaults to FALSE / When set to TRUE, this parameter loads the full directory as if you'd clicked the dialog button.


Detailed Description

add-to-1-selected-groups

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)


add-to-1-selected-groups-column-settings


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