SelectedChannelOwnerAdd: Add owners to channels

SelectedChannelOwnerAdd adds owners to the selected channels. This works the same as SelectedChannelMemberAdd.

Tag Attributes

Attribute Name

Attribute Value

KeepAlive

TRUE / FALSE (Defaults to False)

LoadDirectory

TRUE / FALSE (Defaults to False) / When set to true, this parameter automatically loads the full directory like when the dialog box has been clicked.

LoadUserIds

Colon-separated user IDs

Loads these users in the address book.

ObjectTypes

Semicolon-separated object types

Object types to include, as shown in "Filter by Object Type".

Example Script

XML
<ytriaAutomation Application="sapio365">
	<Select Lines="ByValue">
		<SetParam ColumnID="channelDisplayName" Value="My Channel"/>
	</Select>
	<SelectedChannelOwnerAdd>
		<Select Lines="ByValue">
			<SetParam ColumnID="PRINCIPALNAME" Value="RosaL@M365x823975.onmicrosoft.com"/>
		</Select>
	</SelectedChannelOwnerAdd>
	<Save/>
</ytriaAutomation>