CreateGroup: Create a new Group

Tag: CreateGroup

The CreateGroup function automates the Group creation process.


XML
<CreateGroup>
	<SetParam Field="type" Value="Office 365 group"/>
	<SetParam Field="groupDisplayName" Value="Operations"/>
	<SetParam Field="email-name" Value="Operations"/>
	<SetParam Field="description" Value="This is an operations group"/>
	<SetParam Field="privacy" Value="Private - Only members can see group content"/>
</CreateGroup>

Detailed Description

create-new-group-description.gif


Three fields are required:

  • Type

  • GroupDisplayName

  • Email-name

Example Script

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