Tag: CreatedGroup

The CreateGroup function automates the Group creation process.

<CreateGroup>
	<SetParam Field="type" Value="Office 365 group"/>
	<SetParam Field="groupDisplayName" Value="Achtung"/>
	<SetParam Field="email-name" Value="Cannibals"/>
	<SetParam Field="description" Value="Cannibals"/>
	<SetParam Field="privacy" Value="Private - Only members can see group content"/>
</CreateGroup>
XML

Detailed Description

create-new-group-description


Three fields are mandatory:

  • Type
  • GroupDisplayName
  • Email-name

Example Script

<ytriaAutomation Application="sapio365">
	<OnError Continue="true"/>
	<CreateGroup>
		<SetParam Field="type" Value="Office 365 group"/>
		<SetParam Field="groupDisplayName" Value="Achtung"/>
		<SetParam Field="email-name" Value="Cannibals"/>
		<SetParam Field="description" Value="Cannibals"/>
		<SetParam Field="privacy" Value="Private - Only members can see group content"/>
	</CreateGroup>
	<SaveSelected/>
</ytriaAutomation>
XML