Skip to main content
Skip table of contents

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

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.
LoadUserIds

list of user ids colon-separated

LoadUserIds and LoadGroupIds can be used at the same time

LoadDirectory cannot be used with LoadUserIds .

LoadGroupIds

list of group ids colon-separated

LoadUserIds and LoadGroupIds can be used at the same time

LoadDirectory cannot be used with LoadGroupIds.

ObjectGUIDsFor on-prem Users and Groups
ObjectTypesList of object types (colon-separated) to include (as shown in "Filter by Object Type")

LoadUserIds and LoadGroupIds also applies to:

SelectedGroupMemberAdd
SelectedGroupMemberCopy
SelectedGroupMemberMove
SelectedGroupMembershipCopy
SelectedGroupMembershipAdd
SelectedGroupMembershipTransfer
SelectedGroupSenderAddAccepted
SelectedGroupSenderAddRejected
SelectedGroupOwnerAdd
SelectedGroupOwnerSet
SelectedChannelMemberAdd
SelectedSetUserManager
SelectedDirectoryRoleAssign
SelectedMailboxAddDelegates

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

XML
<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
<ytriaAutomation Application="sapio365">
	<Select lines="ByValue">
		<SetParam columnID="displayName" value="Innovation Corner"/>
	</Select>
	<SelectedShowMembers newframe='true'>
		<Select lines="All"/>
		<SelectedGroupMemberAdd LoadUserIds="e6e3d672-69b1-40ec-ac28-1f031fc69179:4db4f5d5-19b1-483e-9051-d48feeedfc78:87139777-3166-44a0-b283-302e8a2c7ae7" LoadGroupIds="db9eba14-c812-48f7-b903-c5ac25414b2d">
			<Select lines="All"/>
		</SelectedGroupMemberAdd>
	</SelectedShowMembers>
</ytriaAutomation>
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.