Skip to main content
Skip table of contents

Create: Group

Tag: CreatedGroup

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


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>
JavaScript errors detected

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

If this problem persists, please contact our support.